GET https://api.legendonlineservices.co.uk/Contacts/AdditionalData?FacilityGUID={FacilityGUID}

Returns list of additional data for contacts

Request Parameters

From Query Type Description
FacilityGUID Guid See Locations

Response - (Status 200 - OK)

[Additional Data]

Name Type Description
Id Int32 Key
DataType Data Type used to store property value
Values
1 - Integer
2 - Decimal
3 - Text
4 - Date
5 - Bit
Description String User Friendly Description - Max 200 characters
InterfaceType UI Display Type
Values
1 - Textbox
2 - NumberUpDown
3 - DropDown
4 - MultiSelectDropDown
5 - DatePicker
6 - DateBuilder
7 - YesNo
Name String Name to display on the UI - Max 50 characters
NumericMax Decimal Maximum value if numeric data type
NumericMin Decimal Minimum value if numeric data type
Order Int32 Order in which to display the question in the UI
RegEx String Regular expression for validation purposes - Max 250 characters
Required Boolean Mandatory or not
StoreMultiple Boolean Whether multiple values can be stored
TextMaxLength Int32 Maximum length if text data type
TextMinLength Int32 Minimum length if text data type
[Default Value] List of values for user to select from - For Drop Downs
Name Type Description
Id Int32 Key
Value String Value to display to user




[
  {
    "Id": 1,
    "InterfaceType": 1,
    "DataType": 1,
    "Name": "sample string 2",
    "Description": "sample string 3",
    "Order": 4,
    "Required": true,
    "StoreMultiple": true,
    "NumericMax": 1.0,
    "NumericMin": 1.0,
    "TextMaxLength": 1,
    "TextMinLength": 1,
    "RegEx": "sample string 5",
    "DropDownValues": [
      {
        "Id": 1,
        "Value": "sample string 2"
      },
      {
        "Id": 1,
        "Value": "sample string 2"
      },
      {
        "Id": 1,
        "Value": "sample string 2"
      }
    ]
  },
  {
    "Id": 1,
    "InterfaceType": 1,
    "DataType": 1,
    "Name": "sample string 2",
    "Description": "sample string 3",
    "Order": 4,
    "Required": true,
    "StoreMultiple": true,
    "NumericMax": 1.0,
    "NumericMin": 1.0,
    "TextMaxLength": 1,
    "TextMinLength": 1,
    "RegEx": "sample string 5",
    "DropDownValues": [
      {
        "Id": 1,
        "Value": "sample string 2"
      },
      {
        "Id": 1,
        "Value": "sample string 2"
      },
      {
        "Id": 1,
        "Value": "sample string 2"
      }
    ]
  },
  {
    "Id": 1,
    "InterfaceType": 1,
    "DataType": 1,
    "Name": "sample string 2",
    "Description": "sample string 3",
    "Order": 4,
    "Required": true,
    "StoreMultiple": true,
    "NumericMax": 1.0,
    "NumericMin": 1.0,
    "TextMaxLength": 1,
    "TextMinLength": 1,
    "RegEx": "sample string 5",
    "DropDownValues": [
      {
        "Id": 1,
        "Value": "sample string 2"
      },
      {
        "Id": 1,
        "Value": "sample string 2"
      },
      {
        "Id": 1,
        "Value": "sample string 2"
      }
    ]
  }
]

Remarks

At the moment, only New Member specific fields are returned

Bundle(s)
Joining