v1.0
put
/ec-ors-svc/rest/v1.0/studies/{studyId}/{mode}/nsinventory
Updates inventory status, location or label of multiple non-serialized kits.
Request
Path Parameters
-
mode(required): string
Mode of the study, accepts: test, active, or training.
-
studyId(required): string(uuid)
Unique identifier (UUID, 32-character uppercase hexadecimal string) representing the study.
Supported Media Types
- */*
Root Schema : NsKitFiltersUpdateRequest v1.0
Type:
objectTitle:
NsKitFiltersUpdateRequest v1.0Request to update non-serialized kits using filters or explicit kit IDs.
Show Source
-
inventoryStatusId: number
Allowed Values:
[ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 ]Unique ID corresponding to each inventory status value (1 for Available, 2 for Damaged, 3 for Destroyed, 4 for Dispensed, 5 for Expired, 6 for Not in Use, 7 for Misallocated, 8 for Missing, 9 for In Transit, 10 for Quarantined, 11 for Pre-quarantined, 12 for Pending Destruction, 13 for Lost by Subject, 14 for Temporarily Unavailable, 15 for Damaged by Subject, 16 for New, 17 for Not Dispensed to Subject, 18 for Returned to Site, 19 for Conserved, 20 for Received for Destruction).Example:10 -
kitFilters: object
NsKitFilters v1.0
Title:
NsKitFilters v1.0Filter criteria for non-serialized kits. -
kits: array
Kits
Title:
KitsList of kit IDs. -
labelGroupId: string
Label group ID.Example:
30100000200000000000000000000005 -
location: string
Location.Example:
30100000200000000000000000000005 -
objectVersionNumber: number
Title:
Object Version NumberObject version number used for concurrency control. -
quantity(required): number
Title:
QuantityMinimum Value:1Kit quantity.Example:15 -
reason: string
Title:
ReasonMinimum Length:0Maximum Length:255Reason.Example:new kits are available
Nested Schema : NsKitFilters v1.0
Type:
objectTitle:
NsKitFilters v1.0Filter criteria for non-serialized kits.
Show Source
-
kitStatus: integer
(int32)
Allowed Values:
[ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 ]Kit status ID.Example:10 -
kitTypeIds(required): array
kitTypeIds
Kit Type IDs.
-
labelGroupId: string
Label group ID.Example:
30100000200000000000000000000005 -
location: string
Location.Example:
30100000200000000000000000000005 or ALL_SITES or ALL_DEPOTS -
lotId: string
(uuid)
Title:
Lot IDLot ID.
Response
Supported Media Types
- application/json
200 Response
Successful operation
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:
object400 Response
Invalid update request
Root Schema : Response
Type:
Show Source
object-
allowedMethods: array
allowedMethods
Unique Items Required:
true -
closed: boolean
-
cookies: object
cookies
Additional Properties Allowed: NewCookie
-
date: string
(date-time)
-
entity: object
entity
-
entityTag: object
EntityTag
-
headers: object
headers
Additional Properties Allowed: additionalProperties
-
language: object
language
-
lastModified: string
(date-time)
-
length: integer
(int32)
-
links: array
links
Unique Items Required:
true -
location: string
(uri)
-
mediaType: object
MediaType
-
metadata: object
metadata
Additional Properties Allowed: additionalProperties
-
status: integer
(int32)
-
statusInfo: object
StatusType
-
stringHeaders: object
stringHeaders
Additional Properties Allowed: additionalProperties
Nested Schema : entity
Type:
objectNested Schema : language
Type:
Show Source
object-
country: string
-
displayCountry: string
-
displayLanguage: string
-
displayName: string
-
displayScript: string
-
displayVariant: string
-
extensionKeys: array
extensionKeys
Unique Items Required:
true -
iso3Country: string
-
iso3Language: string
-
language: string
-
script: string
-
unicodeLocaleAttributes: array
unicodeLocaleAttributes
Unique Items Required:
true -
unicodeLocaleKeys: array
unicodeLocaleKeys
Unique Items Required:
true -
variant: string
Nested Schema : MediaType
Type:
Show Source
object-
parameters: object
parameters
Additional Properties Allowed: additionalProperties
-
subtype: string
-
type: string
-
wildcardSubtype: boolean
-
wildcardType: boolean
Nested Schema : StatusType
Type:
Show Source
object-
family: string
Allowed Values:
[ "INFORMATIONAL", "SUCCESSFUL", "REDIRECTION", "CLIENT_ERROR", "SERVER_ERROR", "OTHER" ] -
reasonPhrase: string
-
statusCode: integer
(int32)
Nested Schema : NewCookie
Type:
Show Source
object-
comment: string
-
domain: string
-
expiry: string
(date-time)
-
httpOnly: boolean
-
maxAge: integer
(int32)
-
name: string
-
path: string
-
sameSite: string
Allowed Values:
[ "NONE", "LAX", "STRICT" ] -
secure: boolean
-
value: string
-
version: integer
(int32)
Nested Schema : items
Type:
objectNested Schema : Link
Type:
Show Source
object-
params: object
params
Additional Properties Allowed: additionalProperties
-
rel: string
-
rels: array
rels
-
title: string
-
type: string
-
uri: string
(uri)
-
uriBuilder: object
UriBuilder
Nested Schema : UriBuilder
Type:
objectNested Schema : items
Type:
object500 Response
Internal server error
Root Schema : Response
Type:
Show Source
object-
allowedMethods: array
allowedMethods
Unique Items Required:
true -
closed: boolean
-
cookies: object
cookies
Additional Properties Allowed: NewCookie
-
date: string
(date-time)
-
entity: object
entity
-
entityTag: object
EntityTag
-
headers: object
headers
Additional Properties Allowed: additionalProperties
-
language: object
language
-
lastModified: string
(date-time)
-
length: integer
(int32)
-
links: array
links
Unique Items Required:
true -
location: string
(uri)
-
mediaType: object
MediaType
-
metadata: object
metadata
Additional Properties Allowed: additionalProperties
-
status: integer
(int32)
-
statusInfo: object
StatusType
-
stringHeaders: object
stringHeaders
Additional Properties Allowed: additionalProperties
Nested Schema : entity
Type:
objectNested Schema : language
Type:
Show Source
object-
country: string
-
displayCountry: string
-
displayLanguage: string
-
displayName: string
-
displayScript: string
-
displayVariant: string
-
extensionKeys: array
extensionKeys
Unique Items Required:
true -
iso3Country: string
-
iso3Language: string
-
language: string
-
script: string
-
unicodeLocaleAttributes: array
unicodeLocaleAttributes
Unique Items Required:
true -
unicodeLocaleKeys: array
unicodeLocaleKeys
Unique Items Required:
true -
variant: string
Nested Schema : MediaType
Type:
Show Source
object-
parameters: object
parameters
Additional Properties Allowed: additionalProperties
-
subtype: string
-
type: string
-
wildcardSubtype: boolean
-
wildcardType: boolean
Nested Schema : StatusType
Type:
Show Source
object-
family: string
Allowed Values:
[ "INFORMATIONAL", "SUCCESSFUL", "REDIRECTION", "CLIENT_ERROR", "SERVER_ERROR", "OTHER" ] -
reasonPhrase: string
-
statusCode: integer
(int32)
Nested Schema : NewCookie
Type:
Show Source
object-
comment: string
-
domain: string
-
expiry: string
(date-time)
-
httpOnly: boolean
-
maxAge: integer
(int32)
-
name: string
-
path: string
-
sameSite: string
Allowed Values:
[ "NONE", "LAX", "STRICT" ] -
secure: boolean
-
value: string
-
version: integer
(int32)
Nested Schema : items
Type:
objectNested Schema : Link
Type:
Show Source
object-
params: object
params
Additional Properties Allowed: additionalProperties
-
rel: string
-
rels: array
rels
-
title: string
-
type: string
-
uri: string
(uri)
-
uriBuilder: object
UriBuilder
Nested Schema : UriBuilder
Type:
objectNested Schema : items
Type:
object