POST api/vehicle/list

Request Information

URI Parameters

None.

Body Parameters

VehiclesRequestModel
NameDescriptionTypeAdditional information
BranchID

integer

None.

FinancialYearID

integer

None.

Name

string

None.

CustomerID

integer

None.

IsCompany

integer

None.

Type

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BranchID": 1,
  "FinancialYearID": 2,
  "Name": "sample string 3",
  "CustomerID": 4,
  "IsCompany": 5,
  "Type": 6
}

application/xml, text/xml

Sample:
<VehiclesRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers">
  <BranchID>1</BranchID>
  <CustomerID>4</CustomerID>
  <FinancialYearID>2</FinancialYearID>
  <IsCompany>5</IsCompany>
  <Name>sample string 3</Name>
  <Type>6</Type>
</VehiclesRequestModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VehiclesRequestModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.