de.piksel.tech/services/index.php?&mode=jsonUse "request" param as post variable for submitting json/xml request payload for all POST requests.
| Name |
|---|
Creates a new analytics job
{
"request": {
"authentication": {
"app_token": "7cd207c2-6808-11e3-b865-22000a8a28ea",
"client_token": "d4c1b92c0acb102ba3e10015c5f061d1",
"user_token": "f277cb9d46e45f67f44de949cdde110f"
},
"header": {
"header_version": 1,
"api_version": "5",
"no_cache": true
},
"WsAnalyticsJob": {
"assetType": "vod\/live",
"filterid": [
"sessions",
"plays"
],
"groupby": [
"asset_uuid\/project_uuid\/program_uuid",
"DEVICETYPE",
"DEVICE",
"yy",
"mm",
"dd",
"hh",
"country",
"COUNTRY_EN",
"SUBDIVISION",
"SUBDIVISION_EN"
],
"assetid": "assetid",
"project_uuid": "project uuid",
"program_uuid": "program uuid",
"start": "2014-03-02",
"end": "2016-03-03"
}
}
}
{
"response": {
"success": {
"code": 1271,
"message": "Analytics job created",
"details": ""
},
"WsAnalyticsJob": {
"assetType": "vod",
"filterid": [
"sessions",
"plays"
],
"groupby": [
"project_uuid",
"yy",
"mm",
"dd",
"hh"
],
"assetid": "assetid",
"project_uuid": "project uuid",
"program_uuid": "program uuid",
"start": "2014-03-02",
"end": "2016-03-03",
"jobid": "1234"
}
}
}