© 2024 Clarivate
GET /api/.../patrons/{id}/readerservices/preferences/author
Return a list of all existing outreach patron's authors.
{
"PatronID": 357374,
"IncludeTerms": [
"WhomEver",
"Grisham"
],
"ExcludeTerms": [
"James Smith"
]
}
Permission IDs found here.
Name |
---|
AccessPatronServices_Allow |
PatronStatus_Access |
PatronStatus_DisplayReaderServices |
PatronStatus_ModifyReaderServices |
PUT /api/.../patrons/{id}/readerservices/preferences/author
Update outreach patron's authors list.
Permission IDs found here.
Name |
---|
AccessPatronServices_Allow |
PatronStatus_Access |
PatronStatus_DisplayReaderServices |
PatronStatus_ModifyReaderServices |
Name | Type | Required | Description |
---|---|---|---|
orsData | DtoORSPatronTerms | Yes | Define this parameter in the request body. |
id | Integer | Yes | The unique id assigned to the patron. |
Property | Type | Nullable | Description |
---|---|---|---|
PatronID | Int | No | The unique id assigned to the patron. |
IncludeTerms | List of strings | Yes | List of authors that are included for search. |
ExcludeTerms | List of strings | Yes | List of authors that are excluded for search. |
{
"PatronID": 357374,
"IncludeTerms": [
"WhomEver",
"Grisham"
],
"ExcludeTerms": [
"Jack And Jill"
]
}
{
{
"PatronID": 357374,
"IncludeTerms": [
"WhomEver",
"Grisham"
],
"ExcludeTerms": [
"Jack And Jill"
]
}
}
Code | Description |
---|---|
200 | OK. Success |
400 | Null object. Bad request |
409 | CONFLICT. Patron record is secured. |