de.piksel.tech/services/index.php?&mode=jsonUse "request" param as post variable for submitting json/xml request payload for all POST requests.
| Name |
|---|
Ads a new mid roll ad to a program
{
"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
},
"ws_Mid_Roll_Ad": {
"programUuid": "abcd1234",
"startTime": 13,
"type": "linear",
"url": "http:\/\/www.com",
"templateType": "vast3",
"backupUrl": "http:\/\/www.backup.com"
}
}
}
{
"response": {
"success": {
"code": 862,
"message": "Midroll ad added\/updated",
"details": ""
},
"WsMidRollAd": {
"MidRollAd": [
{
"uuid": "oqh2258b",
"programUuid": "abcd1234",
"startTime": 15,
"type": "linear",
"url": "http:\/\/www.com",
"templateType": "vast3",
"backupUrl": "http:\/\/www.backup.com",
"dateAdded": "2014-08-05T18:41:31Z",
"dateModified": "2014-08-05T18:41:31Z"
}
]
}
}
}