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:
"28871512-c6f5-4788-831a-52f8eb6c6841"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">28871512-c6f5-4788-831a-52f8eb6c6841</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:
{
  "897b2a1b-9b5b-40aa-9e65-dcb66c9f9503": "sample string 2",
  "4644f7fb-c5d9-4490-90cb-0866584e50b3": "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>897b2a1b-9b5b-40aa-9e65-dcb66c9f9503</Key>
    <Value>sample string 2</Value>
  </KeyValueOfguidstring>
  <KeyValueOfguidstring>
    <Key>4644f7fb-c5d9-4490-90cb-0866584e50b3</Key>
    <Value>sample string 4</Value>
  </KeyValueOfguidstring>
</ArrayOfKeyValueOfguidstring>