REST API request to get customer information through the external ID.
REST API request to get the customer information through the external_id.
-
Cedric commented
It seem's to be impossible to make a search on an alternate field.
Per exemple, I would like to get the customer information based on the External ID or the company name (Not the ID).In comparaison ISPConfig allow extented query on other field:
Classic search : curl -X POST -H "Content-Type: application/json" -H "Cache-Control: no-cache" -d '{"session_id": "ID_SESSION", "client_id":"XXXXX"}' "https://URL_ISP:8080/remote/json.php?client_get"
Extended search : curl -X POST -H "Content-Type: application/json" -H "Cache-Control: no-cache" -d '{"session_id": "ID_SESSION", "client_id":{"customer_no":"XXXXX"}}' "https://URL_ISP:8080/remote/json.php?client_get"
It will be great if we can do extended query on all API methods
And add method to get/update Website information, mailbox information, Change password...
Maybe you can take a look on the ISPConfig API, really lot of stuff (download the zip and check into the remoting_client directory)
- https://www.ispconfig.org/ispconfig/download/Benefit:
- We can make search based on data you have on an other system like a main client database...
- Integration with existing tools
- Etc ...Thanks,
Cédric