v4.0

get

/ec-ors-svc/rest/v4.0/studies/{studyId}/{mode}/sites/{siteId}/shipments

Searches for shipments associated with a site by site ID. This version includes a new fields in the response: shipmentRegisteredDate, shipmentReceivedDate.
Rights: OrsSupplyManagerGet and OrsBlinded.

Request

Path Parameters
Query Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : ViewShipmentResponse
Type: object
Title: ViewShipmentResponse
Contains shipments search result.
Show Source
Nested Schema : shipments
Type: array
Show Source
Nested Schema : ShipmentTO v4.0
Type: object
Title: ShipmentTO v4.0
Shipment details including depot registration and site receipt timestamps.
Show Source
Examples

404 Response

'Invalid study ID', 'Study still in Draft (design phase)', 'Invalid site ID'
Body ()
Root Schema : DesignerResponse
Type: object
Show Source
Nested Schema : ErrorResponseData
Type: object
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : result
Type: object
Nested Schema : Object
Type: object
Title: Object
Object with error details information.
Examples

500 Response

Internal server error
Body ()
Root Schema : DesignerResponse
Type: object
Show Source
Nested Schema : ErrorResponseData
Type: object
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : result
Type: object
Nested Schema : Object
Type: object
Title: Object
Object with error details information.
Examples

Back to Top