POST api/HarmonizedCode

Request Information

URI Parameters

None.

Body Parameters

HarmonizedCodeParm
NameDescriptionTypeAdditional information
auth

string

None.

HSCode

string

None.

Description

string

None.

Request Formats

application/json, text/json

Sample:
{
  "auth": "sample string 1",
  "HSCode": "sample string 2",
  "Description": "sample string 3"
}

application/xml, text/xml

Sample:
<HarmonizedCodeParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models">
  <Description>sample string 3</Description>
  <HSCode>sample string 2</HSCode>
  <auth>sample string 1</auth>
</HarmonizedCodeParm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HarmonziedCodeResp
NameDescriptionTypeAdditional information
IsSuccessful

boolean

None.

ErrorMessage

string

None.

Codes

Collection of HSCodeItem

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "ErrorMessage": "sample string 2",
  "Codes": [
    {
      "HSRecordGUID": "sample string 1",
      "HSCode": "sample string 2",
      "HSSubCode": "sample string 3",
      "Description": "sample string 4"
    },
    {
      "HSRecordGUID": "sample string 1",
      "HSCode": "sample string 2",
      "HSSubCode": "sample string 3",
      "Description": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<HarmonziedCodeResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models">
  <Codes>
    <HSCodeItem>
      <Description>sample string 4</Description>
      <HSCode>sample string 2</HSCode>
      <HSRecordGUID>sample string 1</HSRecordGUID>
      <HSSubCode>sample string 3</HSSubCode>
    </HSCodeItem>
    <HSCodeItem>
      <Description>sample string 4</Description>
      <HSCode>sample string 2</HSCode>
      <HSRecordGUID>sample string 1</HSRecordGUID>
      <HSSubCode>sample string 3</HSSubCode>
    </HSCodeItem>
  </Codes>
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsSuccessful>true</IsSuccessful>
</HarmonziedCodeResp>