GET ops/vehicles/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

VehicleGET
NameDescriptionTypeAdditional information
Description

string

None.

GVM

integer

None.

Id

integer

None.

Name

string

None.

Organisation

OrganisationBasicGET

None.

RegistrationNo

string

None.

Tare

integer

None.

VehicleType

string

None.

VIN

string

None.

Response Formats

application/json, text/json

Sample:
{
  "description": "sample string 1",
  "gvm": 2,
  "id": 3,
  "name": "sample string 4",
  "organisation": null,
  "registrationNo": "sample string 5",
  "tare": 6,
  "vehicleType": "sample string 7",
  "vin": "sample string 8"
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'myPortalApi.Models.Admin.OrganisationBasicGET' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'myPortalApi.Models.Admin.OrganisationBasicGET' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. If the type is a collection, consider marking it with the CollectionDataContractAttribute. See the Microsoft .NET Framework documentation for other supported types.