List all search templates or return search results based on a search template set up in MYOB EXO Business.
URL | Supports |
---|---|
{URI}/searchtemplate {URI}/searchtemplate/{id}{parameters} |
|
{URI} is exo.api.myob.com when connecting to the cloud or the address of the machine hosting the API when connecting on premise. |
Calling the endpoint by itself returns a list of search templates.
To use a search template to return search results, call the endpoint with the ID number of the search template you want to use, for example:
http://exo.api.myob.com/searchtemplate/1
Depending on the search template being called, the call may need to pass parameters to filter the search results, for example:
http://exo.api.myob.com/searchtemplate/1?accno=21&q=airfil
This will return search results using the search template with the ID number 1 and passing in the Debtor account number 21 and the search string “airfil” as parameters.
The elements list below details information for Search Template. To view the descriptions for the elements you can either hover any attribute to reveal details or click here to show all details inline.
{URI} is defined as: http://exo.api.myob.com/