Healthxchange Pharmacy (UK) Limited (TRAINING) - Intact iQ API
Error Handling

The API uses standard HTTP response code to indicate failures

Code Status Description
200 Success The selected method has succeeded. Additional information can be returned in the body of the response. The response will be in JSON format
400 Bad Request This indicates incorrect parameters were specified in the url or in the body of the request
403 Forbidden Usually occurs when the api key is not specified in the authorization section of the header or the api key has been deactivated
406 Not acceptable When a PUT or POST fails to write to the queue this message can occur. Please report this to us with any additional content.
412 Pre-condition failed A common cause of this exception is trying to cancel or update a queue entry on the queue service when it was not created by the same api key or the queue entry has already been processed.
500 Internal Server Error This means an internal exception has occured in the service, perhaps due to a failure parsing the request. This should be reported to us.
501 Not implemented This message is typically seen when you attempt to execute a method (GET, PUT, POST, DELETE) that is not supported on a particular service. Look at the service's documentation to see what methods are supported.