GET api/CustomerModels
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of CustomerModelsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| CustomerID | integer |
None. |
|
| ModolsID | integer |
None. |
|
| IsActive | boolean |
None. |
|
| Models | Collection of SoftwareModelsModel |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"CustomerID": 2,
"ModolsID": 3,
"IsActive": true,
"Models": [
{
"ID": 1,
"ProductID": 2,
"Name": "sample string 3",
"Price": 4.0,
"WarantyPercent": 5,
"Sharh": "sample string 6"
},
{
"ID": 1,
"ProductID": 2,
"Name": "sample string 3",
"Price": 4.0,
"WarantyPercent": 5,
"Sharh": "sample string 6"
}
]
},
{
"ID": 1,
"CustomerID": 2,
"ModolsID": 3,
"IsActive": true,
"Models": [
{
"ID": 1,
"ProductID": 2,
"Name": "sample string 3",
"Price": 4.0,
"WarantyPercent": 5,
"Sharh": "sample string 6"
},
{
"ID": 1,
"ProductID": 2,
"Name": "sample string 3",
"Price": 4.0,
"WarantyPercent": 5,
"Sharh": "sample string 6"
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfCustomerModelsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NoghostarModels.Models">
<CustomerModelsModel>
<CustomerID>2</CustomerID>
<ID>1</ID>
<IsActive>true</IsActive>
<Models>
<SoftwareModelsModel>
<ID>1</ID>
<Name>sample string 3</Name>
<Price>4</Price>
<ProductID>2</ProductID>
<Sharh>sample string 6</Sharh>
<WarantyPercent>5</WarantyPercent>
</SoftwareModelsModel>
<SoftwareModelsModel>
<ID>1</ID>
<Name>sample string 3</Name>
<Price>4</Price>
<ProductID>2</ProductID>
<Sharh>sample string 6</Sharh>
<WarantyPercent>5</WarantyPercent>
</SoftwareModelsModel>
</Models>
<ModolsID>3</ModolsID>
</CustomerModelsModel>
<CustomerModelsModel>
<CustomerID>2</CustomerID>
<ID>1</ID>
<IsActive>true</IsActive>
<Models>
<SoftwareModelsModel>
<ID>1</ID>
<Name>sample string 3</Name>
<Price>4</Price>
<ProductID>2</ProductID>
<Sharh>sample string 6</Sharh>
<WarantyPercent>5</WarantyPercent>
</SoftwareModelsModel>
<SoftwareModelsModel>
<ID>1</ID>
<Name>sample string 3</Name>
<Price>4</Price>
<ProductID>2</ProductID>
<Sharh>sample string 6</Sharh>
<WarantyPercent>5</WarantyPercent>
</SoftwareModelsModel>
</Models>
<ModolsID>3</ModolsID>
</CustomerModelsModel>
</ArrayOfCustomerModelsModel>