properties packagedefs (http://api.3plcentral.com/rels/properties/packagedefs)
Resource:
Collection: of packagedef
C# Rel Const:
Rels.PropertySvc.PackageDefList
URI template:
packagedefs
Obtain URI from:
get all package definitions; a Package references a package definition
Success status: 200; Response is cacheable
none
Type Description
ResourceList IList<Property.Models.PackageDef>
PackageDefId int readonly
Name string required, must be unique as an alternate lookup field
Barcode string must be unique as an alternate lookup field
Description string optional, describe package def
IsDefault bool required, at most one PackageDef can be true
LengthImperial decimal? ... optional, imperial length
WidthImperial decimal? ... optional, imperial width
HeightImperial decimal? ... optional, imperial height
WeightImperial decimal? ... optional, imperial weight
LengthMetric decimal? ... optional, imperial width
WidthMetric decimal? ... optional, metric length
HeightMetric decimal? ... optional, metric height
WeightMetric decimal? ... optional, metric weight
Cost decimal? ... optional, cost
DefaultMarkupPercent decimal? ... optional, markup percent
DefaultMarkupFlat decimal? ... optional, markup flat
AssignedCustomers List<int> optional, customer id's
PackageDefFacilities IList<Property.Models.PackageDefFacility>
FacilityIdentifier Generic.Models.FacilityIdentifier required, defines facility containing this package
Name string
Id int
CurrentQuantity decimal? ... optional, defines current quantity
MinQuantity decimal? ... optional, defines min quantity to generate alerts
UserIdentifier Generic.Models.UserIdentifier optional, UserLoginID that will receive the alerts.
Name string
Id int
AlertRecipient int? ...
PackageName string
AssignedCustomerIdentifiers IEnumerable<Generic.Models.CustomerIdentifier>
ExternalId string
Name string
Id int
Sample accept: application/hal+json
{
  "_embedded": {
    "http://api.3plCentral.com/rels/properties/packagedef": [
      {
        "packageDefId": 1,
        "name": "str",
        "barcode": "str",
        "description": "str",
        "isDefault": true,
        "lengthImperial": 1.0,
        "widthImperial": 1.0,
        "heightImperial": 1.0,
        "weightImperial": 1.0,
        "lengthMetric": 1.0,
        "widthMetric": 1.0,
        "heightMetric": 1.0,
        "weightMetric": 1.0,
        "cost": 1.0,
        "defaultMarkupPercent": 1.0,
        "defaultMarkupFlat": 1.0,
        "assignedCustomers": [
          1
        ],
        "assignedCustomerIdentifiers": [
          {
            "externalId": "str",
            "name": "str",
            "id": 3
          }
        ],
        "_embedded": {
          "item": [
            {
              "facilityIdentifier": {
                "name": "str",
                "id": 2
              },
              "currentQuantity": 1.0,
              "minQuantity": 1.0,
              "userIdentifier": {
                "name": "str",
                "id": 2
              },
              "alertRecipient": 1,
              "packageName": "str"
            }
          ]
        }
      }
    ]
  }
}
add a package definition
Success status: 200; ETag response header supplied
none
Type Description
PackageDefId int readonly
Name string required, must be unique as an alternate lookup field
Barcode string must be unique as an alternate lookup field
Description string optional, describe package def
IsDefault bool required, at most one PackageDef can be true
LengthImperial decimal? ... optional, imperial length
WidthImperial decimal? ... optional, imperial width
HeightImperial decimal? ... optional, imperial height
WeightImperial decimal? ... optional, imperial weight
LengthMetric decimal? ... optional, imperial width
WidthMetric decimal? ... optional, metric length
HeightMetric decimal? ... optional, metric height
WeightMetric decimal? ... optional, metric weight
Cost decimal? ... optional, cost
DefaultMarkupPercent decimal? ... optional, markup percent
DefaultMarkupFlat decimal? ... optional, markup flat
AssignedCustomers List<int> optional, customer id's
PackageDefFacilities IList<Property.Models.PackageDefFacility>
FacilityIdentifier Generic.Models.FacilityIdentifier required, defines facility containing this package
Name string
Id int
CurrentQuantity decimal? ... optional, defines current quantity
MinQuantity decimal? ... optional, defines min quantity to generate alerts
UserIdentifier Generic.Models.UserIdentifier optional, UserLoginID that will receive the alerts.
Name string
Id int
AlertRecipient int? ...
PackageName string
AssignedCustomerIdentifiers IEnumerable<Generic.Models.CustomerIdentifier>
ExternalId string
Name string
Id int
Sample content-type: application/hal+json
{
  "packageDefId": 1,
  "name": "str",
  "barcode": "str",
  "description": "str",
  "isDefault": true,
  "lengthImperial": 1.0,
  "widthImperial": 1.0,
  "heightImperial": 1.0,
  "weightImperial": 1.0,
  "lengthMetric": 1.0,
  "widthMetric": 1.0,
  "heightMetric": 1.0,
  "weightMetric": 1.0,
  "cost": 1.0,
  "defaultMarkupPercent": 1.0,
  "defaultMarkupFlat": 1.0,
  "assignedCustomers": [
    1
  ],
  "assignedCustomerIdentifiers": [
    {
      "externalId": "str",
      "name": "str",
      "id": 3
    }
  ],
  "_embedded": {
    "item": [
      {
        "facilityIdentifier": {
          "name": "str",
          "id": 2
        },
        "currentQuantity": 1.0,
        "minQuantity": 1.0,
        "userIdentifier": {
          "name": "str",
          "id": 2
        },
        "alertRecipient": 1,
        "packageName": "str"
      }
    ]
  }
}
Type Description
PackageDefId int readonly
Name string required, must be unique as an alternate lookup field
Barcode string must be unique as an alternate lookup field
Description string optional, describe package def
IsDefault bool required, at most one PackageDef can be true
LengthImperial decimal? ... optional, imperial length
WidthImperial decimal? ... optional, imperial width
HeightImperial decimal? ... optional, imperial height
WeightImperial decimal? ... optional, imperial weight
LengthMetric decimal? ... optional, imperial width
WidthMetric decimal? ... optional, metric length
HeightMetric decimal? ... optional, metric height
WeightMetric decimal? ... optional, metric weight
Cost decimal? ... optional, cost
DefaultMarkupPercent decimal? ... optional, markup percent
DefaultMarkupFlat decimal? ... optional, markup flat
AssignedCustomers List<int> optional, customer id's
PackageDefFacilities IList<Property.Models.PackageDefFacility>
FacilityIdentifier Generic.Models.FacilityIdentifier required, defines facility containing this package
Name string
Id int
CurrentQuantity decimal? ... optional, defines current quantity
MinQuantity decimal? ... optional, defines min quantity to generate alerts
UserIdentifier Generic.Models.UserIdentifier optional, UserLoginID that will receive the alerts.
Name string
Id int
AlertRecipient int? ...
PackageName string
AssignedCustomerIdentifiers IEnumerable<Generic.Models.CustomerIdentifier>
ExternalId string
Name string
Id int
Sample accept: application/hal+json
{
  "packageDefId": 1,
  "name": "str",
  "barcode": "str",
  "description": "str",
  "isDefault": true,
  "lengthImperial": 1.0,
  "widthImperial": 1.0,
  "heightImperial": 1.0,
  "weightImperial": 1.0,
  "lengthMetric": 1.0,
  "widthMetric": 1.0,
  "heightMetric": 1.0,
  "weightMetric": 1.0,
  "cost": 1.0,
  "defaultMarkupPercent": 1.0,
  "defaultMarkupFlat": 1.0,
  "assignedCustomers": [
    1
  ],
  "assignedCustomerIdentifiers": [
    {
      "externalId": "str",
      "name": "str",
      "id": 3
    }
  ],
  "_embedded": {
    "item": [
      {
        "facilityIdentifier": {
          "name": "str",
          "id": 2
        },
        "currentQuantity": 1.0,
        "minQuantity": 1.0,
        "userIdentifier": {
          "name": "str",
          "id": 2
        },
        "alertRecipient": 1,
        "packageName": "str"
      }
    ]
  }
}

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.