Patron Custom Data

List All Patron Messages

GET /api/.../patroncustomdata/{patronregistrationtype}

Returns all custom data associated with the logon organization.

Request Information

Parameters
Name Type Required Description
patronregistrationtype Integer Yes The unique id assigned to the type of the registration.

Response Information

Example
application/json, text/json
[
    {
        "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
    }
]

HTTP Response Codes

Code Description
200 OK. Success
400 FAILURE. Invalid OrgID.

Reference for Patron Registration Types:

public enum PatronRegistrationType
{
    Normal = 1,
    PAC = 2,
    Express = 3
}