GET api/Models
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of ModelsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
None. |
|
| Price | decimal number |
None. |
|
| WarantyPercent | integer |
None. |
|
| Sharh | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"Name": "sample string 2",
"Price": 3.0,
"WarantyPercent": 4,
"Sharh": "sample string 5"
},
{
"ID": 1,
"Name": "sample string 2",
"Price": 3.0,
"WarantyPercent": 4,
"Sharh": "sample string 5"
}
]
application/xml, text/xml
Sample:
<ArrayOfModelsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NoghostarModels.Models">
<ModelsModel>
<ID>1</ID>
<Name>sample string 2</Name>
<Price>3</Price>
<Sharh>sample string 5</Sharh>
<WarantyPercent>4</WarantyPercent>
</ModelsModel>
<ModelsModel>
<ID>1</ID>
<Name>sample string 2</Name>
<Price>3</Price>
<Sharh>sample string 5</Sharh>
<WarantyPercent>4</WarantyPercent>
</ModelsModel>
</ArrayOfModelsModel>