[Deprecated]: V4.0
get
/ec-designer-svc/rest/v4.0/studies/{studyId}/versions/{version}/dispensings
Deprecated: Use latest version instead. Retrieves dispensing visit assignments for the specified study version. The optional kitType query parameter filters the kit categories returned. The response includes rows with the kit, visit, treatment arm, quantity, do-not-dispense days, titration details, and whether dispensing outside the visit window is allowed.
Request
Path Parameters
-
studyId(required): string(uuid)
Study ID (UUID, 32-character uppercase hexadecimal string). Required.Example:
F054C951EB74443C93716CA714AB686E -
version(required): string
Study version path segment. Required. Example: "1.0.0.1".Example:
1.0.0.1
Query Parameters
-
kitType: string
Type of kits requested: standard, titration, or all. Optional.Default Value:
ALLExample:ALL
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation.
Root Schema : schema
Type:
Show Source
array-
Array of:
object RespArmKitVisitDto v4.0
Title:
RespArmKitVisitDto v4.0Dispensing assignment returned for a treatment arm in a study version.
Nested Schema : RespArmKitVisitDto v4.0
Type:
objectTitle:
RespArmKitVisitDto v4.0Dispensing assignment returned for a treatment arm in a study version.
Show Source
-
allowTitration: boolean
Indicates whether titration is allowed for this dispensing assignment. Optional.Example:
false -
armid: string
Treatment arm ID (UUID, 32-character uppercase hexadecimal string). Required when the visit uses treatment-arm specific dispensing; otherwise optional.Example:
B1B8327AFAA6412287106192AB5984EF -
dispenseoutsidewindow: boolean
Indicates whether the kit can be dispensed outside the visit schedule window. Required for create/update.Example:
true -
dnd: integer
(int64)
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 -
dosingId: string
Dosing ID associated with the dispensing assignment (UUID, 32-character uppercase hexadecimal string). Required only for kits that calculate doses; omit for titration groups.Example:
F5F8327AFAA6412287106192AB5984EF -
errorParamList: array
errorParamList
-
id: string
Dispensing assignment ID (UUID, 32-character uppercase hexadecimal string).Example:
E4E8327AFAA6412287106192AB5984EF -
kitid: string
Kit or titration group ID (UUID, 32-character uppercase hexadecimal string). Required.Example:
C2C8327AFAA6412287106192AB5984EF -
quantity: integer
(int64)
Number of kits or dose quantity to dispense at the visit. Required for standard kit create/update; use -1 to remove an existing assignment. Omit for titration group assignments.Example:
1 -
titrationKits: array
titrationKits
-
visitid: string
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,
"allowTitration":false,
"id":"E4E8327AFAA6412287106192AB5984EF"
}Nested Schema : errorParamList
Type:
Show Source
array-
Array of:
object RespErrParamListDto v1.0
Title:
RespErrParamListDto v1.0Validation error parameters returned with an API response.
Nested Schema : titrationKits
Type:
Show Source
array-
Array of:
object ArmKitVisitTitrationDto v4.0
Title:
ArmKitVisitTitrationDto v4.0Kit included in a titration dispensing group.
Nested Schema : RespErrParamListDto v1.0
Type:
objectTitle:
RespErrParamListDto v1.0Validation error parameters returned with an API response.
Show Source
Example:
{
"errorParamList":[
{
"key":"C2C8327AFAA6412287106192AB5984EF",
"type":"Visit",
"id":"D3D8327AFAA6412287106192AB5984EF",
"name":"Week 5"
}
]
}Nested Schema : ErrorParam
Type:
Show Source
array-
Array of:
object ErrorParam
Title:
ErrorParamValidation parameter that identifies an object related to an API validation error.
Nested Schema : ErrorParam
Type:
objectTitle:
ErrorParamValidation parameter that identifies an object related to an API validation error.
Show Source
-
id: string
(uuid)
Related object ID (UUID, 32-character uppercase hexadecimal string).
-
key: string
(uuid)
Related object key (UUID, 32-character uppercase hexadecimal string).
-
name: string
Display name of the object related to the validation error.Example:
Week 5 -
type: string
Type of object related to the validation error.Example:
Visit
Example:
{
"key":"C2C8327AFAA6412287106192AB5984EF",
"type":"Visit",
"id":"D3D8327AFAA6412287106192AB5984EF",
"name":"Week 5"
}Nested Schema : ArmKitVisitTitrationDto v4.0
Type:
objectTitle:
ArmKitVisitTitrationDto v4.0Kit included in a titration dispensing group.
Show Source
-
kitId: string
Kit ID (UUID, 32-character uppercase hexadecimal string). Required for each titration kit entry.Example:
C2C8327AFAA6412287106192AB5984EF -
kitQuantity: integer
(int64)
Number of kits from this kit type to dispense. Required for each titration kit entry.Example:
1 -
kitTypeId: string
Kit type identifier shown for the titration kit. Optional.Example:
KIT_A_20MG
Example:
{
"kitId":"C2C8327AFAA6412287106192AB5984EF",
"kitTypeId":"KIT_A_20MG",
"kitQuantity":1
}Examples
500 Response
Returned when the request cannot be completed due to validation failure, authorization failure, or an unexpected server-side condition.
Root Schema : ErrorResponseData
Type:
objectTitle:
ErrorResponseDataError Response Details Information
Show Source
-
details: object
Object
Title:
ObjectObject 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 : Object
Type:
objectTitle:
ObjectObject with error details information.
Example:
{
"field":"studyId",
"reason":"Invalid value"
}