v1.0

get

/ec-ors-svc/rest/v1.0/studies/{studyId}/{mode}/kit-types

Retrieves kit types by study ID. Rights: OrsInventoryGet.

Request

Path Parameters
  • 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:
    8ECE2C9D389645B09740DC7926DEFB69

There's no request body for this operation.

Back to Top

Response

Supported Media Types

204 Response

Successful operation
Body ()
Root Schema : KitTypesResponse
Type: object
Title: KitTypesResponse
Response object containing kit types.
Show Source
Nested Schema : Result
Type: array
Title: Result
List of kit types.
Show Source
Example:
[
    {
        "id":"B1B8327AFAA6412287106192AB5984EF",
        "kitTypeName":"Kit A",
        "description":"Non-Dosing",
        "packageTypeId":5
    }
]
Nested Schema : KitTypesTO
Type: object
Contains details about kit types.
Show Source
Example:
{
    "id":"B1B8327AFAA6412287106192AB5984EF",
    "kitTypeName":"Kit A",
    "description":"Non-Dosing",
    "packageTypeId":5
}

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.
Back to Top