Update Patron Reader Services Info

Update Outreach Patron Reader Services Info

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

Update patron reader services information.

Required Permissions

Permission IDs found here.

Name
AccessPatronServices_Allow
PatronStatus_Access
PatronStatus_DisplayReaderServices
PatronStatus_ModifyReaderServices

Request Information

Parameters
Name Type Required Description
orsData DtoORSPatronInfo Yes Define this parameter in the request body.
id Integer Yes The unique id assigned to the patron.
DtoORSPatronInfo
Property Type Nullable Description
PatronID Int No The unique id assigned to the patron.
ActivationDate DateTime No
DeliveryModeID Int Yes
DeliveryRouteID Int Yes
DeliveryScheduleDate DateTime Yes
DeliveryScheduleEvery Int Yes
DeliveryStopID Int Yes
Enabled Bool Yes
LastServiceDate DateTime No
NextServiceDate DateTime No
NumItemsToSend Int Yes
ORSDeliveryScheduleTypeID Int Yes
ORSStatusID Int No
PatronSelectionsOnly Bool Yes
ResendItems Bool Yes
ResendMonthsToWait Int Yes
ResponsiblePickupPerson String Yes
Request body
Example
application/json, text/json
{ 
    "PatronID":357374,
    "ORSStatusID":"1",
    "Enabled":true,
    "ActivationDate":"8/10/2000",
    "LastServiceDate":"2018-12-17T10:00:00.000Z",
    "NextServiceDate":"2018-12-17T10:00:00.000Z",
    "ResendItems":true,
    "ResendMonthsToWait":"110",
    "NumItemsToSend":"99",
    "PatronSelectionsOnly":true,
    "DeliveryModeID":"12",
    "DeliveryRouteID":"5",
    "DeliveryStopID":"1",
    "ORSDeliveryScheduleTypeID":"0",
    "DeliveryScheduleDate":"2019-09-18T08:00:00.000Z",
    "DeliveryScheduleEvery":"2",
    "ResponsiblePickupPerson":"John Smith"
}
      

Response Information

Returns true if update is successful.
Example
application/json, text/json
{
    true
}

HTTP Response Codes

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