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

Returns termination options for a membership/service

Request Parameters

From Body Type Description
Id Guid Contact Guid
[TerminationItemRequest]
Name Type Description
SourceId Int32
SourceType
Values
1 - Membership
2 - Service
TerminationDate DateTime Optional.
TerminationReasonId Int32 Optional.




{
  "Id": "c74c050f-ec79-4617-a38d-af780ae6e78e",
  "Items": [
    {
      "SourceType": 1,
      "SourceId": 1,
      "TerminationDate": "2025-04-25T14:13:06.7008757+01:00",
      "TerminationReasonId": 2
    },
    {
      "SourceType": 1,
      "SourceId": 1,
      "TerminationDate": "2025-04-25T14:13:06.7008757+01:00",
      "TerminationReasonId": 2
    },
    {
      "SourceType": 1,
      "SourceId": 1,
      "TerminationDate": "2025-04-25T14:13:06.7008757+01:00",
      "TerminationReasonId": 2
    }
  ]
}

Response - (Status 200 - OK)

TerminationResponse

Name Type Description
Id Guid
Success Boolean
[TerminationItemResponse]
Name Type Description
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
TerminationDate DateTime
WarningMessage String




{
  "Id": "bce35fe4-f1b7-4f54-bc12-fb28cb2d93a1",
  "Items": [
    {
      "SourceType": 1,
      "SourceId": 1,
      "ErrorMessage": "sample string 2",
      "WarningMessage": "sample string 3",
      "TerminationDate": "2025-04-25T14:13:06.7008757+01:00"
    },
    {
      "SourceType": 1,
      "SourceId": 1,
      "ErrorMessage": "sample string 2",
      "WarningMessage": "sample string 3",
      "TerminationDate": "2025-04-25T14:13:06.7008757+01:00"
    },
    {
      "SourceType": 1,
      "SourceId": 1,
      "ErrorMessage": "sample string 2",
      "WarningMessage": "sample string 3",
      "TerminationDate": "2025-04-25T14:13:06.7008757+01:00"
    }
  ],
  "Success": false
}

Remarks

Must supply "LegendUserName" in headers (without customer prefix)
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