Get shipment by shipment ID
get
/ec-ors-svc/rest/v2.0/studies/{studyId}/{mode}/shipments/{shipmentId}
Retrieves shipment by shipment ID. Rights: OrsInventoryGet, OrsUnblinded.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training
-
shipmentId(required): string(uuid)
ID of the shipment.
-
studyId(required): string(uuid)
ID of the study
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : ShipmentTOV2
Type:
object
Shipment details object.
Show Source
-
createdDate: string
(date-time)
Shipment creation date
-
depotId: string
(uuid)
Depot Id
-
depotName: string
Name of the depot.Example:
Depot Houston
-
depotShortName: string
Depot Id.Example:
dpt_hstn
-
reconciliation: boolean
Indicate if kit reconciliation is there.Example:
true
-
reportId: string
(uuid)
Report Id
-
shipDate: string
(date-time)
Ship date.
-
shipmentId: string
ID of the shipment.Example:
B1B8327AFAA6412287106192AB5984EF
-
shipmentNumber: string
Shipment number.Example:
123
-
siteId: string
(uuid)
ID of the site
-
siteName: string
Name of the site.Example:
Site Houston
-
siteShortName: string
Site Id.Example:
st_hstn
-
statusId: integer
(int32)
Shipment status Id.Example:
5
-
trackingNumber: string
Shipment tracking number.Example:
12345
-
trackingNumberURL: string
Tracking url.Example:
http://www.site.com
404 Response
'Invalid study ID', 'Study still in design phase' or 'Invalid shipment ID'
Root Schema : DesignerResponse
Type:
Show Source
object
-
errorData: object
ErrorResponseData
Title:
ErrorResponseData
Error Response Details Information -
result: object
result
-
status: string
-
version: integer
(int32)
Nested Schema : ErrorResponseData
Type:
object
Title:
ErrorResponseData
Error Response Details Information
Show Source
-
details: object
Object
Title:
Object
Object with error details information. -
errorCode: string
Error code which is stored in ErrorCode enum. Example : C1-003Example:
C1-003
-
errorMessage: string
Error message which is stored in service property file. Example : Cannot modify object after a study version has been approvedExample:
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.
500 Response
Internal server error
Root Schema : DesignerResponse
Type:
Show Source
object
-
errorData: object
ErrorResponseData
Title:
ErrorResponseData
Error Response Details Information -
result: object
result
-
status: string
-
version: integer
(int32)
Nested Schema : ErrorResponseData
Type:
object
Title:
ErrorResponseData
Error Response Details Information
Show Source
-
details: object
Object
Title:
Object
Object with error details information. -
errorCode: string
Error code which is stored in ErrorCode enum. Example : C1-003Example:
C1-003
-
errorMessage: string
Error message which is stored in service property file. Example : Cannot modify object after a study version has been approvedExample:
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.