GET api/hire/ModelsByClass?classCode={classCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
classCode

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of VehicleModelBaseViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

Required

Max length: 50

Name

string

Required

Max length: 100

IsDeleted

boolean

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Code": "sample string 2",
    "Name": "sample string 3",
    "IsDeleted": true
  },
  {
    "Id": 1,
    "Code": "sample string 2",
    "Name": "sample string 3",
    "IsDeleted": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfVehicleModelBaseViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Codezync.Taxi.ViewModels">
  <VehicleModelBaseViewModel>
    <Code>sample string 2</Code>
    <Id>1</Id>
    <IsDeleted>true</IsDeleted>
    <Name>sample string 3</Name>
  </VehicleModelBaseViewModel>
  <VehicleModelBaseViewModel>
    <Code>sample string 2</Code>
    <Id>1</Id>
    <IsDeleted>true</IsDeleted>
    <Name>sample string 3</Name>
  </VehicleModelBaseViewModel>
</ArrayOfVehicleModelBaseViewModel>