Skip to main content
richardm900458
January 6, 2023
Question

Api call with keys which have a space

  • January 6, 2023
  • 2 replies
  • 0 views

Dear Appian Community,

i want to call a pretty common webApi with a regular JSON request.

Usually no issue. CDT/Map tojson() go for it.

Just faced that a key is mandatory at the receiving end which has a "space" in it.
But CDT field names and Map paramters are just working without space.

To show what i mean:
the API expects a JSON parameter like "Creation Date: "
my CDT has "CreationDate" (so space missing) 

Any ideas to solve it?
Still amazed that i never faced that so for.

kind regards,
Richard

2 replies

harshitb6843
January 6, 2023

richardm900458
January 6, 2023

i will give my certification back. *sigh*
thank you harshit.