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:
"6b79dbb8-5812-451e-b2dc-4e013c32bc48"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">6b79dbb8-5812-451e-b2dc-4e013c32bc48</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:
{
"1a258e2c-dcb0-4c8a-8df4-b22aafe6c05a": "sample string 2",
"dacccccc-4f8f-4dcb-9823-62ff01d66e53": "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>1a258e2c-dcb0-4c8a-8df4-b22aafe6c05a</Key>
<Value>sample string 2</Value>
</KeyValueOfguidstring>
<KeyValueOfguidstring>
<Key>dacccccc-4f8f-4dcb-9823-62ff01d66e53</Key>
<Value>sample string 4</Value>
</KeyValueOfguidstring>
</ArrayOfKeyValueOfguidstring>