Page 1 of 1

API Request Issues

Posted: Fri Jun 20, 2014 1:57 pm
by Kieran Keene

Hi there,

I am using a form to search multiple API's. One of the form fields is "Job Type".

Each API has a different list of "accepted" requests.

How can I handle making the same request to multiple API's, when, they may require a different input? Can I set the value of the drop down to be different depending on which API it is hitting?


API Request Issues

Posted: Fri Jun 20, 2014 3:32 pm
by Kateryna Grynko

Hi Kieran,

Did you create several services that you want to invoke depending on UI component value, for example, Select?


API Request Issues

Posted: Fri Jun 20, 2014 3:36 pm
by Kieran Keene

hi -

No i only have one service for each API. So, if I replicate the service, how can I add in the condition?


API Request Issues

Posted: Fri Jun 20, 2014 3:40 pm
by Kieran Keene

So I want to always invoke a service for every API.

For each API, the service should send different requests.

Are you suggesting that I create 2 services for each API ??

Service 1:
Job Type : Full Time

Service2:
Job Type: Part Time


API Request Issues

Posted: Fri Jun 20, 2014 5:43 pm
by Kateryna Grynko

Hi Kieran,

What do you mean by API, different sites? Then yes, you'll need to create a separate service for each of them.