Resource:Collection: of packagecontentC# Rel Const:Rels.OrderSvc.PackageContentsURI template:{id}/packages/{pid}/contentsObtain URI from:
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> | |
Links | IList<WebApi.Hal.Link> | |
- edit | ||
- /rels/orders/order | The containing order. | |
- /rels/orders/package | The containing package. | |
- /rels/orders/packagecontents | All contents of containing package. | |
- /rels/orders/item | ||
- /rels/inventory/receiveritem | ||
Links | IList<WebApi.Hal.Link> | |
- edit | ||
- /rels/orders/order | The containing order. | |
- /rels/orders/package | The containing package. |
{ "_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> | |
Links | IList<WebApi.Hal.Link> | |
- edit | ||
- /rels/orders/order | The containing order. | |
- /rels/orders/package | The containing package. | |
- /rels/orders/packagecontents | All contents of containing package. | |
- /rels/orders/item | ||
- /rels/inventory/receiveritem |
{ "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> | |
Links | IList<WebApi.Hal.Link> | |
- edit | ||
- /rels/orders/order | The containing order. | |
- /rels/orders/package | The containing package. | |
- /rels/orders/packagecontents | All contents of containing package. | |
- /rels/orders/item | ||
- /rels/inventory/receiveritem |
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> | |
Links | IList<WebApi.Hal.Link> | |
- edit | ||
- /rels/orders/order | The containing order. | |
- /rels/orders/package | The containing package. | |
- /rels/orders/packagecontents | All contents of containing package. | |
- /rels/orders/item | ||
- /rels/inventory/receiveritem | ||
Links | IList<WebApi.Hal.Link> | |
- edit | ||
- /rels/orders/order | The containing order. | |
- /rels/orders/package | The containing package. |
{ "_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.