GET api/VehicleType/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

VehicleType
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

Required

String length: inclusive between 0 and 10

Description

string

Required

String length: inclusive between 0 and 100

IsMustUseTareWeight

boolean

Required

IsSingleWeigh

boolean

Required

AllowZeroTareWeight

boolean

Required

MasterId

integer

None.

IsTrailer

boolean

None.

CreatedBy

string

None.

CreatedOn

date

None.

ModifiedBy

string

None.

ModifiedOn

date

None.

RowVersion

Collection of byte

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Code": "sample string 2",
  "Description": "sample string 3",
  "IsMustUseTareWeight": true,
  "IsSingleWeigh": true,
  "AllowZeroTareWeight": true,
  "MasterId": 1,
  "IsTrailer": true,
  "CreatedBy": "sample string 8",
  "CreatedOn": "2025-12-19T06:08:00.7076775-06:00",
  "ModifiedBy": "sample string 9",
  "ModifiedOn": "2025-12-19T06:08:00.7076775-06:00",
  "RowVersion": "QEA="
}

application/xml, text/xml

Sample:
<VehicleType xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <CreatedBy>sample string 8</CreatedBy>
  <CreatedOn>2025-12-19T06:08:00.7076775-06:00</CreatedOn>
  <ModifiedBy>sample string 9</ModifiedBy>
  <ModifiedOn>2025-12-19T06:08:00.7076775-06:00</ModifiedOn>
  <RowVersion>QEA=</RowVersion>
  <Id>1</Id>
  <Code>sample string 2</Code>
  <Description>sample string 3</Description>
  <IsMustUseTareWeight>true</IsMustUseTareWeight>
  <IsSingleWeigh>true</IsSingleWeigh>
  <AllowZeroTareWeight>true</AllowZeroTareWeight>
  <MasterId>1</MasterId>
  <IsTrailer>true</IsTrailer>
</VehicleType>