© 2024 Clarivate
PUT /api/.../itemrecords/{id}?actiontype=specialcheckin
Update item record status with either Claim Missing Parts (21) or Unavailable (16).
Name | Type | Required | Description |
---|---|---|---|
id | Integer | Yes | The unique id assigned to the item record. |
dto | ExpandoObject | Yes | Define this parameter in the request body. |
actiontype | String | Yes | Define this parameter in the request query string to manage item record. Possible Values: specialcheckin |
Property | Type | Nullable | Description |
---|---|---|---|
ItemStatusID | Int | No | Possible values are Claim Missing Parts (21) and Unavailable (16) |
Note | String | No | Special item check-in note. |
IgnoreClaimCount | Boolean | Yes | Define this parameter in the dto to indicate whether or not to continue if patron's overall claim counts exceeds. Possible Values: "True" or "False" |
{
"Note":"Manage Missing Parts note",
"IgnoreClaimCount":false,
"ItemStatusID":21
}
Item record has been updated
{
"PAPIProcedure": 0,
"PAPIProcedureStep": 0,
"PAPIAction": 0,
"PAPIActionProcedure": 0,
"PAPIPromptType": 0,
"PAPIStopType": 0,
"PAPIReturnCode": 0,
"Success": true,
"Message": ""
}
Patron is secured
{
"PAPIProcedure": 0,
"PAPIProcedureStep": 0,
"PAPIAction": 1,
"PAPIActionProcedure": 0,
"PAPIPromptType": 1,
"PAPIStopType": 1,
"PAPIReturnCode": -3621,
"Success": false,
"Message": "You can't do this because the patron record for the last borrower of this item is secured. You can make the item Unavailable"
}
Patron has exceeded total number of claims allowed
{
"PAPIProcedure": 0,
"PAPIProcedureStep": 0,
"PAPIAction": 2,
"PAPIActionProcedure": 0,
"PAPIPromptType": 4,
"PAPIStopType": 0,
"PAPIReturnCode": -10504,
"Success": false,
"Message": "Patron has exceeded total number of claims allowed. Do you want to continue with this operation. "
}
Code | Description |
---|---|
200 | OK. Success |
400 | FAILURE. Bad request
|
403 | FAILURE. Bad request
|
404 | FAILURE. Bad request
|
409 | FAILURE. Bad request
|
Permission IDs found here.
CR_SpecialItemCheckIn_Access | |
CR_SpecialItemCheckIn_SelectUnavailable | |
CR_SpecialItemCheckIn_SelectMissingPart | |
CR_OverrideClaimedItemLimits_Allow | Required if overall claim count exceeds. |