PUT api/Content/v3/GetAdvertisements
Request Information
URI Parameters
None.
Body Parameters
AdvertisementRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| Section | integer |
None. |
|
| Type | integer |
None. |
|
| UniqueId | globally unique identifier |
None. |
|
| UserUniqueId | integer |
None. |
|
| AdvertiseIds | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"Section": 2,
"Type": 3,
"UniqueId": "0c1f33e0-ea1c-46b5-b1cd-2a50e58076ba",
"UserUniqueId": 5,
"AdvertiseIds": [
1,
2
]
}
application/xml, text/xml
Sample:
<AdvertisementRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
<AdvertiseIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</AdvertiseIds>
<CustomerId>1</CustomerId>
<Section>2</Section>
<Type>3</Type>
<UniqueId>0c1f33e0-ea1c-46b5-b1cd-2a50e58076ba</UniqueId>
<UserUniqueId>5</UserUniqueId>
</AdvertisementRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AdvertisementResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Advertise | APIAdvertisement |
None. |
Response Formats
application/json, text/json
Sample:
{
"Advertise": {
"Id": 1,
"Title": "sample string 2",
"RedirectURL": "sample string 3",
"Image": "sample string 4",
"Token": "24d968f9-8315-43ff-aebc-b8cccd713b2a",
"AdType": 6
}
}
application/xml, text/xml
Sample:
<AdvertisementResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
<Advertise>
<AdType>6</AdType>
<Id>1</Id>
<Image>sample string 4</Image>
<RedirectURL>sample string 3</RedirectURL>
<Title>sample string 2</Title>
<Token>24d968f9-8315-43ff-aebc-b8cccd713b2a</Token>
</Advertise>
</AdvertisementResponse>