GET api/Tracking/getSponsorViewsClicks/{section}/{companyid}/{timespan}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
section | string |
Required |
|
companyid | integer |
Required |
|
timespan | integer |
Default value is 30 |
Body Parameters
None.
Response Information
Resource Description
Collection of TrackBannersName | Description | Type | Additional information |
---|---|---|---|
Resource | string |
None. |
|
Details | string |
None. |
|
Clicks | integer |
None. |
|
Views | integer |
None. |
|
AdPath | string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "Resource": "sample string 1", "Details": "sample string 2", "Clicks": 3, "Views": 4, "AdPath": "sample string 5" }, { "Resource": "sample string 1", "Details": "sample string 2", "Clicks": 3, "Views": 4, "AdPath": "sample string 5" } ]
application/xml, text/xml
Sample:
<ArrayOfTrackBanners xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NiceAPI.Managers"> <TrackBanners> <AdPath>sample string 5</AdPath> <Clicks>3</Clicks> <Details>sample string 2</Details> <Resource>sample string 1</Resource> <Views>4</Views> </TrackBanners> <TrackBanners> <AdPath>sample string 5</AdPath> <Clicks>3</Clicks> <Details>sample string 2</Details> <Resource>sample string 1</Resource> <Views>4</Views> </TrackBanners> </ArrayOfTrackBanners>