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:
"1c3e0bae-6f9b-4d60-8d96-7dbbb343648e"
application/xml, text/xml
Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1c3e0bae-6f9b-4d60-8d96-7dbbb343648e</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:
{ "c4160959-07a4-4250-9592-986e2a2401d4": "sample string 2", "b36be204-647a-40c8-8dbe-2bf2fc5fd317": "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>c4160959-07a4-4250-9592-986e2a2401d4</Key> <Value>sample string 2</Value> </KeyValueOfguidstring> <KeyValueOfguidstring> <Key>b36be204-647a-40c8-8dbe-2bf2fc5fd317</Key> <Value>sample string 4</Value> </KeyValueOfguidstring> </ArrayOfKeyValueOfguidstring>