© 2024 Clarivate
GET /api/.../patroncustomdata/{patronregistrationtype}
Returns all custom data associated with the logon organization.
Name | Type | Required | Description |
---|---|---|---|
patronregistrationtype | Integer | Yes | The unique id assigned to the type of the registration. |
[
{
"PatronID":0,
"PatronCustomDataDefinitionID":8,
"PatronDataLabelValue":"Parent/Guardian",
"PolarisCustomDataTypeID":2,
"CustomDataEntry":null,
"DefaultValue":"Jack Smith",
"IsRequired":false,
"IsEnabled":false,"IsDataChanged":false
},
{
"PatronID":0,
"PatronCustomDataDefinitionID":9,
"PatronDataLabelValue":"Parent/Guardian birth date",
"PolarisCustomDataTypeID":3,
"CustomDataEntry":null,
"DefaultValue":null,
"IsRequired":false,
"IsEnabled":false,
"IsDataChanged":false
},
{
"PatronID":0,"PatronCustomDataDefinitionID":16,
"PatronDataLabelValue":"City ID",
"PolarisCustomDataTypeID":2,
"CustomDataEntry":null,
"DefaultValue":null,
"IsRequired":false,
"IsEnabled":false,
"IsDataChanged":false
},
{
"PatronID":0,
"PatronCustomDataDefinitionID":11,
"PatronDataLabelValue":"Numeric text box",
"PolarisCustomDataTypeID":1,
"CustomDataEntry":null,
"DefaultValue":null,
"IsRequired":false,
"IsEnabled":false,
"IsDataChanged":false
},
{
"PatronID":0,
"PatronCustomDataDefinitionID":10,
"PatronDataLabelValue":"Restricted patron",
"PolarisCustomDataTypeID":4,
"CustomDataEntry":null,
"DefaultValue":null,
"IsRequired":false,
"IsEnabled":false,
"IsDataChanged":false
}
]
Code | Description |
---|---|
200 | OK. Success |
400 | FAILURE. Invalid OrgID. |
public enum PatronRegistrationType
{
Normal = 1,
PAC = 2,
Express = 3
}