GET api/packagingtypeapi/packagingtype/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

PackagingTypeViewModel
NameDescriptionTypeAdditional information
descriptions

Dictionary of string [key] and string [value]

None.

id

globally unique identifier

None.

active

boolean

None.

site_id

globally unique identifier

None.

type

string

Required

String length: inclusive between 0 and 30

Response Formats

application/json, text/json

Sample:
{
  "descriptions": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "id": "8b95b950-c1b4-4977-ae50-12f1ac68736b",
  "active": true,
  "site_id": "6acbc5cb-d829-44cf-b6ca-4eb0d81758c5",
  "type": "sample string 4"
}

application/xml, text/xml

Sample:
<packagingtype xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
  <active>true</active>
  <id>8b95b950-c1b4-4977-ae50-12f1ac68736b</id>
  <site_id>6acbc5cb-d829-44cf-b6ca-4eb0d81758c5</site_id>
  <type>sample string 4</type>
  <descriptions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </descriptions>
</packagingtype>