Im having real probs using the Airpush Publisher API. The URL im ok with however when i submit my parameters with zennoposters http post request I get a return of
HTTP/1.1 200 OK Content-Type: text/json Date: Tue, 21 Oct 2014 11:12:08 GMT Server: nginx/1.5.3 X-Mashery-Responder: prod-j-worker-us-west-1c-27.mashery.com X-Powered-By: PHP/5.4.26 Content-Length: 53 Connection: keep-alive
{"status":"4043","message":"No Parameters received."}
The API Guide states the following
Airpush Publisher API has been designed to let publishers manage applications directly with REST APIs.
Sample APIs
The below mentioned sample url will be used for all requests.
Sample Url: http://openapi.airpush.com/<METHOD NAME>?openapikey=<API KEY>&<BODY PARAMETER>
Adding Application
Method Name: addApplication
Body Parameter:
Parameter Name is application and
Value is
{
"appName": "New_app_name",
"appType": "Android Market URL",
"appUrl": "https://play.google.com/store/apps/details?id=xyz",
"category": "Automotive",
"subCategory": "Auto Parts",
"pushAds": {
"targettedUsers": "ALL",
"adFrequency": "2",
"firstAdDelay": "1"
},
"iconAds": {
"adsPerUser": "3"
},
"smartWall": {
"appwallAds": "N",
"dialogAds": "N",
"landingPageAds": "Y",
"richMediaFullPageAds": "N",
"overlayAds": "Y",
"videoAds": "N"
},
"bannerAds": "Y",
"excludeDatingCampaigns": "N"
}
I really hope someone can help cheers
HTTP/1.1 200 OK Content-Type: text/json Date: Tue, 21 Oct 2014 11:12:08 GMT Server: nginx/1.5.3 X-Mashery-Responder: prod-j-worker-us-west-1c-27.mashery.com X-Powered-By: PHP/5.4.26 Content-Length: 53 Connection: keep-alive
{"status":"4043","message":"No Parameters received."}
The API Guide states the following
Airpush Publisher API has been designed to let publishers manage applications directly with REST APIs.
Sample APIs
The below mentioned sample url will be used for all requests.
Sample Url: http://openapi.airpush.com/<METHOD NAME>?openapikey=<API KEY>&<BODY PARAMETER>
Adding Application
Method Name: addApplication
Body Parameter:
Parameter Name is application and
Value is
{
"appName": "New_app_name",
"appType": "Android Market URL",
"appUrl": "https://play.google.com/store/apps/details?id=xyz",
"category": "Automotive",
"subCategory": "Auto Parts",
"pushAds": {
"targettedUsers": "ALL",
"adFrequency": "2",
"firstAdDelay": "1"
},
"iconAds": {
"adsPerUser": "3"
},
"smartWall": {
"appwallAds": "N",
"dialogAds": "N",
"landingPageAds": "Y",
"richMediaFullPageAds": "N",
"overlayAds": "Y",
"videoAds": "N"
},
"bannerAds": "Y",
"excludeDatingCampaigns": "N"
}
I really hope someone can help cheers