© 2024 Clarivate
PUT /api/.../orsmanager/nextservicedate
Updates patrons last service date and returns list of objects with patron id, next service date and information if the update is successful.
Permission IDs found here.
Name |
---|
OutreachServicesManager_Access |
Name | Type | Required | Description |
---|---|---|---|
patronData | DtoORSManagerLastSVCDateInfo | Yes | Define this parameter in the request body. |
Property | Type | Nullable | Description |
---|---|---|---|
PatronRecordIDs | List of integer | No | Required. List of Patron record IDs. Unique identifier for each patron to update. |
LastServiceDate | DateTime | No | Required. Date to update each patron's last service date. |
{
"PatronRecordIDs": [356950,12],
"LastServiceDate": "2020-02-28"
}
[
{
"PatronID": 356950,
"NextServiceDate": "2020-02-29T23:59:59-05:00",
"IsUpdated": true
},
{
"PatronID": 12,
"NextServiceDate": null,
"IsUpdated": false
}
]
Code | Description |
---|---|
200 | OK. Success |
400 |
FAILURE. Bad request
|
403 | FAILURE. User or workstation is not privileged. |