Get a shipment's details by ID for a site
get
/ec-ors-svc/rest/v2.0/studies/{studyId}/{mode}/sites/{siteId}/shipments/{shipmentId}
Retrieves a shipments' details by ID for a site. Rights: OrsSupplyManagerGet and OrsBlinded.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training
-
shipmentId(required): string(uuid)
ID of the shipment.
-
siteId(required): string(uuid)
ID of the site
-
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 : SiteUserShipmentTOV2
Type:
object
Response object containing details about shipment at a site.
Show Source
-
availableCount: integer
(int64)
Available kits count.Example:
5
-
createdDate: string
(date-time)
Shipment creation date
-
damagedCount: integer
(int64)
Damaged kits count.Example:
5
-
depotId: string
(uuid)
Depot Id
-
depotName: string
Name of the depot.Example:
Depot Houston
-
depotShortName: string
Short identifier for the depot, such as a number.Example:
123
-
inTransitCount: integer
(int64)
In transit kits count.Example:
5
-
missingCount: integer
(int64)
Missing kits count.Example:
5
-
preQuarantinedCount: integer
(int64)
Pre quarantined kits count.Example:
5
-
reconciliation: boolean
Indicate if kit reconciliation is there.Example:
true
-
reportId: string
Report Id.Example:
B1B8327AFAA6412287106192AB5984EF
-
shipDate: string
(date-time)
Ship date.
-
shipmentId: string
ID of the shipment.Example:
123
-
shipmentNumber: string
Shipment number.Example:
123
-
siteId: string
(uuid)
ID of the site
-
siteName: string
Name of the site.Example:
Site Houston
-
siteShortName: string
Short identifier for the site, such as a number.Example:
12
-
statusDate: string
(date-time)
Status date.
-
statusId: number
(Integer)
Shipment status Id.Example:
5
-
trackingNumber: string
Shipment tracking number.Example:
12345
-
trackingNumberURL: string
Shipment tracking url.Example:
http://www.site.com
404 Response
'Invalid study ID', 'Study still in Draft (design phase)', 'Invalid site ID', '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.