I have button click in appian UI which i need to use for consuming API from APIGEE layer.
This is the two APIs we need to integrate
https://it.api-dev.honeywell.com/v1/premiumFreight/appian/validateRequest
for authorization and access token link is
https://it.api-dev.honeywell.com/v2/oauth/accesstoken
And input json i have added in the insert code
I have and API url and access token to pass it to the headers of the api .Can anyone help us to know how to do this integration?
{"row":{ "orderDelNumber":"8105050724", "orderDelItemNumber":"", "PO_SO_STO_INDEL_OUTDEL":"OD", "Source_System":"BID" } }
Thanks
Sunu Sam
Discussion posts and replies are publicly visible
I think this part of the Appian documentation should get you quickly up to speed.
docs.appian.com/.../Integration_Tutorial.html
HI Stefan ,
We need your help we tried the integration for API using GET method but we do not have option to pass the request body json which i have shared earlier in the code section.
What else can we do to get the output response for the API integration.
We got the following error:
Value
Failed to remove variable target.url in KeyValueMapStepDefinition getTargetURL
Thanks ,Please guide us for this!
Regards
In general a HTTP GET does not contain a body. You will need to do a POST.
HI Stefan,
We done post we are getting same internal error 500!
OK. Then you will need to find out what this error message actually means. This seems to be an internal API. I would try to contact the development team.
Hi Stefan,
Yes please contact the team and let us know how we can use a get method in Appian with input Json for the request body.
thanks
Can you somehow share the configuration in Postman and the one in Appian?
I can share postman collection as code snippet and i will share appian setting as screen shot.
Hi Stefan ,
Below reply I have shared the screen shot and postman collection, please take look and help us if possible.
thanks & regards
uploaded collection in text format also.
Hm ... the URLs you use in Appian all go to honeywell.com. That in Postman do not.
You try to do a HTTP GET and include a HTTP body in Postman. That will not work.
In Appian you try to do a proper HTTP GET putting the parameters into the URL.
Again, did you try to contact the Honeywell internal team developing this API? They should be able to help you.
We have already tried passing input parameters as query parameters, still we did not get proper response.
Can we have the Appian development team reply to our query??
Post method worked for us, internally from apigee we changed get to POST and it started working ....Thanks for the help.