Success/Fail/Status Responses

  • 18 January 2017
  • 2 replies
  • 1416 views

Userlevel 1
A lot of the API calls don't return any information on if the request was successul or not. It would great to return a status code and a extended status.  The extended status might include the number of Endpoints there we affected or some other item that I can't think of now. ;)
 
Thanks!

2 replies

Userlevel 1
I'd enjoy seeing, for instance, a success response include a GetEndpointsResponseModel_Endpoint object collection when using /service/api/console/gsm/{gsmKey}/sites/{siteId}/endpoints/policy, that way I can confidently update my private cache without having to issue another API call to confirm.
 
B
Userlevel 3
Badge +9
Hi, can you provide me an example(s) of this please so I can hopefully help you with this.

Reply