DICOM PS3.18 2019a - Web Services

6.10.3.4.3 Response (Current)
Prev | 6.10.3.4 Search Transaction | Next

##### 6.10.3.4.3 Response

A success response shall have a status code of 200 (OK) and a payload containing the search results in the Selected Media Type.

A failure response shall contain a Status Report describing the error(s) encountered.

###### 6.10.3.4.3.1 Status Codes

The response shall have an appropriate status code. Table 6.10.3.4.3.1-1 contains the most common status codes for this transaction.

Table 6.10.3.4.3.1-1. Common Status Codes

Status Code | Description
--- | ---
200 (OK) | Indicates that the origin server found and returned at least one resource matching the request.
400 (Bad Request) | Indicates that the origin server did not return any search results because of errors in the request message.
404 (Not Found) | Indicates that the origin server did not find any resources matching the request, or is not willing to disclose that any exist.
406 (Unsupported Media Type) | Indicates that the origin server does not support any of the Acceptable Media Types.
409 (Conflict) | Indicates that the request could not be completed due to a conflict with the current state of the target resource.

###### 6.10.3.4.3.2 Response Header Fields

Table :

Table 6.10.3.15. Search Response Header Fields

Header Field | Value | Usage | Requirement
--- | --- | --- | ---
Content-Type | dicom-media-type | M |
Content-Length | uint | C | Shall be present if no transfer coding has been applied. Shall be absent otherwise.
Transfer-Encoding | encoding | C | Shall be present if a transfer coding has been applied. Shall be absent otherwise.

###### 6.10.3.4.3.3 Response Payload

A success response payload shall contain Search results.

A failure response payload shall contain a Status Report describing any failures, warnings or other useful information.

Prev | Up | Next
6.10.3.4.2 Behavior | Home | 6.10.4 Media Types

DICOM PS3.18 2019a - Web Services