...
Description: Get expired LC patrons.
API: https://folio-dev-volaris-edge.ci.folio.org/patron/account/{externalSystemID}/external-patrons?apikey=eyJzIjoieHFpNzNjNEZzOSIsInQiOiJkaWt1IiwidSI6ImRpa3VfYWRtaW4ifQ==&expired=true
PAYLOAD: none
Note : This API will fetch expired users for previous day only (business day -1).
RESPONSE:
A collection of LC users will be returned in the form of external_patron_collection .
Code Block |
---|
{ "externalPatrons": [ { "generalInfo": { "externalSystemId": "ext-kapil-2", "firstName": "Kapil2", "preferredFirstName": "Inactive or Expired and Remote Non-circulation", "lastName": "Kapil2" }, "addressInfo": { "addressLine0": "123 Main St", "addressLine1": "Apt 4B", "city": "Metropolis", "country": "" }, "contactInfo": { "phone": "555-123456", "mobilePhone": "555-5678", "email": "ext-kapil-2@test.com" }, "preferredEmailCommunication": [ "Programs", "Support" ] } ], "totalRecords": 1 } |
ERROR CODE for ALL the API’s (negative scenarios) - Work in progress (will be updated by end of SPRINT 197)