GET v1/TransportCategoryPrices/{transportCategoryId}

Get price information about a TransportCategory.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
transportCategoryId

The id of the TransportCategory.

integer

Required.

Body Parameters

None.

Response Information

Resource Description

The possible CarrierAccounts with corresponding prices..

TransportCategoryPriceInfo
NameDescriptionTypeAdditional information
CarrierPrices

Collection of CarrierPriceInfo

None.

MaxLength

The Max Length for the goods to transport with this category.

decimal number

None.

MinLength

The Min Length for the goods to transport with this category.

decimal number

None.

MaxWeight

The Max Weight for the goods to transport with this category.

decimal number

None.

MinWeight

The Min Weight for the goods to transport with this category.

decimal number

None.

MaxVolume

The Max Volume for the goods to transport with this category.

decimal number

None.

Id

Gets or sets the identifier.

integer

Required

Code

Gets or sets the code.

string

Required

Max length: 100

ShopOwnerId

integer

Required

Response Formats

application/json, text/json

Sample:
{
  "CarrierPrices": [
    {
      "CarrierAccountId": 1,
      "CarrierAccountName": "sample string 1",
      "FromCountryId": 1,
      "FromCountryCode": "sample string 2",
      "ToCountryId": 1,
      "ToCountryCode": "sample string 3",
      "PurchasePriceExVat": 4.0
    },
    {
      "CarrierAccountId": 1,
      "CarrierAccountName": "sample string 1",
      "FromCountryId": 1,
      "FromCountryCode": "sample string 2",
      "ToCountryId": 1,
      "ToCountryCode": "sample string 3",
      "PurchasePriceExVat": 4.0
    }
  ],
  "MaxLength": 1.0,
  "MinLength": 1.0,
  "MaxWeight": 1.0,
  "MinWeight": 1.0,
  "MaxVolume": 1.0,
  "Id": 1,
  "Code": "sample string 2",
  "ShopOwnerId": 3
}

application/xml, text/xml

Sample:
<TransportCategoryPriceInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>1</Id>
  <Code>sample string 2</Code>
  <ShopOwnerId>3</ShopOwnerId>
  <MaxLength>1</MaxLength>
  <MinLength>1</MinLength>
  <MaxWeight>1</MaxWeight>
  <MinWeight>1</MinWeight>
  <MaxVolume>1</MaxVolume>
  <CarrierPrices>
    <CarrierPriceInfo>
      <CarrierAccountId>1</CarrierAccountId>
      <CarrierAccountName>sample string 1</CarrierAccountName>
      <FromCountryId>1</FromCountryId>
      <FromCountryCode>sample string 2</FromCountryCode>
      <ToCountryId>1</ToCountryId>
      <ToCountryCode>sample string 3</ToCountryCode>
      <PurchasePriceExVat>4</PurchasePriceExVat>
    </CarrierPriceInfo>
    <CarrierPriceInfo>
      <CarrierAccountId>1</CarrierAccountId>
      <CarrierAccountName>sample string 1</CarrierAccountName>
      <FromCountryId>1</FromCountryId>
      <FromCountryCode>sample string 2</FromCountryCode>
      <ToCountryId>1</ToCountryId>
      <ToCountryCode>sample string 3</ToCountryCode>
      <PurchasePriceExVat>4</PurchasePriceExVat>
    </CarrierPriceInfo>
  </CarrierPrices>
</TransportCategoryPriceInfo>