Update Outreach Patron Last Service Date

Update Last Service Date

PATCH /api/.../patrons/{id}/readerservices

Update out reach patron last service date.

Required Permissions

Permission IDs found here.

Name
AccessPatronServices_Allow
PatronStatus_Access
PatronStatus_DisplayReaderServices
PatronStatus_ModifyReaderServices

Request Information

Parameters
Name Type Required Description
id Integer Yes The unique id assigned to the patron.
Request Body

The PATCH data object contains the name/value pairs of the properties to update. To update last service date, the LastServiceDate must be set to Date.

Example
application/json, text/json
{
    "LastServiceDate":"2/20/2019"
}  

Response Information

On success, returns calculated next service date.

Example Success
application/json, text/json
"2019-03-20T23:59:59-04:00"
Example Error
application/json, text/json
{
    "ErrorCode":10000,
    "Message":""Patron record is secured",",
    "MessageDetail"::null,
    "StackTrace":null,
    "InnerException":null,
    "Data":null
}

HTTP Response Codes

Code Description
200 OK. Success
400 Null object. Bad request
409 CONFLICT. Patron record is secured.