POST v2/api/Router/OfflineContent/NeoplayAdvertisingImpressions
Request Information
URI Parameters
None.
Body Parameters
Collection of AdImpressionsViewModelName | Description | Type | Additional information |
---|---|---|---|
adId | integer |
Required |
|
userId | string |
None. |
|
timeStamp | string |
None. |
|
placement | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "adId": 1, "userId": "sample string 2", "timeStamp": "sample string 3", "placement": [ "sample string 1", "sample string 2" ] }, { "adId": 1, "userId": "sample string 2", "timeStamp": "sample string 3", "placement": [ "sample string 1", "sample string 2" ] } ]
application/xml, text/xml
Sample:
<ArrayOfAdImpressionsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Neocontrol.API.ViewModels"> <AdImpressionsViewModel> <adId>1</adId> <placement xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </placement> <timeStamp>sample string 3</timeStamp> <userId>sample string 2</userId> </AdImpressionsViewModel> <AdImpressionsViewModel> <adId>1</adId> <placement xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </placement> <timeStamp>sample string 3</timeStamp> <userId>sample string 2</userId> </AdImpressionsViewModel> </ArrayOfAdImpressionsViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.