V10.0
delete
/ec-designer-ors-svc/rest/v10.0/studies/{studyId}/versions/{version}/kits/{kitId}
Removes a kit type from a study.
Request
Path Parameters
-
kitId(required): string(uuid)
The Kit ID
-
studyId(required): string(uuid)
Study unique identifier.
-
version(required): string
Study version identifier.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Kit was deleted successfully for the requested study version.
Root Schema : Kits Delete Response v10.0
Type:
objectTitle:
Kits Delete Response v10.0Designer response envelope returned by DELETE kit.
Show Source
-
errorData: object
Kits GET Error
Title:
Kits GET ErrorError payload returned inside the Designer response envelope. -
result: string
Minimum Length:
1Maximum Length:255Deletion status message returned by the service.Example:Kit deleted successfully. -
status: string
Minimum Length:
1Maximum Length:32Allowed Values:[ "success" ]Envelope status returned by this endpoint. Allowed value: `success`, which indicates the Designer response wrapper was created successfully for this request.Example:success -
version: integer
(int32)
Minimum Value:
1Envelope version for the shared Designer response wrapper.Example:1
Nested Schema : Kits GET Error
Type:
objectTitle:
Kits GET ErrorError payload returned inside the Designer response envelope.
Show Source
-
details: object
Kits GET Error Details
Title:
Kits GET Error DetailsRequest values echoed back in the error payload for troubleshooting. -
errorCode: string
Minimum Length:
1Maximum Length:32Application error code.Example:C1-500 -
errorMessage: string
Minimum Length:
1Maximum Length:1024Human-readable explanation of the failure.Example:Unable to retrieve kits for the requested study version.
Example:
{
"errorCode":"C1-500",
"errorMessage":"Unable to retrieve kits for the requested study version.",
"details":{
"studyId":"CF1E6500073D4AD298F4DA93DA670786",
"version":"1.0.0.1",
"kitType":"ALL",
"kitTypeExclude":false
}
}Nested Schema : Kits GET Error Details
Type:
objectTitle:
Kits GET Error DetailsRequest values echoed back in the error payload for troubleshooting.
Show Source
-
kitType: string
Minimum Length:
3Maximum Length:21Allowed Values:[ "ALL", "STANDARD", "TITRATION", "DEVICE", "advancedDispensation" ]Kit type filter from the request. Allowed values: `ALL` for every kit type, `STANDARD` for standard kits, `TITRATION` for titration kits, `DEVICE` for device kits, and `advancedDispensation` for advanced dispensation kits.Example:ALL -
kitTypeExclude: boolean
Whether the request excluded the selected kit type instead of including it.Example:
false -
studyId: string
(uuid)
Minimum Length:
32Maximum Length:32Study identifier from the request. -
version: string
Minimum Length:
1Maximum Length:32Study version from the request.Example:1.0.0.1
Example:
{
"studyId":"CF1E6500073D4AD298F4DA93DA670786",
"version":"1.0.0.1",
"kitType":"ALL",
"kitTypeExclude":false
}Examples
500 Response
Returned when the service cannot delete the requested kit for the supplied study version because of an unexpected server-side failure.
Nested Schema : details
Type:
object