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:
"3dd617d3-7ac9-481e-81e9-8a1f07af4052"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">3dd617d3-7ac9-481e-81e9-8a1f07af4052</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:
{
"657bddec-dd08-4e30-a33c-17a7c84d8036": "sample string 2",
"8c92d23c-7a8e-4a3c-8181-2dd0a7719d8a": "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>657bddec-dd08-4e30-a33c-17a7c84d8036</Key>
<Value>sample string 2</Value>
</KeyValueOfguidstring>
<KeyValueOfguidstring>
<Key>8c92d23c-7a8e-4a3c-8181-2dd0a7719d8a</Key>
<Value>sample string 4</Value>
</KeyValueOfguidstring>
</ArrayOfKeyValueOfguidstring>