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:
"0419e126-642b-4e0e-bfff-4992d6a132d8"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0419e126-642b-4e0e-bfff-4992d6a132d8</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:
{
"4b1b822d-ec65-4ef7-8c62-02d6499be37b": "sample string 2",
"c7c382af-211d-4ea0-9dbb-5c446fbffbfe": "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>4b1b822d-ec65-4ef7-8c62-02d6499be37b</Key>
<Value>sample string 2</Value>
</KeyValueOfguidstring>
<KeyValueOfguidstring>
<Key>c7c382af-211d-4ea0-9dbb-5c446fbffbfe</Key>
<Value>sample string 4</Value>
</KeyValueOfguidstring>
</ArrayOfKeyValueOfguidstring>