v1.0
get
/ec-ors-svc/rest/v1.0/studies/{studyId}/{mode}/inventory/kit-types/location/{locationId}/pendingdestructioncount
Retrieves pending destruction counts and kit type source ID available at location. Rights: OrsInventoryGet.
Request
Path Parameters
-
locationId(required): string(uuid)
Location of the kit.Example:
b1b8327a-faa6-4122-8710-6192ab5984ef -
mode(required): string
Indicates the operational mode of the study. Accepted values: active, test, or training.Example:
test -
studyId(required): string(uuid)
Unique identifier of the study. Uses UUID in a 32-character uppercase hexadecimal string format.Example:
1BC29B36F5D64B1B95F4BDBBCEA481BE
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : PendingDestructionKitCountResponse v1.0
Type:
objectTitle:
PendingDestructionKitCountResponse v1.0Response object containing pending destruction kit counts.
Show Source
-
kitTypes: array
Kit Types Pending Destruction
Title:
Kit Types Pending DestructionList of kit types with pending destruction counts.
Nested Schema : Kit Types Pending Destruction
Type:
arrayTitle:
Kit Types Pending DestructionList of kit types with pending destruction counts.
Show Source
-
Array of:
object PendingDestructionKitCountTO v1.0
Title:
PendingDestructionKitCountTO v1.0Pending destruction kit counts by kit type.
Nested Schema : PendingDestructionKitCountTO v1.0
Type:
objectTitle:
PendingDestructionKitCountTO v1.0Pending destruction kit counts by kit type.
Show Source
-
count: number
(BigDecimal)
Title:
Pending Destruction CountNumber of kits pending destruction.Example:10 -
kitTypeSourceId: string
(uuid)
-
kitTypeSrcId: string
(uuid)
Title:
Kit Type Source IDID OF THE KIT
Examples
404 Response
Invalid study ID or version
Root Schema : ORSResponse
Type:
objectCommon response object.
Show Source
-
errorData: object
ErrorResponseData
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success -
version: integer
(int32)
Nested Schema : result
Type:
objectResult Object
Nested Schema : details
Type:
objectExamples
500 Response
Internal server error
Root Schema : ORSResponse
Type:
objectCommon response object.
Show Source
-
errorData: object
ErrorResponseData
-
result: object
result
Result Object
-
status: string
Status of requestExample:
Success -
version: integer
(int32)
Nested Schema : result
Type:
objectResult Object
Nested Schema : details
Type:
objectExamples