DICOM PS3.18 2019b - Web Services

12.6.3 Response (Current)
Prev | 12.6 Search Transaction | Next

### 12.6.3 Response

The response shall have the following syntax:

    version SP status-code SP reason-phrase CRLF

    [Content-Type: dicom-media-type CRLF]

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

    [Content-Location: url CRLF]

    *(header-field CRLF

    CRLF

    [payload / status-report]

#### 12.6.3.1 Status Codes

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

Table 12.6.3-1. Status Code Meaning

Status | Code | Meaning
--- | --- | ---
Success | 200 (OK) | The query completed and any matching results are returned in the message body.
Failure | 400 (Bad Request) | The request message contained an error. For example, the Query Parameters were invalid
406 (Unsupported Media Type) | The origin server does not support any of the Acceptable Media Types.
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
12.6.2 Behavior | Home | 12.6.3.2 Response Header Fields

DICOM PS3.18 2019b - Web Services