POST api/packcenter/getdeviceassignments

Get current valid device assignments for Business Unit

Request Information

URI Parameters

None.

Body Parameters

Business Unit Id

globally unique identifier

Request Formats

application/json, text/json

Sample:
"54cd3b29-2cb6-4b09-81e7-42e92ca0b6fa"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">54cd3b29-2cb6-4b09-81e7-42e92ca0b6fa</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:
{
  "9ac8e201-41a9-4b31-82a1-8d65bc0868fd": "sample string 2",
  "1b13a8a2-31e5-4053-823d-2816deda23f5": "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>9ac8e201-41a9-4b31-82a1-8d65bc0868fd</Key>
    <Value>sample string 2</Value>
  </KeyValueOfguidstring>
  <KeyValueOfguidstring>
    <Key>1b13a8a2-31e5-4053-823d-2816deda23f5</Key>
    <Value>sample string 4</Value>
  </KeyValueOfguidstring>
</ArrayOfKeyValueOfguidstring>