Responses Results
Responses sent from Yeastar S-Series VoIP PBX are in the format of JSON.
Success response example
Every successful response has a "Success" status. For some API responses, the relevant response parameters will be displayed. The HTTP status code for a success response is 200 OK.
HTTP/1.1 200 OK { "status": "Success" }
Error response example
Every error response has a "Failed" status and an error code. The HTTP status code for an error response is 200 OK.
You can fix the exception according to the Error Code and try the request again.
HTTP/1.1 200 OK { "status": "Failed", "errno": "10003" }