PUT api/models/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

model
NameDescriptionTypeAdditional information
id

integer

None.

make_id

integer

None.

code

string

None.

title

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "make_id": 2,
  "code": "sample string 3",
  "title": "sample string 4"
}

application/xml, text/xml

Sample:
<model xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BonaITBackend.Models">
  <code>sample string 3</code>
  <id>1</id>
  <make_id>2</make_id>
  <title>sample string 4</title>
</model>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.