[Deprecated]: V2.0

get

/ec-designer-svc/rest/v2.0/studies/{studyId}/versions/{version}/dispensings

Deprecated: Use latest version instead. Retrieves dispensing visit assignments for the specified study version.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : RespArmKitVisitDto v2.0
Type: object
Title: RespArmKitVisitDto v2.0
Dispensing assignment returned for a treatment arm in a study version.
Show Source
  • Treatment arm ID (UUID, 32-character uppercase hexadecimal string). Required when the visit uses treatment-arm specific dispensing; otherwise optional.
    Example: B1B8327AFAA6412287106192AB5984EF
  • Indicates whether the kit can be dispensed outside the visit schedule window. Required for create/update.
    Example: true
  • Number of days before kit expiration when the kit can no longer be dispensed. Required for create/update; valid range is 0 to 9999.
    Example: 5
  • Dosing ID associated with the dispensing assignment (UUID, 32-character uppercase hexadecimal string). Required only for kits that calculate doses; otherwise omit.
    Example: F5F8327AFAA6412287106192AB5984EF
  • errorParamList
  • Dispensing assignment ID (UUID, 32-character uppercase hexadecimal string).
    Example: E4E8327AFAA6412287106192AB5984EF
  • Kit ID (UUID, 32-character uppercase hexadecimal string). Required.
    Example: C2C8327AFAA6412287106192AB5984EF
  • Number of kits or dose quantity to dispense at the visit. Required for create/update; use -1 to remove an existing assignment.
    Example: 1
  • Visit ID (UUID, 32-character uppercase hexadecimal string). Required.
    Example: D3D8327AFAA6412287106192AB5984EF
Example:
{
    "kitid":"C2C8327AFAA6412287106192AB5984EF",
    "armid":"B1B8327AFAA6412287106192AB5984EF",
    "visitid":"D3D8327AFAA6412287106192AB5984EF",
    "dosingId":"F5F8327AFAA6412287106192AB5984EF",
    "quantity":1,
    "dnd":5,
    "dispenseoutsidewindow":true,
    "id":"E4E8327AFAA6412287106192AB5984EF"
}
Nested Schema : errorParamList
Type: array
Show Source
Nested Schema : RespErrParamListDto v1.0
Type: object
Title: RespErrParamListDto v1.0
Validation error parameters returned with an API response.
Show Source
Example:
{
    "errorParamList":[
        {
            "key":"C2C8327AFAA6412287106192AB5984EF",
            "type":"Visit",
            "id":"D3D8327AFAA6412287106192AB5984EF",
            "name":"Week 5"
        }
    ]
}
Nested Schema : ErrorParam
Type: array
Show Source
Nested Schema : ErrorParam
Type: object
Title: ErrorParam
Validation parameter that identifies an object related to an API validation error.
Show Source
  • Related object ID (UUID, 32-character uppercase hexadecimal string).
  • Related object key (UUID, 32-character uppercase hexadecimal string).
  • Display name of the object related to the validation error.
    Example: Week 5
  • Type of object related to the validation error.
    Example: Visit
Example:
{
    "key":"C2C8327AFAA6412287106192AB5984EF",
    "type":"Visit",
    "id":"D3D8327AFAA6412287106192AB5984EF",
    "name":"Week 5"
}
Examples

500 Response

Returned when the request cannot be completed due to validation failure, authorization failure, or an unexpected server-side condition.
Body ()
Root 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 : Object
Type: object
Title: Object
Object with error details information.
Example:
{
    "field":"studyId",
    "reason":"Invalid value"
}
Back to Top