GET https://api.legendonlineservices.co.uk/Joining/Members?Email={Email}&Surname={Surname}&Postcode={Postcode}&DateOfBirth={DateOfBirth}

Returns the result of doing 2 searches one for the given email address (if proviced), and one for the person with the given surname, postcode and email address (if provided)

Request Parameters

From Query Type Description
Email String Optional. The email address of the member in the database
Surname String Optional. Persons surname
Postcode String Optional. Persons postcode
DateOfBirth DateTime Optional. Persons Date Of Birth

Response - (Status 200 - OK)

[MemberSearchResultModel]

Name Type Description
MembershipNumber String The member number (if a member was found)
Result Whether email was used in the search
Values
0 - Yes
1 - No
SearchType String The type of search. Valid values are 'Email' or 'Surname/Dob/Postcode'




[
  {
    "Result": 0,
    "MembershipNumber": "sample string 1",
    "SearchType": "sample string 2"
  },
  {
    "Result": 0,
    "MembershipNumber": "sample string 1",
    "SearchType": "sample string 2"
  },
  {
    "Result": 0,
    "MembershipNumber": "sample string 1",
    "SearchType": "sample string 2"
  }
]

Remarks

Either email address or all of the other search parameters must be provided.
If all parameters are provided, the return model will include results from two searches, one for email address and other for rest of the parameters.

Bundle(s)
Joining