Get kits or a specific kit for a shipment
get
/ec-ors-svc/rest/v1.0/studies/{studyId}/{mode}/sites/{siteId}/shipments/{shipmentId}/kits
Retrieves either all kits or a specific kit (if kit number is provided) for a shipment. 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
Query Parameters
-
kitNumber(required): string
Kit/Lot number
-
limit: string
Maximum number of records to display per page.Default Value:
100
-
offset: string
An order number to specify with which object you want to start retrieving result. If provided, you also need to specify a value for the limit parameter. Offset is affected by the value of the order parameterDefault Value:
0
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : SiteShipmentKitsTO
Type:
Show Source
object
-
count: integer
(int64)
Total count of result
-
hasMore: boolean
Attribute describes if result set has more recordsExample:
true
-
kits: array
kits
-
limit: integer
(int64)
Maximum number of records to display per page.
-
links: array
links
-
offset: integer
(int64)
An order number to specify with which object you want to start retrieving result. If provided, you also need to specify a value for the limit parameter. Offset is affected by the value of the order parameterExample:
400
-
shipmentId: string
ID of the shipment.Example:
89EE76326E984B548D594D592E5C7FC2
-
totalResults: integer
(int64)
Total number of entities in response
Nested Schema : SiteKitTO
Type:
Show Source
object
-
barcode: string
barcode.Example:
1236
-
deviceConnection: string
Allowed Values:
[ "CloudtoCloud", "DevicetoCloud", "NoConnection" ]
Device Connection TypeExample:CloudtoCloud
-
deviceType: string
Allowed Values:
[ "ActivityWatch", "BloodPressureMonitor", "WeightScale", "ECGReader", "Spirometer", "MobileApp", "SmartPillBottle", "PulseOximeter", "WearablePatch", "Other", "GlucoseMonitor" ]
Device TypeExample:GlucoseMonitor
-
id: string
Inventory Id.Example:
B1B8327AFAA6412287106192AB5984EF
-
inventoryStatusId: integer
(int32)
Allowed Values:
[ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20" ]
Unique ID corresponding to each inventory status value (1 for Available, 2 for Damaged, 3 for Destroyed, 4 for Dispensed, 5 for Expired, 6 for Not in Use, 7 for Misallocated, 8 for Missing, 9 for In Transit, 10 for Quarantined, 11 for Pre-quarantined, 12 for Pending Destruction, 13 for Lost by Subject, 14 for Temporarily Unavailable, 15 for Damaged by Subject, 16 for New, 17 for Not Dispensed to Subject, 18 for Returned to Site, 19 for Conserved, 20 for Received for Destruction).Example:5
-
kitDescription: string
Kit DescriptionExample:
Kit A desc
-
kitNumber: integer
(int32)
Kit/Lot numberExample:
5
-
kitNumberUTF: string
Kit number in utf-8 encodingExample:
12345ab
-
kitTypeSrcId: string
Kit type Id.Example:
B1B8327AFAA6412287106192AB5984EF
-
lotId: string
Lot Id of non-serialized kitsExample:
B1B8327AFAA6412287106192AB5984EF
-
lotNumber: string
Lot number of non-serialized kitsExample:
Manufacturing lot 1
-
quantity: number
Non-serialized kit quantityExample:
1
-
trialSupplyType: string
Allowed Values:
[ "BLISTERPACK", "BOTTLE", "DEVICE", "SYRINGE", "OINTMENT", "VIAL", "INHALER", "INFUSION", "BOX", "OTHER" ]
Package TypeExample:BOTTLE
Nested Schema : RelLink
Type:
object
Object contains link detail.
Show Source
-
href: string
Realtive URL
-
rel: string
link
404 Response
'Invalid study ID', 'Study still in Draft (design phase)', 'Invalid site ID', 'Invalid shipment ID'
Root Schema : ORSResponse
Type:
object
Common response object.
Show Source
-
errorData: object
ErrorResponseData
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success
-
version: integer
(int32)
Nested Schema : result
Type:
object
Result Object
Nested Schema : details
Type:
object
500 Response
Internal server error
Root Schema : ORSResponse
Type:
object
Common response object.
Show Source
-
errorData: object
ErrorResponseData
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success
-
version: integer
(int32)
Nested Schema : result
Type:
object
Result Object
Nested Schema : details
Type:
object