POST https://api.legendonlineservices.co.uk/Joining/MemberFromContactValidate

Validates whether a contact can be converted into a member

Request Parameters

From Body Type Description
ContactExtId Guid Id of the contact as exists in the system
MembershipTypePriceId Int32 See MembershipTypesId of the type of membership




{
  "ContactExtId": "b4521ea4-ae1f-4095-a32f-f1b71825681d",
  "MembershipTypePriceId": 2
}

Response - (Status 200 - OK)

MemberFromContactValidationResponse

Name Type Description
[Error] List of errors - See error code Ids below
Name Type Description
Id Int32 Id of the Error
Description String Description of the error




{
  "Errors": [
    {
      "Id": 1,
      "Description": "sample string 2"
    },
    {
      "Id": 1,
      "Description": "sample string 2"
    },
    {
      "Id": 1,
      "Description": "sample string 2"
    }
  ]
}

Remarks

Only conversion to 'Quick add' membership type is allowed

Error Codes
1. Required contact field is missing - All missing field names will be returned as a comma separated string in one record
2. Membership Type is not Quick Add
3. Contact is already a Member

Note: 'BadRequest' status code will be returned if Contact or Price does not exist

Bundle(s)
Joining