Update non-serialized kits

put

/ec-ors-svc/rest/v1.0/studies/{studyId}/{mode}/nsinventory/{nsinventoryId}

Updates inventory status, location or label of a non-serialized kit.

Request

Path Parameters
Supported Media Types
Request Body - */* ()
Root Schema : schema
Type: object
request object to update non serialized kits
Show Source
  • 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
  • Label group id
    Example: 30100000200000000000000000000005
  • Location
    Example: 30100000200000000000000000000005
  • Minimum Value: 1
    Quantity of kits in a lot
    Example: 15
  • Minimum Length: 0
    Maximum Length: 255
    Reason of update
    Example: new kits are available
Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : ORSResponse
Type: object
Common response object.
Show Source
Nested Schema : ErrorResponseData
Type: object
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : result
Type: object
Result Object
Nested Schema : Object
Type: object
Title: Object
Object with error details information.

400 Response

Invalid update request
Body ()
Root Schema : Response
Type: object
Show Source
Nested Schema : allowedMethods
Type: array
Unique Items Required: true
Show Source
Nested Schema : cookies
Type: object
Additional Properties Allowed
Show Source
Nested Schema : entity
Type: object
Nested Schema : EntityTag
Type: object
Show Source
Nested Schema : headers
Type: object
Additional Properties Allowed
Show Source Show Source
Nested Schema : language
Type: object
Show Source
Nested Schema : MediaType
Type: object
Show Source
Nested Schema : metadata
Type: object
Additional Properties Allowed
Show Source Show Source
Nested Schema : StatusType
Type: object
Show Source
Nested Schema : stringHeaders
Type: object
Additional Properties Allowed
Show Source Show Source
Nested Schema : NewCookie
Type: object
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : items
Type: object
Nested Schema : extensionKeys
Type: array
Unique Items Required: true
Show Source
Nested Schema : unicodeLocaleAttributes
Type: array
Unique Items Required: true
Show Source
Nested Schema : unicodeLocaleKeys
Type: array
Unique Items Required: true
Show Source
Nested Schema : UriBuilder
Type: object
Nested Schema : parameters
Type: object
Additional Properties Allowed
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : items
Type: object
Nested Schema : additionalProperties
Type: array
Show Source

404 Response

Invalid inventory id.
Body ()
Root Schema : ORSResponse
Type: object
Common response object.
Show Source
Nested Schema : ErrorResponseData
Type: object
Title: ErrorResponseData
Error Response Details Information
Show Source
  • Object
    Title: Object
    Object with error details information.
  • Error code which is stored in ErrorCode enum. Example : C1-003
    Example: C1-003
  • Error message which is stored in service property file. Example : Cannot modify object after a study version has been approved
    Example: Cannot modify object after a study version has been approved
Nested Schema : result
Type: object
Result Object
Nested Schema : Object
Type: object
Title: Object
Object with error details information.

500 Response

Internal server error
Body ()
Root Schema : Response
Type: object
Show Source
Nested Schema : allowedMethods
Type: array
Unique Items Required: true
Show Source
Nested Schema : cookies
Type: object
Additional Properties Allowed
Show Source
Nested Schema : entity
Type: object
Nested Schema : EntityTag
Type: object
Show Source
Nested Schema : headers
Type: object
Additional Properties Allowed
Show Source Show Source
Nested Schema : language
Type: object
Show Source
Nested Schema : MediaType
Type: object
Show Source
Nested Schema : metadata
Type: object
Additional Properties Allowed
Show Source Show Source
Nested Schema : StatusType
Type: object
Show Source
Nested Schema : stringHeaders
Type: object
Additional Properties Allowed
Show Source Show Source
Nested Schema : NewCookie
Type: object
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : items
Type: object
Nested Schema : extensionKeys
Type: array
Unique Items Required: true
Show Source
Nested Schema : unicodeLocaleAttributes
Type: array
Unique Items Required: true
Show Source
Nested Schema : unicodeLocaleKeys
Type: array
Unique Items Required: true
Show Source
Nested Schema : UriBuilder
Type: object
Nested Schema : parameters
Type: object
Additional Properties Allowed
Show Source
Nested Schema : additionalProperties
Type: array
Show Source
Nested Schema : items
Type: object
Nested Schema : additionalProperties
Type: array
Show Source
Back to Top