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:
"1c5144ff-d3b8-445f-aa9f-37a089effcd4"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1c5144ff-d3b8-445f-aa9f-37a089effcd4</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:
{
  "5ac4609b-5931-4c51-91d3-b87d10a502a4": "sample string 2",
  "32325a62-eba6-4ded-81d4-0332e4f50d48": "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>5ac4609b-5931-4c51-91d3-b87d10a502a4</Key>
    <Value>sample string 2</Value>
  </KeyValueOfguidstring>
  <KeyValueOfguidstring>
    <Key>32325a62-eba6-4ded-81d4-0332e4f50d48</Key>
    <Value>sample string 4</Value>
  </KeyValueOfguidstring>
</ArrayOfKeyValueOfguidstring>