GET api/Vehicle?VehicleNo={VehicleNo}&LocCode={LocCode}&CompCode={CompCode}

Documentation for 'GetVehicleDetails'.

Request Information

Parameters

NameDescriptionAdditional information
VehicleNo
Documentation for 'VehicleNo'.

Define this parameter in the request URI.

LocCode
Documentation for 'LocCode'.

Define this parameter in the request URI.

CompCode
Documentation for 'CompCode'.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "JobcardNo": "sample string 1",
    "vehicleNo": "sample string 2",
    "phoneNo": "sample string 3",
    "Make": "sample string 4",
    "MakeId": "sample string 5",
    "Model": "sample string 6",
    "ModelId": "sample string 7",
    "Encryption": "sample string 8",
    "JobClosed": "sample string 9",
    "CustName": "sample string 10",
    "FuelType": "sample string 11",
    "Kilometer": "sample string 12",
    "ServiceId": "sample string 13",
    "ServiceType": "sample string 14"
  },
  {
    "JobcardNo": "sample string 1",
    "vehicleNo": "sample string 2",
    "phoneNo": "sample string 3",
    "Make": "sample string 4",
    "MakeId": "sample string 5",
    "Model": "sample string 6",
    "ModelId": "sample string 7",
    "Encryption": "sample string 8",
    "JobClosed": "sample string 9",
    "CustName": "sample string 10",
    "FuelType": "sample string 11",
    "Kilometer": "sample string 12",
    "ServiceId": "sample string 13",
    "ServiceType": "sample string 14"
  },
  {
    "JobcardNo": "sample string 1",
    "vehicleNo": "sample string 2",
    "phoneNo": "sample string 3",
    "Make": "sample string 4",
    "MakeId": "sample string 5",
    "Model": "sample string 6",
    "ModelId": "sample string 7",
    "Encryption": "sample string 8",
    "JobClosed": "sample string 9",
    "CustName": "sample string 10",
    "FuelType": "sample string 11",
    "Kilometer": "sample string 12",
    "ServiceId": "sample string 13",
    "ServiceType": "sample string 14"
  }
]

text/javascript, text/html

Sample:
[{"JobcardNo":"sample string 1","vehicleNo":"sample string 2","phoneNo":"sample string 3","Make":"sample string 4","MakeId":"sample string 5","Model":"sample string 6","ModelId":"sample string 7","Encryption":"sample string 8","JobClosed":"sample string 9","CustName":"sample string 10","FuelType":"sample string 11","Kilometer":"sample string 12","ServiceId":"sample string 13","ServiceType":"sample string 14"},{"JobcardNo":"sample string 1","vehicleNo":"sample string 2","phoneNo":"sample string 3","Make":"sample string 4","MakeId":"sample string 5","Model":"sample string 6","ModelId":"sample string 7","Encryption":"sample string 8","JobClosed":"sample string 9","CustName":"sample string 10","FuelType":"sample string 11","Kilometer":"sample string 12","ServiceId":"sample string 13","ServiceType":"sample string 14"},{"JobcardNo":"sample string 1","vehicleNo":"sample string 2","phoneNo":"sample string 3","Make":"sample string 4","MakeId":"sample string 5","Model":"sample string 6","ModelId":"sample string 7","Encryption":"sample string 8","JobClosed":"sample string 9","CustName":"sample string 10","FuelType":"sample string 11","Kilometer":"sample string 12","ServiceId":"sample string 13","ServiceType":"sample string 14"}]

application/xml, text/xml

Sample:
<ArrayOfvehicleDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RepublixApp.Models">
  <vehicleDetails>
    <CustName>sample string 10</CustName>
    <Encryption>sample string 8</Encryption>
    <FuelType>sample string 11</FuelType>
    <JobClosed>sample string 9</JobClosed>
    <JobcardNo>sample string 1</JobcardNo>
    <Kilometer>sample string 12</Kilometer>
    <Make>sample string 4</Make>
    <MakeId>sample string 5</MakeId>
    <Model>sample string 6</Model>
    <ModelId>sample string 7</ModelId>
    <ServiceId>sample string 13</ServiceId>
    <ServiceType>sample string 14</ServiceType>
    <phoneNo>sample string 3</phoneNo>
    <vehicleNo>sample string 2</vehicleNo>
  </vehicleDetails>
  <vehicleDetails>
    <CustName>sample string 10</CustName>
    <Encryption>sample string 8</Encryption>
    <FuelType>sample string 11</FuelType>
    <JobClosed>sample string 9</JobClosed>
    <JobcardNo>sample string 1</JobcardNo>
    <Kilometer>sample string 12</Kilometer>
    <Make>sample string 4</Make>
    <MakeId>sample string 5</MakeId>
    <Model>sample string 6</Model>
    <ModelId>sample string 7</ModelId>
    <ServiceId>sample string 13</ServiceId>
    <ServiceType>sample string 14</ServiceType>
    <phoneNo>sample string 3</phoneNo>
    <vehicleNo>sample string 2</vehicleNo>
  </vehicleDetails>
  <vehicleDetails>
    <CustName>sample string 10</CustName>
    <Encryption>sample string 8</Encryption>
    <FuelType>sample string 11</FuelType>
    <JobClosed>sample string 9</JobClosed>
    <JobcardNo>sample string 1</JobcardNo>
    <Kilometer>sample string 12</Kilometer>
    <Make>sample string 4</Make>
    <MakeId>sample string 5</MakeId>
    <Model>sample string 6</Model>
    <ModelId>sample string 7</ModelId>
    <ServiceId>sample string 13</ServiceId>
    <ServiceType>sample string 14</ServiceType>
    <phoneNo>sample string 3</phoneNo>
    <vehicleNo>sample string 2</vehicleNo>
  </vehicleDetails>
</ArrayOfvehicleDetails>