API: Retrieve one Custom Attribute
Can we get API to retrieve one Custom Attribute?
Call can be like "set value" just with get:
HTTP Request
GET https://a.simplemdm.com/api/v1/devices/{DEVICE_ID}/custom_attribute_values/{CUSTOM_ATTRIBUTE_ID}
Response: as it is when retrieving all:
{
data: [
{
type: customattributevalue,
id: nameofattribute,
attributes: {
value: valueofattribute
}
]
}
Since this request was submitted, we did add this API: https://simplemdm.com/docs/api/#get-values-for-device
This will return all custom attributes for a device (so you would just need to parse the response to get the specific attribute you are looking for).
I believe this should allow you to accomplish your goals so I will close this request, but if it does not, please do not hesitate to reach out to us and/or submit another suggestion.