Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
09-20-2017 10:32 AM
Is it possible to use XML instead of JSON for the custom event data publish.
If it possible could you post an example similar to this.
Thanks
curl -X POST "<events_service_endpoint>:9080/events/publish/myProducts" -H"X-Events-API-AccountName:customer1_1234-567a-bccc-123" -H"X-Events-API-Key:a123b456-c789-1d23-e456-nnn" -H"Content-type: application/vnd.appd.events+json;v=2" -d '[{"id": "5653b879ab33a","productBrand": "ACME","userRating": 3,"price": 2006.41,"productName": "Watch","description": "new watch"},{"id": "5653b879700","productBrand": "Widget","userRating": 1,"price": 3800.13,"productName": "Watch","description": "2015 watch"}]'
09-21-2017 04:17 AM
Hi Atul,
Unfortunately, The Analytics events API only works with JSON payload.
Regards,
Gaurav Soni
09-21-2017 06:37 AM
OK, Thanks for confirming that XML cannot be used by the REST API for Analytics.
Atul
12-08-2017 05:22 AM
URW. :)
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form