Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

External API - Custom Payload body

Avatar

Avatar
Level 1
mironrodrigo
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
mironrodrigo
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
mironrodrigo
Level 1

14-04-2020

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)

 

mironrodrigo_0-1586903847232.png

 

 


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

API Body External Payload

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 1
Level 2
srjoshi
Level 2

Likes

2 likes

Total Posts

4 posts

Correct Reply

4 solutions
Top badges earned
Boost 1
Affirm 3
Affirm 1
View profile

Avatar
Boost 1
Level 2
srjoshi
Level 2

Likes

2 likes

Total Posts

4 posts

Correct Reply

4 solutions
Top badges earned
Boost 1
Affirm 3
Affirm 1
View profile
srjoshi
Level 2

27-07-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-mana...

 

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

Answers (0)