Solved

GoodTill API

  • 16 February 2024
  • 2 replies
  • 42 views

Badge +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?

icon

Best answer by Aaron.Gleason 16 February 2024, 20:11

View original

2 replies

Userlevel 4
Badge +7

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

 

Badge +1

Spot on Aaron.

Reply