© 2024 Clarivate
GET /api/.../patronstatclasscodes/{id}
Return a single patron stat class codes by code id.
Name | Type | Required | Description |
---|---|---|---|
id | Integer | Yes | The unique id assigned to the patron stat class code. Used to return a single object. |
{
"StatisticalClassID": 1,
"OrganizationID": 2,
"Description": "sample string 3"
}
Code | Description |
---|---|
200 | OK. Success |
GET /api/.../patronstatclasscodes
Return a list of all patron codes in the system.
GET /api/.../patronstatclasscodes?orgid={orgid}
Return a list of patron stat class codes for a single organization id.
GET /api/.../patronstatclasscodes?orgid={orgid}&includeEmptyObject=true
Return a list of patron stat class codes for a single organization id. Include the '(none)' entry for a user listbox or combobox.
Name | Type | Required | Description |
---|---|---|---|
orgid | Integer | No | The unique id assigned to the organization. Used to filter the list. |
includeEmptyObject | Boolean | No | Set to 'true' to return an empty object with StatisticalClassID set to '0' and Description set to '(none)'. This may be used when populating a listbox for a user selection. Must be used with the orgid parameter. |
[
{
"StatisticalClassID": 1,
"OrganizationID": 2,
"Description": "sample string 3"
},
{
"StatisticalClassID": 1,
"OrganizationID": 2,
"Description": "sample string 3"
},
{
"StatisticalClassID": 1,
"OrganizationID": 2,
"Description": "sample string 3"
}
]
Code | Description |
---|---|
200 | OK. Success |