POST api/Helper/TRANSPORT_POSTAGE_CHARGED

Request Information

URI Parameters

None.

Body Parameters

ZTransportPostageChargedRequest
NameDescriptionTypeAdditional information
MainServiceID

integer

None.

ExtraServiceIDs

string

None.

FromProvinceID

integer

None.

FromDistrictID

integer

None.

FromWardID

integer

None.

ToProvinceID

integer

None.

ToDistrictID

integer

None.

ToWardID

integer

None.

Weight

decimal number

None.

TransportSizeLength

decimal number

None.

TransportSizeWidth

decimal number

None.

TransportSizeHeight

decimal number

None.

CustomerCode

string

None.

Quantity

integer

None.

Amount

integer

None.

COD

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "MainServiceID": 1,
  "ExtraServiceIDs": "sample string 2",
  "FromProvinceID": 3,
  "FromDistrictID": 4,
  "FromWardID": 5,
  "ToProvinceID": 6,
  "ToDistrictID": 7,
  "ToWardID": 8,
  "Weight": 9.1,
  "TransportSizeLength": 10.1,
  "TransportSizeWidth": 11.1,
  "TransportSizeHeight": 12.1,
  "CustomerCode": "sample string 13",
  "Quantity": 14,
  "Amount": 15,
  "COD": 16
}

application/xml, text/xml

Sample:
<ZTransportPostageChargedRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMS.Entity">
  <Amount>15</Amount>
  <COD>16</COD>
  <CustomerCode>sample string 13</CustomerCode>
  <ExtraServiceIDs>sample string 2</ExtraServiceIDs>
  <FromDistrictID>4</FromDistrictID>
  <FromProvinceID>3</FromProvinceID>
  <FromWardID>5</FromWardID>
  <MainServiceID>1</MainServiceID>
  <Quantity>14</Quantity>
  <ToDistrictID>7</ToDistrictID>
  <ToProvinceID>6</ToProvinceID>
  <ToWardID>8</ToWardID>
  <TransportSizeHeight>12.1</TransportSizeHeight>
  <TransportSizeLength>10.1</TransportSizeLength>
  <TransportSizeWidth>11.1</TransportSizeWidth>
  <Weight>9.1</Weight>
</ZTransportPostageChargedRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ZTransportPostageChargedResponse
NameDescriptionTypeAdditional information
MainFee

integer

None.

ExtraFee

integer

None.

Surcharge

integer

None.

TotalAmount

integer

None.

MainFeeNotVAT

integer

None.

ExtraFeeNotVAT

integer

None.

SurchargeNotVAT

integer

None.

TotalAmountNotVAT

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "MainFee": 1,
  "ExtraFee": 2,
  "Surcharge": 3,
  "TotalAmount": 4,
  "MainFeeNotVAT": 5,
  "ExtraFeeNotVAT": 6,
  "SurchargeNotVAT": 7,
  "TotalAmountNotVAT": 8
}

application/xml, text/xml

Sample:
<ZTransportPostageChargedResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EMS.Entity">
  <ExtraFee>2</ExtraFee>
  <ExtraFeeNotVAT>6</ExtraFeeNotVAT>
  <MainFee>1</MainFee>
  <MainFeeNotVAT>5</MainFeeNotVAT>
  <Surcharge>3</Surcharge>
  <SurchargeNotVAT>7</SurchargeNotVAT>
  <TotalAmount>4</TotalAmount>
  <TotalAmountNotVAT>8</TotalAmountNotVAT>
</ZTransportPostageChargedResponse>