v3.0

get

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

Searches for shipments associated with a site by site ID. This version includes a new field in the response: formInstanceId.
Rights: OrsSupplyManagerGet and OrsBlinded.

Request

Path Parameters
  • Indicates the operational mode of the study. Accepted values: active, test, or training.
    Example:
    test
  • Unique identifier of the site. Uses UUID in a 32-character uppercase hexadecimal string format.
    Example:
    9B83BFB48C5A41C59775E4D8D22D8B26
  • Unique identifier of the study. Uses UUID in a 32-character uppercase hexadecimal string format.
    Example:
    1BC29B36F5D64B1B95F4BDBBCEA481BE
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
Title: Shipments
Shipments list.
Show Source
Example:
[
    {
        "shipmentId":"B1B8327AFAA6412287106192AB5984EF",
        "siteId":"C36A3197FDEE433FB5547EE83DE99E4B",
        "siteName":"Site Houston",
        "shipmentNumber":"123",
        "statusId":5
    }
]
Nested Schema : ShipmentTO
Type: object
Title: ShipmentTO
Shipment details including site, depot, status, dates, and tracking info.
Show Source
Example:
{
    "shipmentId":"B1B8327AFAA6412287106192AB5984EF",
    "siteId":"C36A3197FDEE433FB5547EE83DE99E4B",
    "siteName":"Site Houston",
    "shipmentNumber":"123",
    "statusId":5
}
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
Show Source
Nested Schema : result
Type: object
Nested Schema : details
Type: object
Examples

500 Response

Internal server error
Body ()
Root Schema : DesignerResponse
Type: object
Show Source
Nested Schema : ErrorResponseData
Type: object
Show Source
Nested Schema : result
Type: object
Nested Schema : details
Type: object
Examples

Back to Top