POST https://api.legendonlineservices.co.uk/Contacts/Contact

Creates a new Contact

Request Parameters

From Body Type Description
SkipValidation Boolean Optional.
ThirdPartyIdValue String Optional. Max 255 characters
Contact
Name Type Description
ClubId Int32 Optional. The physical club to which a contact belongs.
These can be returned using the following endpoint: Locations, using the FacilityId column.
confMarketingSourceId Int32 Optional. See Marketing Sources
ContactGoals [Int32] Optional. A list of goals which the contact holds.
These can be found at the following endpoint: Goals.
ContactInterests [Int32] Optional. A list of interests which the contact holds.
These can be found at the following endpoint: Interests.
ContactObjections [Int32] Optional. A list of objections for the contact not joining.
These can be found at the following endpoint: Objections.
DateOfBirth DateTime Date of birth of the contact.
Email String Email address of the contact.
Max 50 characters.
EmergencyName String Optional. Name for an emergency contact, if any.
Max 50 characters.
EmergencyNumber String Optional. A contact number for an emergency contact, if any.
Max 25 characters.
EnquiryType Int32 Optional. The Enquiry Type ID that was used when this member joined.
These can be found at the following endpoint: Ethnic Origins.
EthnicOrigin String Optional. Ethnic origin of the contact, represented as a string.
Max 50 characters.
Note that both the string value and the lookup value (see "EthnicOriginId") are written into the database.
See Ethnic Origins
EthnicOriginId Int16 Optional. Ethnic origin of the contact, represented as a database ID.
These are defined on a per-customer basis and are configurable. The following endpoint returns the list: Ethnic Origins Note that both the string value and the lookup value (see "EthnicOrigin") are written into the database.
FacilityGUID Guid See Locations
FirstName String First name of the contact.
Max 30 characters.
Gender Optional. The gender of the contact, if set.
Values
1 - Male
2 - Female
LastName String Last name of the contact.
Max 50 characters.
MarketingPrefsConfirmed Boolean Optional. Whether the marketing preferences of the contact have been verified and approved.
Mobile String Optional. Mobile telephone number for the contact.
Max 25 characters.
OwnerId Int32 Optional.
Phone String Optional. Home telephone number for the contact.
Max 25 characters.
Salesperson Int32 Optional. The user identifier of the salesperson who sold this member.
Note that there is currently no way of returning this using the API.
Salutation String Optional. How the contact is addressed, for example in an email.
Title String Optional. Title (i.e. Mr, Mrs, Dr, etc) of the contact.
Max 15 characters.
YearOfStudy Byte Optional. Number of "Years of Study" of the contact. This is used in educational settings, otherwise it can be ignored.
Address Address of the contact.
Name Type Description
City String Optional. Max 50 characters
Country String Optional. Max 50 characters
CountryCode String Optional. Max 2 characters
Line1 String Optional. Max 50 characters
Line2 String Optional. Max 50 characters
PostCode String Max 12 characters
Region String Optional. Max 50 characters




{
  "ThirdPartyIdValue": "sample string 1",
  "Contact": {
    "FacilityGUID": "22eb7baf-a984-4a4c-aca8-46da984ede4e",
    "confMarketingSourceId": 1,
    "FirstName": "sample string 2",
    "LastName": "sample string 3",
    "Gender": 1,
    "Title": "sample string 4",
    "Salutation": "sample string 5",
    "DateOfBirth": "2026-02-04T13:04:37.393528+00:00",
    "Email": "sample string 6",
    "HomeAddress": {
      "Line1": "sample string 1",
      "Line2": "sample string 2",
      "PostCode": "sample string 3",
      "City": "sample string 4",
      "Region": "sample string 5",
      "Country": "sample string 6",
      "CountryCode": "sample string 7"
    },
    "Phone": "sample string 7",
    "Mobile": "sample string 8",
    "EmergencyName": "sample string 9",
    "EmergencyNumber": "sample string 10",
    "EthnicOrigin": "sample string 11",
    "EthnicOriginId": 1,
    "YearOfStudy": 64,
    "Salesperson": 1,
    "EnquiryType": 1,
    "OwnerId": 1,
    "ContactInterests": [
      1,
      2,
      3
    ],
    "ContactGoals": [
      1,
      2,
      3
    ],
    "ContactObjections": [
      1,
      2,
      3
    ],
    "MarketingPrefsConfirmed": true,
    "ClubId": 12
  },
  "SkipValidation": true
}

Response - (Status 200 - OK)

Contact Ids

Name Type Description
Id Int32 Id of the contact in numeric format
ExtId Guid Preferred Id for further interaction with the APIs




{
  "ExtId": "5519ee20-c75f-4cbf-a7e8-d05ad325629a",
  "Id": 2
}

Remarks

Atleast, one of the phone numbers is required

Bundle(s)
Joining