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:
"96412975-fed9-45f5-9620-a9ab0eee4f6d"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">96412975-fed9-45f5-9620-a9ab0eee4f6d</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:
{ "c4e33af3-0e34-4f69-8ecb-85085b9c68a0": "sample string 2", "7e8fa8e4-caf0-4641-a29e-3bdbb7d6d82a": "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>c4e33af3-0e34-4f69-8ecb-85085b9c68a0</Key> <Value>sample string 2</Value> </KeyValueOfguidstring> <KeyValueOfguidstring> <Key>7e8fa8e4-caf0-4641-a29e-3bdbb7d6d82a</Key> <Value>sample string 4</Value> </KeyValueOfguidstring> </ArrayOfKeyValueOfguidstring>