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:
"9bd02017-c0fe-4a1f-b3ac-47f1871484fe"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">9bd02017-c0fe-4a1f-b3ac-47f1871484fe</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:
{
  "b200f3c5-199f-4f74-8503-596b2c6c3274": "sample string 2",
  "b47349cd-755a-48aa-9e93-02acf501d5a1": "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>b200f3c5-199f-4f74-8503-596b2c6c3274</Key>
    <Value>sample string 2</Value>
  </KeyValueOfguidstring>
  <KeyValueOfguidstring>
    <Key>b47349cd-755a-48aa-9e93-02acf501d5a1</Key>
    <Value>sample string 4</Value>
  </KeyValueOfguidstring>
</ArrayOfKeyValueOfguidstring>