© 2025 Clarivate
GET /api/.../patroncodes/{id}
Return a single patron code by code id.
| Name | Type | Required | Description |
|---|---|---|---|
| id | Integer | Yes | The unique id assigned to the patron code. Used to return a single object. |
{
"PatronCodeID":1,
"Description":"Regular"
}
| Code | Description |
|---|---|
| 200 | OK. Success |
GET /api/.../patroncodes
Return a list of all patron codes in the system.
GET /api/.../patroncodes?orgid={orgid}
Return a list of patron codes that belong to a specific organization.
| Name | Type | Required | Description |
|---|---|---|---|
| orgid | Integer | No | The unique id assigned to the organization. Used to filter the list. |
[
{
"PatronCodeID": 1,
"Description": "sample string 2"
},
{
"PatronCodeID": 1,
"Description": "sample string 2"
},
{
"PatronCodeID": 1,
"Description": "sample string 2"
}
]
| Code | Description |
|---|---|
| 200 | OK. Success |