[Deprecated]: V6.0
get
/ec-designer-svc/rest/v6.0/studies/{studyId}/versions/{version}/visits/{visitid}/dispensings
Deprecated: Use latest version instead. Retrieves dispensing assignments for a specific visit in the specified study version. The optional kitType query parameter filters the kit categories returned. The response includes dispensing rows with kit, visit, treatment arm, quantity, do-not-dispense days, titration details, and outside-window settings.
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 -
visitid(required): string(uuid)
Visit ID (UUID, 32-character uppercase hexadecimal string). Required.Example:
9F4A6C7E1B8F4D56A23C9F3A0C7D4E77
Query Parameters
-
kitType: string
Type of kits requested: standard, titration, device, 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 ArmKitVisitDto v4.0
Title:
ArmKitVisitDto v4.0Dispensing assignment that connects a treatment arm, kit or titration group, visit, and dosing design in a study version.
Nested Schema : ArmKitVisitDto v4.0
Type:
objectTitle:
ArmKitVisitDto v4.0Dispensing assignment that connects a treatment arm, kit or titration group, visit, and dosing design 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 -
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 : titrationKits
Type:
Show Source
array-
Array of:
object ArmKitVisitTitrationDto v4.0
Title:
ArmKitVisitTitrationDto v4.0Kit included in a titration dispensing group.
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"
}