POST api/vehicles/{id}/features

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

InventoryOption
NameDescriptionTypeAdditional information
InventoryOptionId

integer

None.

StockNumber

integer

None.

Options

string

None.

CreatedBy

string

None.

CreatedOn

date

None.

ModifiedBy

string

None.

ModifiedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "InventoryOptionId": 1,
  "StockNumber": 2,
  "Options": "sample string 3",
  "CreatedBy": "sample string 4",
  "CreatedOn": "2025-07-05T07:02:43.6030372+00:00",
  "ModifiedBy": "sample string 6",
  "ModifiedOn": "2025-07-05T07:02:43.6030372+00:00"
}

application/xml, text/xml

Sample:
<InventoryOption xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.DMS.Business.Entities.Entities">
  <CreatedBy>sample string 4</CreatedBy>
  <CreatedOn>2025-07-05T07:02:43.6030372+00:00</CreatedOn>
  <InventoryOptionId>1</InventoryOptionId>
  <ModifiedBy>sample string 6</ModifiedBy>
  <ModifiedOn>2025-07-05T07:02:43.6030372+00:00</ModifiedOn>
  <Options>sample string 3</Options>
  <StockNumber>2</StockNumber>
</InventoryOption>

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 'InventoryOption'

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.