GET v1/TransportCategories

Get a list with all available TransportCategories for the logged in user.

Request Information

Requires Authorization!

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

A list of TransportCategory objects.


Collection of TransportCategoryBasicInfo
NameDescriptionTypeAdditional information
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:
[
  {
    "Id": 1,
    "Code": "sample string 2",
    "ShopOwnerId": 3
  },
  {
    "Id": 1,
    "Code": "sample string 2",
    "ShopOwnerId": 3
  }
]

application/xml, text/xml

Sample:
<ArrayOfTransportCategoryBasicInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <TransportCategoryBasicInfo>
    <Id>1</Id>
    <Code>sample string 2</Code>
    <ShopOwnerId>3</ShopOwnerId>
  </TransportCategoryBasicInfo>
  <TransportCategoryBasicInfo>
    <Id>1</Id>
    <Code>sample string 2</Code>
    <ShopOwnerId>3</ShopOwnerId>
  </TransportCategoryBasicInfo>
</ArrayOfTransportCategoryBasicInfo>