The response shall have the following syntax:
version SP status-code SP reason-phrase CRLF
*(header-field CRLF)
CRLF
[payload]
Table 15.4.3-1 shows some common status codes corresponding to this Transaction. See also Section 8.5 for additional status codes.
Table 15.4.3-1. Status Code Meaning
|
Status
|
Code
|
Meaning
|
|
Success
|
201 (Created)
|
The origin server has created the requested Modality Performed Procedure Step with the provided attributes.
|
|
Failure
|
400 (Bad Request)
|
The origin server cannot handle the create request because of errors in the request headers or parameters.
|
|
409 (Conflict)
|
The origin server cannot create the target Modality Performed Procedure Step because the provided Modality Performed Procedure Step UID is already in use.
|
|
503 (Service Unavailable)
|
The origin server cannot handle the creation of the Modality Performed Procedure Step; this may be a temporal or permanent state.
|