DICOM PS3.18 2021c - Web Services

10.6.3 Response (Current)
Prev | 10.6 Search Transaction | Next

### 10.6.3 Response

The response shall have the following syntax:

    version SP status-code SP reason-phrase CRLF

    [Content-Type: media-type CRLF]

    [Content-Location: url CRLF]

    [(Content-Length: uint / Content-Encoding: encoding) CRLF]

    *(header-field CRLF)

    CRLF

    [payload / status-report]

#### 10.6.3.1 Status Codes

Table 10.6.3-1 shows some common status codes corresponding to this transaction. See also Section 8.5 for additional status codes.

Table 10.6.3-1. Status Code Meaning

Status | Code | Meaning
--- | --- | ---
Success | 200 (OK) | The search completed successfully, and the results are contained in the payload. If there are additional results available or there are warnings the Warning header field shall contain a URL referencing a Search Status report.
204 (No Content) | The search completed successfully, but there were zero results.
Failure | 400 (Bad Request) | The was a problem with the request. For example, the Query Parameter syntax is incorrect.
413 (Payload Too Large) | The search was too broad, and the body of the response should contain a Status Report with additional information about the failure.

Prev | Up | Next
10.6.2 Behavior | Home | 10.6.3.2 Response Header Fields

DICOM PS3.18 2021c - Web Services