GET api/Promotion/GetPromotions?securityKey={securityKey}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| securityKey | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Promotion| Name | Description | Type | Additional information |
|---|---|---|---|
| ImageId | integer |
None. |
|
| ImageName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ImageId": 1,
"ImageName": "sample string 2"
},
{
"ImageId": 1,
"ImageName": "sample string 2"
}
]
text/html
Sample:
[{"ImageId":1,"ImageName":"sample string 2"},{"ImageId":1,"ImageName":"sample string 2"}]
application/xml, text/xml
Sample:
<ArrayOfPromotion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dnyanved.Core.Model">
<Promotion>
<ImageId>1</ImageId>
<ImageName>sample string 2</ImageName>
</Promotion>
<Promotion>
<ImageId>1</ImageId>
<ImageName>sample string 2</ImageName>
</Promotion>
</ArrayOfPromotion>