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:
"af180660-794a-4507-86f5-e20d83236788"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">af180660-794a-4507-86f5-e20d83236788</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:
{
  "bad0fb88-4f3d-4d3a-b633-873dfed954cd": "sample string 2",
  "69255e16-f3f9-4f56-9b6d-ff23c65828a4": "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>bad0fb88-4f3d-4d3a-b633-873dfed954cd</Key>
    <Value>sample string 2</Value>
  </KeyValueOfguidstring>
  <KeyValueOfguidstring>
    <Key>69255e16-f3f9-4f56-9b6d-ff23c65828a4</Key>
    <Value>sample string 4</Value>
  </KeyValueOfguidstring>
</ArrayOfKeyValueOfguidstring>