© 2024 Clarivate
GET /api/.../patrons/{id}/readerservices/preferences/subject
Return a list of all existing outreach patron's subjects.
{
"PatronID": 357374,
"IncludeTerms": [
"Comedy"
],
"ExcludeTerms": []
}
Permission IDs found here.
Name |
---|
AccessPatronServices_Allow |
PatronStatus_Access |
PatronStatus_DisplayReaderServices |
PatronStatus_ModifyReaderServices |
PUT /api/.../patrons/{id}/readerservices/preferences/subject
Update outreach patron's subject 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 subjects that are included for search. |
ExcludeTerms | List of strings | Yes | List of subjects that are excluded for search. |
{
"PatronID": 357374,
"IncludeTerms": [
"Comedy"
],
"ExcludeTerms": [
"Biogrphy"
]
}
{
"PatronID": 357374,
"IncludeTerms": [
"Comedy"
],
"ExcludeTerms": [
"Biogrphy"
]
}
Code | Description |
---|---|
200 | OK. Success |
400 | Null object. Bad request |
409 | CONFLICT. Patron record is secured. |