-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[EDGEPATRON-134]-Added Get Endpoint for expired External Patron (#118)
* [EDGEPATRON-134]-Added Get Endpoint for expired External Patron * [EDGEPATRON-134]-Added Get Endpoint for expired External Patron
- Loading branch information
Showing
9 changed files
with
160 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"externalPatrons": [ | ||
{ | ||
"generalInfo": { | ||
"externalSystemId": "ext123", | ||
"firstName": "John", | ||
"preferredFirstName": "Johnny", | ||
"middleName": "Michael", | ||
"lastName": "Doe" | ||
}, | ||
"address0": { | ||
"addressLine0": "123 Main St", | ||
"addressLine1": "", | ||
"city": "Anytown", | ||
"province": "California", | ||
"zip": "12345", | ||
"country": "USA" | ||
}, | ||
"contactInfo": { | ||
"phone": "123-456-7890", | ||
"mobilePhone": "987-654-3210", | ||
"email": "[email protected]" | ||
}, | ||
"preferredEmailCommunication": ["Support", "Programs"] | ||
}, | ||
{ | ||
"generalInfo": { | ||
"externalSystemId": "ext456", | ||
"firstName": "Jane", | ||
"preferredFirstName": "Janey", | ||
"lastName": "Smith" | ||
}, | ||
"address0": { | ||
"addressLine0": "456 Oak Ave", | ||
"addressLine1": "Apt 2B", | ||
"city": "Smallville", | ||
"province": "Kansas", | ||
"zip": "54321", | ||
"country": "USA" | ||
}, | ||
"contactInfo": { | ||
"phone": "987-654-3210", | ||
"mobilePhone": "123-456-7890", | ||
"email": "[email protected]" | ||
}, | ||
"preferredEmailCommunication": ["Programs", "Service"] | ||
} | ||
], | ||
"totalRecords": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"type": "object", | ||
"description": "Collection of external patrons", | ||
"properties": { | ||
"externalPatrons": { | ||
"description": "List of external patron items", | ||
"type": "array", | ||
"id": "externalPatron", | ||
"items": { | ||
"type": "object", | ||
"$ref": "external_patron.json" | ||
} | ||
}, | ||
"totalRecords": { | ||
"type": "integer" | ||
} | ||
}, | ||
"required": [ | ||
"externalPatrons", | ||
"totalRecords" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters