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

Returns termination options for a membership/service

Request Parameters

From Body Type Description
Id Guid Contact Guid
[TerminationOptionItemRequest]
Name Type Description
SourceId Int32
SourceType
Values
1 - Membership
2 - Service
TerminationDate DateTime Optional. Leave it empty if you do not yet know the termination date




{
  "Id": "917dc33e-19ae-4fdb-8366-b6f8815f9528",
  "Items": [
    {
      "SourceType": 1,
      "SourceId": 1,
      "TerminationDate": "2025-04-25T14:18:25.3706256+01:00"
    },
    {
      "SourceType": 1,
      "SourceId": 1,
      "TerminationDate": "2025-04-25T14:18:25.3706256+01:00"
    },
    {
      "SourceType": 1,
      "SourceId": 1,
      "TerminationDate": "2025-04-25T14:18:25.3706256+01:00"
    }
  ]
}

Response - (Status 200 - OK)

TerminationOptionsResponse

Name Type Description
Id Guid
[TerminationOptionsItemResponse]
Name Type Description
CanTerminate Boolean
ErrorMessage String If there is value in this property, then it indicates an error and the item cannot be cancelled.
SourceId Int32
SourceType
Values
1 - Membership
2 - Service
TerminationDateRequested DateTime
TerminationDates [DateTime]
WarningMessage String




{
  "Id": "91f937d7-aead-4781-86ea-2b4e69e13858",
  "Items": [
    {
      "SourceType": 1,
      "SourceId": 1,
      "ErrorMessage": "sample string 2",
      "WarningMessage": "sample string 3",
      "TerminationDates": [
        "2025-04-25T14:18:25.3766268+01:00",
        "2025-04-25T14:18:25.3766268+01:00",
        "2025-04-25T14:18:25.3766268+01:00"
      ],
      "TerminationDateRequested": "2025-04-25T14:18:25.3766268+01:00",
      "CanTerminate": false
    },
    {
      "SourceType": 1,
      "SourceId": 1,
      "ErrorMessage": "sample string 2",
      "WarningMessage": "sample string 3",
      "TerminationDates": [
        "2025-04-25T14:18:25.3766268+01:00",
        "2025-04-25T14:18:25.3766268+01:00",
        "2025-04-25T14:18:25.3766268+01:00"
      ],
      "TerminationDateRequested": "2025-04-25T14:18:25.3766268+01:00",
      "CanTerminate": false
    },
    {
      "SourceType": 1,
      "SourceId": 1,
      "ErrorMessage": "sample string 2",
      "WarningMessage": "sample string 3",
      "TerminationDates": [
        "2025-04-25T14:18:25.3766268+01:00",
        "2025-04-25T14:18:25.3766268+01:00",
        "2025-04-25T14:18:25.3766268+01:00"
      ],
      "TerminationDateRequested": "2025-04-25T14:18:25.3766268+01:00",
      "CanTerminate": false
    }
  ]
}

Remarks

You can either get options for a membership or service(s) but not both at same time
The membership must be currently active. Future memberships not supported
Paid in full memberships or services are not supported
Enforceable memberships or services are not supported before the obligation date
Only contact services can be cancelled. CAP2, Sports Courses not supported Refunds, credit note or termination charge is not supported

Bundle(s)
Termination