Skip to main content
Solved

GoodTill API


Forum|alt.badge.img+1

Hello everyone,

I am doing a proof of concept for Automation Anywhere where I am trying to read data from a candidate EPoS system. However accessing the API requires the generation and reuse of an access token which is created using a POST statement passing three parameters - subdomain, username and password. The details of this can be found in the “Authentication - Create Token” section of the reference site:

Goodtill API (thegoodtill.com)

I have tried multiple areas to input these into the REST Web Services: POST method but I experience error consistently. I was wondering if someone could make a recommendation on the best way to do this?

Best answer by Aaron.Gleason

Hi Steve,

Rather than trying to format the input message as a JSON, are you certain it is not expecting form fields? Just because a web service responds in JSON doesn’t mean it necessarily needs JSON as its input.

I would start off making this work in Postman or SoapUI. Then you will know the exact parameters for Automation Anywhere.

Screen shot of Postman

 

View original
Did this topic help answer your question?

2 replies

Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+10
  • Automation Anywhere Team
  • 503 replies
  • Answer
  • February 16, 2024

Hi Steve,

Rather than trying to format the input message as a JSON, are you certain it is not expecting form fields? Just because a web service responds in JSON doesn’t mean it necessarily needs JSON as its input.

I would start off making this work in Postman or SoapUI. Then you will know the exact parameters for Automation Anywhere.

Screen shot of Postman

 


Forum|alt.badge.img+1
  • Author
  • Cadet | Tier 2
  • 2 replies
  • February 16, 2024

Spot on Aaron.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings