GET api/CustomerMerchants?CustomerID={CustomerID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of MerchantsData| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerID | integer |
None. |
|
| MerchantID | string |
None. |
|
| Img | string |
None. |
|
| MerchantFullName | string |
None. |
|
| Phone | string |
None. |
|
| Jawaal | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CustomerID": 1,
"MerchantID": "sample string 2",
"Img": "sample string 3",
"MerchantFullName": "sample string 4",
"Phone": "sample string 5",
"Jawaal": "sample string 6"
},
{
"CustomerID": 1,
"MerchantID": "sample string 2",
"Img": "sample string 3",
"MerchantFullName": "sample string 4",
"Phone": "sample string 5",
"Jawaal": "sample string 6"
}
]
application/xml, text/xml
Sample:
<ArrayOfMerchantsData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication_POS">
<MerchantsData>
<CustomerID>1</CustomerID>
<Img>sample string 3</Img>
<Jawaal>sample string 6</Jawaal>
<MerchantFullName>sample string 4</MerchantFullName>
<MerchantID>sample string 2</MerchantID>
<Phone>sample string 5</Phone>
</MerchantsData>
<MerchantsData>
<CustomerID>1</CustomerID>
<Img>sample string 3</Img>
<Jawaal>sample string 6</Jawaal>
<MerchantFullName>sample string 4</MerchantFullName>
<MerchantID>sample string 2</MerchantID>
<Phone>sample string 5</Phone>
</MerchantsData>
</ArrayOfMerchantsData>