POST api/Definations/InsertApplicableVehicleTypes?vUserID={vUserID}&IsOpen={IsOpen}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
vUserID

integer

Required

IsOpen

boolean

Required

Body Parameters

Collection of ApplicableVehicles
NameDescriptionTypeAdditional information
CropID

integer

None.

CropName

string

None.

VerityID

integer

None.

VerityName

string

None.

VehicleID

integer

None.

VehicleName

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "CropID": 1,
    "CropName": "sample string 2",
    "VerityID": 3,
    "VerityName": "sample string 4",
    "VehicleID": 5,
    "VehicleName": "sample string 6"
  },
  {
    "CropID": 1,
    "CropName": "sample string 2",
    "VerityID": 3,
    "VerityName": "sample string 4",
    "VehicleID": 5,
    "VehicleName": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfApplicableVehicles xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RiceMillsERP_API.Models">
  <ApplicableVehicles>
    <CropID>1</CropID>
    <CropName>sample string 2</CropName>
    <VehicleID>5</VehicleID>
    <VehicleName>sample string 6</VehicleName>
    <VerityID>3</VerityID>
    <VerityName>sample string 4</VerityName>
  </ApplicableVehicles>
  <ApplicableVehicles>
    <CropID>1</CropID>
    <CropName>sample string 2</CropName>
    <VehicleID>5</VehicleID>
    <VehicleName>sample string 6</VehicleName>
    <VerityID>3</VerityID>
    <VerityName>sample string 4</VerityName>
  </ApplicableVehicles>
</ArrayOfApplicableVehicles>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.