orders packagecontents (http://api.3plcentral.com/rels/orders/packagecontents)
Resource:
Collection: of packagecontent
C# Rel Const:
Rels.OrderSvc.PackageContents
URI template:
{id}/packages/{pid}/contents
Success status: 200; ETag response header supplied
Name (* = required) Data Type Description
id * int
pid * int
Type Description
ResourceList IList<Order.Models.PackageContent>
PackageContentId int
PackageId int
OrderItemId int
ReceiveItemId int
OrderItemPickExceptionId int? ...
Qty decimal
LotNumber string
SerialNumber string
ExpirationDate DateTime? ...
CreateDate DateTime
SerialNumbers IEnumerable<string>
Sample accept: application/hal+json
{
  "_embedded": {
    "http://api.3plCentral.com/rels/orders/packagecontent": [
      {
        "packageContentId": 1,
        "packageId": 2,
        "orderItemId": 3,
        "receiveItemId": 4,
        "orderItemPickExceptionId": 1,
        "qty": 5.0,
        "lotNumber": "str",
        "serialNumber": "str",
        "expirationDate": "2016-12-25T23:00:00",
        "createDate": "2016-12-25T23:00:00",
        "serialNumbers": [
          "str"
        ]
      }
    ]
  }
}
If-Match request header required; Success status: 201; ETag response header supplied
Name (* = required) Data Type Description
id * int
pid * int
Type Description
PackageContentId int
PackageId int
OrderItemId int
ReceiveItemId int
OrderItemPickExceptionId int? ...
Qty decimal
LotNumber string
SerialNumber string
ExpirationDate DateTime? ...
CreateDate DateTime
SerialNumbers IEnumerable<string>
Sample content-type: application/hal+json
{
  "packageContentId": 1,
  "packageId": 2,
  "orderItemId": 3,
  "receiveItemId": 4,
  "orderItemPickExceptionId": 1,
  "qty": 5.0,
  "lotNumber": "str",
  "serialNumber": "str",
  "expirationDate": "2016-12-25T23:00:00",
  "createDate": "2016-12-25T23:00:00",
  "serialNumbers": [
    "str"
  ]
}
Type Description
PackageContentId int
PackageId int
OrderItemId int
ReceiveItemId int
OrderItemPickExceptionId int? ...
Qty decimal
LotNumber string
SerialNumber string
ExpirationDate DateTime? ...
CreateDate DateTime
SerialNumbers IEnumerable<string>
Sample accept: application/hal+json
{
  "packageContentId": 1,
  "packageId": 2,
  "orderItemId": 3,
  "receiveItemId": 4,
  "orderItemPickExceptionId": 1,
  "qty": 5.0,
  "lotNumber": "str",
  "serialNumber": "str",
  "expirationDate": "2016-12-25T23:00:00",
  "createDate": "2016-12-25T23:00:00",
  "serialNumbers": [
    "str"
  ]
}
If-Match request header required; Success status: 200; ETag response header supplied
Name (* = required) Data Type Description
id * int
pid * int
Type Description
ResourceList IList<Order.Models.PackageContent>
PackageContentId int
PackageId int
OrderItemId int
ReceiveItemId int
OrderItemPickExceptionId int? ...
Qty decimal
LotNumber string
SerialNumber string
ExpirationDate DateTime? ...
CreateDate DateTime
SerialNumbers IEnumerable<string>
Sample content-type: application/hal+json
{
  "_embedded": {
    "http://api.3plCentral.com/rels/orders/packagecontent": [
      {
        "packageContentId": 1,
        "packageId": 2,
        "orderItemId": 3,
        "receiveItemId": 4,
        "orderItemPickExceptionId": 1,
        "qty": 5.0,
        "lotNumber": "str",
        "serialNumber": "str",
        "expirationDate": "2016-12-25T23:00:00",
        "createDate": "2016-12-25T23:00:00",
        "serialNumbers": [
          "str"
        ]
      }
    ]
  }
}
Type Description
ResourceList IList<Order.Models.PackageContent>
PackageContentId int
PackageId int
OrderItemId int
ReceiveItemId int
OrderItemPickExceptionId int? ...
Qty decimal
LotNumber string
SerialNumber string
ExpirationDate DateTime? ...
CreateDate DateTime
SerialNumbers IEnumerable<string>
Sample accept: application/hal+json
{
  "_embedded": {
    "http://api.3plCentral.com/rels/orders/packagecontent": [
      {
        "packageContentId": 1,
        "packageId": 2,
        "orderItemId": 3,
        "receiveItemId": 4,
        "orderItemPickExceptionId": 1,
        "qty": 5.0,
        "lotNumber": "str",
        "serialNumber": "str",
        "expirationDate": "2016-12-25T23:00:00",
        "createDate": "2016-12-25T23:00:00",
        "serialNumbers": [
          "str"
        ]
      }
    ]
  }
}
If-Match request header required; Success status: 204
Name (* = required) Data Type Description
id * int
pid * int

This documentation is subject to change, and is updated often and without warning. The models documented may or may not be available to users now or in the future. Use this documentation at your own risk.
Contact api@3plcentral.com with any questions about this documentation.