POST api/DimWeight/Customer

Request Information

URI Parameters

None.

Body Parameters

DimWeightParm
NameDescriptionTypeAdditional information
auth

string

None.

EffectiveDate

date

None.

ServiceID

integer

None.

OrigCountryID

string

None.

DestCountryID

string

None.

Length

integer

None.

Width

integer

None.

Height

integer

None.

SizeUOM

string

None.

Pieces

integer

None.

CustomerID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "auth": "sample string 1",
  "EffectiveDate": "2024-09-19T09:19:12.5777094+00:00",
  "ServiceID": 3,
  "OrigCountryID": "sample string 4",
  "DestCountryID": "sample string 5",
  "Length": 6,
  "Width": 7,
  "Height": 8,
  "SizeUOM": "sample string 9",
  "Pieces": 10,
  "CustomerID": 1
}

application/xml, text/xml

Sample:
<DimWeightParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models">
  <CustomerID>1</CustomerID>
  <DestCountryID>sample string 5</DestCountryID>
  <EffectiveDate>2024-09-19T09:19:12.5777094+00:00</EffectiveDate>
  <Height>8</Height>
  <Length>6</Length>
  <OrigCountryID>sample string 4</OrigCountryID>
  <Pieces>10</Pieces>
  <ServiceID>3</ServiceID>
  <SizeUOM>sample string 9</SizeUOM>
  <Width>7</Width>
  <auth>sample string 1</auth>
</DimWeightParm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DimWeightResp
NameDescriptionTypeAdditional information
IsSuccessful

boolean

None.

ErrorMessage

string

None.

DimensionalWeightLB

decimal number

None.

DimensionalWeightKG

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "ErrorMessage": "sample string 2",
  "DimensionalWeightLB": 1.0,
  "DimensionalWeightKG": 1.0
}

application/xml, text/xml

Sample:
<DimWeightResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models">
  <DimensionalWeightKG>1</DimensionalWeightKG>
  <DimensionalWeightLB>1</DimensionalWeightLB>
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsSuccessful>true</IsSuccessful>
</DimWeightResp>