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:
"dd608333-7b80-45cb-8b65-f7126ec3dbdf"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">dd608333-7b80-45cb-8b65-f7126ec3dbdf</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:
{ "4a38d52e-02a7-491d-a9ad-97e1e32c5f86": "sample string 2", "80451904-a40c-4c84-9aa0-d51bfbc5f9fc": "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>4a38d52e-02a7-491d-a9ad-97e1e32c5f86</Key> <Value>sample string 2</Value> </KeyValueOfguidstring> <KeyValueOfguidstring> <Key>80451904-a40c-4c84-9aa0-d51bfbc5f9fc</Key> <Value>sample string 4</Value> </KeyValueOfguidstring> </ArrayOfKeyValueOfguidstring>