POST api/ShortDateItems?dx={dx}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
dx

string

Required

Body Parameters

Collection of ShortDateItems
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:
<ArrayOfShortDateItems xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MPUAPI">
  <ShortDateItems>
    <dateOfExpiry>2024-11-28T04:44:59.8273943+01:00</dateOfExpiry>
    <dateOfInspection>2024-11-28T04:44:59.8273943+01:00</dateOfInspection>
    <strKey>sample string 1</strKey>
    <ulGroupKey>1</ulGroupKey>
    <ulProductKey>1</ulProductKey>
    <usLeadTime>1</usLeadTime>
    <usShelfLife>1</usShelfLife>
  </ShortDateItems>
  <ShortDateItems>
    <dateOfExpiry>2024-11-28T04:44:59.8273943+01:00</dateOfExpiry>
    <dateOfInspection>2024-11-28T04:44:59.8273943+01:00</dateOfInspection>
    <strKey>sample string 1</strKey>
    <ulGroupKey>1</ulGroupKey>
    <ulProductKey>1</ulProductKey>
    <usLeadTime>1</usLeadTime>
    <usShelfLife>1</usShelfLife>
  </ShortDateItems>
</ArrayOfShortDateItems>

application/json, text/json

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

Response Information

Resource Description

ShortDateItems
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:
<ShortDateItems xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MPUAPI">
  <dateOfExpiry>2024-11-28T04:44:59.8273943+01:00</dateOfExpiry>
  <dateOfInspection>2024-11-28T04:44:59.8273943+01:00</dateOfInspection>
  <strKey>sample string 1</strKey>
  <ulGroupKey>1</ulGroupKey>
  <ulProductKey>1</ulProductKey>
  <usLeadTime>1</usLeadTime>
  <usShelfLife>1</usShelfLife>
</ShortDateItems>

application/json, text/json

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