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:
"39af0dda-11cb-4762-8d0a-2f81e8157b6d"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">39af0dda-11cb-4762-8d0a-2f81e8157b6d</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:
{
"16564998-7457-4653-b2cc-4501a916a52a": "sample string 2",
"75b0989f-f224-433b-a10e-c5ff70728a27": "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>16564998-7457-4653-b2cc-4501a916a52a</Key>
<Value>sample string 2</Value>
</KeyValueOfguidstring>
<KeyValueOfguidstring>
<Key>75b0989f-f224-433b-a10e-c5ff70728a27</Key>
<Value>sample string 4</Value>
</KeyValueOfguidstring>
</ArrayOfKeyValueOfguidstring>