Every time you make an API call, a server issues a status code in response to your client’s request. The class of status codes indicates whether or not the request was successful.
A status code in the range of 200 indicates the request was successfully received, understood, and accepted. If you receive a status code in a different range, it means your request was not successful. For more information about other response codes, see our developer documentation.
If you need help troubleshooting a response code, contact Dev Support for further help and include the information below.
- The endpoint and request body
Example endpointPUT /api/v2/tickets/{ticket_id}.json
Example request body
{
"ticket": {
"subject": "My printer is on fire!",
"comment": { "body": "The smoke is very colorful." },
"priority": "urgent"
}
}
The full-body response
Example full-body response
-
{"error":"RecordInvalid","description":"Record validation errors","details"
Comments
0 comments
Please sign in to leave a comment.