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

Returns freeze options for a membership/service

Request Parameters

From Body Type Description
Id Guid Contact Guid
FreezeServiceRequest Optional.
Name Type Description
AgreementIds [Int32] List of member agreements to apply freeze on. See FreezeOptions
AllowReferralDiscount Boolean Optional. To Allow referral discounts while freeze is active
EndDate DateTime This should be one day less than the actual freeze date. e.g, if you want the freeze to finish on 10th, send 9th as the end date
FreezeReasonId Int32
FreezeTypeId Int32 See FreezeOptions
OverridenCycleFee Decimal Optional. The cycle fee overriden by the user
StartDate DateTime
[FreezeServiceRequest] Optional.
Name Type Description
EndDate DateTime Optional. This should be one day less than the actual freeze date. e.g, if you want the freeze to finish on 10th, send 9th as the end date
FreezeReasonId Int32
FreezeTypeId Int32 See FreezeOptions
ServiceId Int32
StartDate DateTime




{
  "Id": "91c7ef8a-130f-4938-a30e-14d1b17e5fdc",
  "Membership": {
    "StartDate": "2025-04-25T14:27:54.6547663+01:00",
    "EndDate": "2025-04-25T14:27:54.6547663+01:00",
    "AgreementIds": [
      1,
      2,
      3
    ],
    "FreezeReasonId": 1,
    "FreezeTypeId": 2,
    "OverridenCycleFee": 1.0,
    "AllowReferralDiscount": true
  },
  "Services": [
    {
      "ServiceId": 1,
      "StartDate": "2025-04-25T14:27:54.6547663+01:00",
      "EndDate": "2025-04-25T14:27:54.6547663+01:00",
      "FreezeReasonId": 2,
      "FreezeTypeId": 3
    },
    {
      "ServiceId": 1,
      "StartDate": "2025-04-25T14:27:54.6547663+01:00",
      "EndDate": "2025-04-25T14:27:54.6547663+01:00",
      "FreezeReasonId": 2,
      "FreezeTypeId": 3
    },
    {
      "ServiceId": 1,
      "StartDate": "2025-04-25T14:27:54.6547663+01:00",
      "EndDate": "2025-04-25T14:27:54.6547663+01:00",
      "FreezeReasonId": 2,
      "FreezeTypeId": 3
    }
  ]
}

Response - (Status 200 - OK)

FreezeResponse

Name Type Description
Id Guid
ErrorMessage String
Success Boolean
FreezeMembershipResponse
Name Type Description
ErrorMessage String If there is value in this property, then it indicates an error and the freeze failed
MemberFreezeId Int32
WarningMessage String
[FreezeBillingResponse] Charge Ids generated by Legend during the freeze
Name Type Description
Balance Decimal
BillingId Int32
[FreezeServiceResponse]
Name Type Description
ErrorMessage String If there is value in this property, then it indicates an error and the freeze failed
ServiceFreezeId Int32
ServiceId Int32
WarningMessage String




{
  "Id": "158f38e4-fc36-469b-b513-2a2689ba58e2",
  "Membership": {
    "Billings": [
      {
        "BillingId": 1,
        "Balance": 2.0
      },
      {
        "BillingId": 1,
        "Balance": 2.0
      },
      {
        "BillingId": 1,
        "Balance": 2.0
      }
    ],
    "MemberFreezeId": 1,
    "ErrorMessage": "sample string 1",
    "WarningMessage": "sample string 2"
  },
  "Services": [
    {
      "ServiceId": 1,
      "ServiceFreezeId": 1,
      "ErrorMessage": "sample string 2",
      "WarningMessage": "sample string 3"
    },
    {
      "ServiceId": 1,
      "ServiceFreezeId": 1,
      "ErrorMessage": "sample string 2",
      "WarningMessage": "sample string 3"
    },
    {
      "ServiceId": 1,
      "ServiceFreezeId": 1,
      "ErrorMessage": "sample string 2",
      "WarningMessage": "sample string 3"
    }
  ],
  "ErrorMessage": "sample string 2",
  "Success": false
}

Remarks

Only contact services can be frozen. CAP2, Sports Courses not supported

Bundle(s)
Freeze