GET api/models

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of model
NameDescriptionTypeAdditional information
id

integer

None.

make_id

integer

None.

code

string

None.

title

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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