5.5 Web service call: GET document
The GET
command can be used by a recipient of either an anomaly report or an anomaly response message to request delivery of any supporting documents associated with the relevant anomaly report or anomaly response message.
To trigger this process, the recipient of the anomaly report or anomaly response shall call the web service with the URL provided in the anomaly report or anomaly response in the SupplementalDocument/URL
tag with a GET
command.
The web service shall return one of the following standard HTTP status codes with their standard HTTP response code semantics:
200 (OK);
204 (The server successfully processed the request but is not returning any content);
301 (Permanent redirect);
400 (Bad request);
401 (Unauthorised);
404 (Not found);
500 (Internal server error); or
503 (Service unavailable due to a temporary overloading or maintenance of the server).
Other standard HTTP status codes may be used as determined by the bilateral agreement between the sender and recipient.
If the status code sent by the web service in receipt of the GET
command is 200, the web service shall, as well as sending that status code, also return the supporting document.
If the status code sent by the web service in receipt of the GET
command is 301, the web service shall, as well as sending that status code, also return the updated URL of the location of the supporting document.