GET api/WebCuModels?CustomerId={CustomerId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of WebCuModelsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CustomerId | integer |
None. |
|
| ModelsId | integer |
None. |
|
| WebModelsModel | WebModelsModel |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"CustomerId": 2,
"ModelsId": 3,
"WebModelsModel": {
"Id": 1,
"ProductsId": 2,
"ModelName": "sample string 3",
"ModelCode": "sample string 4",
"ModelPrice": 5.0
}
},
{
"Id": 1,
"CustomerId": 2,
"ModelsId": 3,
"WebModelsModel": {
"Id": 1,
"ProductsId": 2,
"ModelName": "sample string 3",
"ModelCode": "sample string 4",
"ModelPrice": 5.0
}
}
]
application/xml, text/xml
Sample:
<ArrayOfWebCuModelsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NoghostarModels.Models.WebModels">
<WebCuModelsModel>
<CustomerId>2</CustomerId>
<Id>1</Id>
<ModelsId>3</ModelsId>
<WebModelsModel>
<Id>1</Id>
<ModelCode>sample string 4</ModelCode>
<ModelName>sample string 3</ModelName>
<ModelPrice>5</ModelPrice>
<ProductsId>2</ProductsId>
</WebModelsModel>
</WebCuModelsModel>
<WebCuModelsModel>
<CustomerId>2</CustomerId>
<Id>1</Id>
<ModelsId>3</ModelsId>
<WebModelsModel>
<Id>1</Id>
<ModelCode>sample string 4</ModelCode>
<ModelName>sample string 3</ModelName>
<ModelPrice>5</ModelPrice>
<ProductsId>2</ProductsId>
</WebModelsModel>
</WebCuModelsModel>
</ArrayOfWebCuModelsModel>