POST api/EmptyShelfItems?dx={dx}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
dx

string

Required

Body Parameters

Collection of EmptyShelfItems
NameDescriptionTypeAdditional information
strKey

string

None.

ulProductKey

integer

None.

ulGroupKey

integer

None.

usShelfLife

integer

None.

usLeadTime

integer

None.

dateOfExpiry

date

None.

dateOfInspection

date

None.

Request Formats

application/xml, text/xml

Sample:
<ArrayOfEmptyShelfItems xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MPUAPI">
  <EmptyShelfItems>
    <dateOfExpiry>2024-11-28T04:34:48.3770665+01:00</dateOfExpiry>
    <dateOfInspection>2024-11-28T04:34:48.3770665+01:00</dateOfInspection>
    <strKey>sample string 1</strKey>
    <ulGroupKey>1</ulGroupKey>
    <ulProductKey>1</ulProductKey>
    <usLeadTime>1</usLeadTime>
    <usShelfLife>1</usShelfLife>
  </EmptyShelfItems>
  <EmptyShelfItems>
    <dateOfExpiry>2024-11-28T04:34:48.3770665+01:00</dateOfExpiry>
    <dateOfInspection>2024-11-28T04:34:48.3770665+01:00</dateOfInspection>
    <strKey>sample string 1</strKey>
    <ulGroupKey>1</ulGroupKey>
    <ulProductKey>1</ulProductKey>
    <usLeadTime>1</usLeadTime>
    <usShelfLife>1</usShelfLife>
  </EmptyShelfItems>
</ArrayOfEmptyShelfItems>

application/json, text/json

Sample:
[
  {
    "strKey": "sample string 1",
    "ulProductKey": 1,
    "ulGroupKey": 1,
    "usShelfLife": 1,
    "usLeadTime": 1,
    "dateOfExpiry": "2024-11-28T04:34:48.3770665+01:00",
    "dateOfInspection": "2024-11-28T04:34:48.3770665+01:00"
  },
  {
    "strKey": "sample string 1",
    "ulProductKey": 1,
    "ulGroupKey": 1,
    "usShelfLife": 1,
    "usLeadTime": 1,
    "dateOfExpiry": "2024-11-28T04:34:48.3770665+01:00",
    "dateOfInspection": "2024-11-28T04:34:48.3770665+01:00"
  }
]

Response Information

Resource Description

EmptyShelfItems
NameDescriptionTypeAdditional information
strKey

string

None.

ulProductKey

integer

None.

ulGroupKey

integer

None.

usShelfLife

integer

None.

usLeadTime

integer

None.

dateOfExpiry

date

None.

dateOfInspection

date

None.

Response Formats

application/xml, text/xml

Sample:
<EmptyShelfItems xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MPUAPI">
  <dateOfExpiry>2024-11-28T04:34:48.3926844+01:00</dateOfExpiry>
  <dateOfInspection>2024-11-28T04:34:48.3926844+01:00</dateOfInspection>
  <strKey>sample string 1</strKey>
  <ulGroupKey>1</ulGroupKey>
  <ulProductKey>1</ulProductKey>
  <usLeadTime>1</usLeadTime>
  <usShelfLife>1</usShelfLife>
</EmptyShelfItems>

application/json, text/json

Sample:
{
  "strKey": "sample string 1",
  "ulProductKey": 1,
  "ulGroupKey": 1,
  "usShelfLife": 1,
  "usLeadTime": 1,
  "dateOfExpiry": "2024-11-28T04:34:48.3926844+01:00",
  "dateOfInspection": "2024-11-28T04:34:48.3926844+01:00"
}