Retrieve a smart attribute by its ID
Required Permission: mdm.global.smartAttribute.get
Returns the details of a specific smart attribute using its ID as search parameter
Request
authorization
Authorization: Bearer <token>
Responses
application/json
{
"status": true,
"data": {
"id": "string",
"organizationId": "string",
"segmentId": 0,
"name": "string",
"description": "string",
"output": {
"type": "string"
},
"input": {
"type": "constant",
"value": {
"admDevice": {
"value": "string"
},
"aosDevice": {
"value": "string"
},
"emmDevice": {
"value": "string"
},
"winDevice": {
"value": "string"
}
},
"source": "constant"
},
"createdAt": "string",
"updatedAt": "string",
"version": 0,
"counts": {
"android": {
"smartAttributeAssignments": 0,
"smartAttributeAssignmentsEnforced": 0
},
"apple": {
"smartAttributeAssignments": 0,
"smartAttributeAssignmentsEnforced": 0
},
"windows": {
"smartAttributeAssignments": 0,
"smartAttributeAssignmentsEnforced": 0
}
}
}
}
application/json
{
"status": false,
"error": {
"code": 4002,
"message": "No auth token"
}
}
application/json
{
"status": false,
"error": {
"code": 3001,
"message": "Entity not found"
}
}