v1.0

get

/ec-ors-svc/rest/v1.0/studies/{studyId}/{mode}/depots/{depotId}/inventory/kits

Retrieves a list of inventories based on the filters passed in the request. Rights: ORSBlindedDepotGet, returns list of inventories at the depot for the passed filters.

Request

Path Parameters
  • Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the clinical depot
    Example:
    C36A3197FDEE433FB5547EE83DE99E4B
  • Indicates the operational mode of the study. Accepted values: active, test, or training.
    Example:
    test
  • 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 : DepotKitDetailsResponse v1.0
Type: object
Title: DepotKitDetailsResponse v1.0
Contains depot kit details.
Show Source
Nested Schema : Inventory Status IDs
Type: array
Title: Inventory Status IDs
Inventory status IDs.
Allowed Values: [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20" ]
Show Source
Example:
5,4
Nested Schema : Kits
Type: array
Title: Kits
Depot user kit reconciliation details.
Show Source
Example:
[
    {
        "id":"B1B8327AFAA6412287106192AB5984EF",
        "kitNumberUTF":"10001",
        "sequenceNumber":1,
        "blockNumber":"BLK-001",
        "inventoryStatusId":5,
        "inventoryStatus":"Available",
        "unitsPerKit":30,
        "kitDescription":"Bottle of tablets",
        "distributionSetting":"BLINDED",
        "barCode":"BAR-10001",
        "blindedLotExpirationDate":"2026-12-31T00:00:00Z"
    }
]
Nested Schema : DepotUserKitReconciliationTO v1.0
Type: object
Title: DepotUserKitReconciliationTO v1.0
Depot user kit reconciliation details.
Show Source
  • Barcode.
    Example: BarCode
  • Blinded lot expiration date.
    Example: 2026-12-31T00:00:00Z
  • Title: Block Number
    Block number.
    Example: BLK-001
  • Allowed Values: [ "BLINDED", "UNBLINDED" ]
    Distribution setting
    Example: BLINDED
  • Inventory ID.
    Example: B1B8327AFAA6412287106192AB5984EF
  • Allowed Values: [ "Available", " Damaged", " Destroyed", " Dispensed", " Expired", " Not in Use", " Misallocated", " Missing", " In Transit", " Quarantined", " Pre-quarantined", " Pending Destruction", " Lost by Subject", " Temporarily Unavailable", " Damaged by Subject", " New", " Not Dispensed to Subject", " Returned to Site" ]
    Name of the inventory status.
    Example: New, Damaged
  • 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
  • Kit description.
    Example: Bottle of tablets
  • Title: Kit Number UTF
    Kit number with UTF-8 support.
    Example: 5
  • Sequence number.
    Example: 1
  • Units per kit.
    Example: 30
Example:
{
    "id":"B1B8327AFAA6412287106192AB5984EF",
    "kitNumberUTF":"10001",
    "sequenceNumber":1,
    "blockNumber":"BLK-001",
    "inventoryStatusId":5,
    "inventoryStatus":"Available",
    "unitsPerKit":30,
    "kitDescription":"Bottle of tablets",
    "distributionSetting":"BLINDED",
    "barCode":"BAR-10001",
    "blindedLotExpirationDate":"2026-12-31T00:00:00Z"
}
Examples

400 Response

For invalid kit range format
Body ()
Root Schema : ORSResponse
Type: object
Common response 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
Result Object
Nested Schema : Object
Type: object
Title: Object
Object with error details information.
Examples

404 Response

For invalid study ID OR study still in design phase OR invalid depot ID OR invalid subject ID
Body ()
Root Schema : ORSResponse
Type: object
Common response 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
Result Object
Nested Schema : Object
Type: object
Title: Object
Object with error details information.
Examples

500 Response

Internal server error
Body ()
Root Schema : ORSResponse
Type: object
Common response 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
Result Object
Nested Schema : Object
Type: object
Title: Object
Object with error details information.
Examples

Back to Top