POST api/CrateGCodes

Request Information

URI Parameters

None.

Body Parameters

CrateGCodeRequest
NameDescriptionTypeAdditional information
TariffNo

integer

None.

PickupDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "TariffNo": 1,
  "PickupDate": "2025-01-21T23:52:48.5374987-05:00"
}

application/xml, text/xml

Sample:
<CrateGCodeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Estimate.Common.Models">
  <PickupDate>2025-01-21T23:52:48.5374987-05:00</PickupDate>
  <TariffNo>1</TariffNo>
</CrateGCodeRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CrateGCodeList
NameDescriptionTypeAdditional information
CrateGCodes

Collection of integer

None.

Response Formats

application/json, text/json

Sample:
{
  "CrateGCodes": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<CrateGCodeList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Estimate.Common.Models">
  <CrateGCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CrateGCodes>
</CrateGCodeList>