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

Converts a contact into a member

Request Parameters

From Body Type Description
Barcode String Optional. Will be auto generated if left blank. Max 20 characters - Unique - see remarks below
ContactExtId Guid Id of the contact as exists in the system
FacilityGUID Guid See Locations
MemberNo String Optional. Will be auto generated if left blank. Max 20 characters - Unique - see remarks below
MembershipTypePriceId Int32 See MembershipTypesId of the type of membership




{
  "FacilityGUID": "b93943b6-cd9e-4eb7-b2c2-74e1086a1def",
  "ContactExtId": "feda88a0-05f7-4933-b4f8-6c7e1746aab9",
  "MembershipTypePriceId": 3,
  "MemberNo": "sample string 4",
  "Barcode": "sample string 5"
}

Response - (Status 200 - OK)

MemberFromContactResponse

Name Type Description
Barcode String
MemberNo String
[Error] See Errors Codes - If no error, member creation is success
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"
    }
  ],
  "MemberNo": "sample string 1",
  "Barcode": "sample string 2"
}

Remarks

MemberNo/Barcode These values will be autogenerated by the system if not supplied by the client. You must supply both or none of the two. Any error will be returned if only one is provided.

Bundle(s)
Joining