POST api/packcenter/getdeviceassignments
Get current valid device assignments for Business Unit
Request Information
URI Parameters
None.
Body Parameters
Business Unit Id
globally unique identifierRequest Formats
application/json, text/json
Sample:
"316595f2-82dd-4ba3-9ac6-1dc227712dd4"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">316595f2-82dd-4ba3-9ac6-1dc227712dd4</guid>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Dictionary of device assignment Id and device code
Dictionary of globally unique identifier [key] and string [value]Response Formats
application/json, text/json
Sample:
{
"766a6d22-6dbc-4926-bb73-6e44deffaa8b": "sample string 2",
"7008a6fb-f9b9-468a-bf3c-07fd6cad7c23": "sample string 4"
}
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfguidstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<KeyValueOfguidstring>
<Key>766a6d22-6dbc-4926-bb73-6e44deffaa8b</Key>
<Value>sample string 2</Value>
</KeyValueOfguidstring>
<KeyValueOfguidstring>
<Key>7008a6fb-f9b9-468a-bf3c-07fd6cad7c23</Key>
<Value>sample string 4</Value>
</KeyValueOfguidstring>
</ArrayOfKeyValueOfguidstring>