Skip to main content
Answer

GoodTill API

  • February 16, 2024
  • 2 replies
  • 80 views

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

 

2 replies

Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+14
  • Automation Anywhere Team
  • 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
  • February 16, 2024

Spot on Aaron.