External API - Custom Payload body | Community
Skip to main content
April 14, 2020
Solved

External API - Custom Payload body

  • April 14, 2020
  • 2 replies
  • 4167 views

Hello, good afternoon.

 

Here in our Company, we use Airship Urban to send Push messages.We are trying to integrate it to ACS using External API.

 

However, we can't customize the payload as expected by Airship Urban.

 

The log error: (400 - Bad Request)

 

 

 


So, can't we customize the payload message? This is this is expected by urban:

--request POST \
--header "Authorization: xxxxxxxx
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--data-binary '{"audience": {"named_user": "xxxxxxx"}, "notification": {"alert": "Test"}, "device_types": ["android"]}' https://go.urbanairship.com/api/push

 

Thank you very much

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SrinathJo

External API activity will show the format of the request body JSON format that will be generated on the Inbound Mapping tab of the activity, under Post Body Template. This format is also shown in the documentation - https://docs.adobe.com/content/help/en/campaign-standard/using/managing-processes-and-data/data-management-activities/external-api.html#description

 

The request body format is not customizable at this time. Hope this helps.

2 replies

Level 2
June 22, 2020
Hi mironrodrigo , was it resolved?
SrinathJoAdobe EmployeeAccepted solution
Adobe Employee
July 27, 2020

External API activity will show the format of the request body JSON format that will be generated on the Inbound Mapping tab of the activity, under Post Body Template. This format is also shown in the documentation - https://docs.adobe.com/content/help/en/campaign-standard/using/managing-processes-and-data/data-management-activities/external-api.html#description

 

The request body format is not customizable at this time. Hope this helps.