POST CN/GetFreightCharge

Request Information

URI Parameters

None.

Body Parameters

FreightChargeViewModel
NameDescriptionTypeAdditional information
SellerId

integer

None.

ConsigneeId

integer

None.

LocationId

integer

None.

FromLocationId

integer

None.

ToLocationId

integer

None.

CommodityId

integer

None.

CompanyId

integer

None.

FreightCharge

decimal number

None.

Success

boolean

None.

Message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SellerId": 1,
  "ConsigneeId": 6,
  "LocationId": 5,
  "FromLocationId": 0,
  "ToLocationId": 0,
  "CommodityId": 2,
  "CompanyId": 0,
  "FreightCharge": 0.0,
  "Success": false,
  "Message": null
}

application/xml, text/xml

Sample:
<FreightChargeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThreeStar.Common.Models">
  <Message i:nil="true" />
  <Success>false</Success>
  <CommodityId>2</CommodityId>
  <CompanyId>0</CompanyId>
  <ConsigneeId>6</ConsigneeId>
  <FreightCharge>0</FreightCharge>
  <FromLocationId>0</FromLocationId>
  <LocationId>5</LocationId>
  <SellerId>1</SellerId>
  <ToLocationId>0</ToLocationId>
</FreightChargeViewModel>

Response Information

Resource Description

FreightChargeViewModel
NameDescriptionTypeAdditional information
SellerId

integer

None.

ConsigneeId

integer

None.

LocationId

integer

None.

FromLocationId

integer

None.

ToLocationId

integer

None.

CommodityId

integer

None.

CompanyId

integer

None.

FreightCharge

decimal number

None.

Success

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "SellerId": 1,
  "ConsigneeId": 6,
  "LocationId": 5,
  "FromLocationId": 0,
  "ToLocationId": 0,
  "CommodityId": 2,
  "CompanyId": 0,
  "FreightCharge": 0.0,
  "Success": false,
  "Message": null
}

application/xml, text/xml

Sample:
<FreightChargeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ThreeStar.Common.Models">
  <Message i:nil="true" />
  <Success>false</Success>
  <CommodityId>2</CommodityId>
  <CompanyId>0</CompanyId>
  <ConsigneeId>6</ConsigneeId>
  <FreightCharge>0</FreightCharge>
  <FromLocationId>0</FromLocationId>
  <LocationId>5</LocationId>
  <SellerId>1</SellerId>
  <ToLocationId>0</ToLocationId>
</FreightChargeViewModel>