ValidateBasketItem

Paths

Example

Example request object

{
  "BasketItem": {
    "$type": "ReCreateX.WebShop.WebServices.Contracts.FitnessActivityDayReservation, ReCreateX.WebShop.WebServices.Contracts",
    "FitnessActivityDayId": "00000000-0000-0000-0000-000000000000",
    "DivisionId": "00000000-0000-0000-0000-000000000000",
    "FitnessActivitySlots": null,
    "Id": "00000000-0000-0000-0000-000000000000",
    "PersonId": null,
    "Quantity": 1,
    "SubscriptionId": null,
    "RuleNamesToIgnore": null,
    "WaitingList": false,
    "UnitPrice": 0.0,
    "LockTicket": {
      "$type": "ReCreateX.WebShop.WebServices.Contracts.ChildCareCentreEntryReservationLockTicket, ReCreateX.WebShop.WebServices.Contracts",
      "ExpirationTime": "2024-11-21T14:03:34.0483172+01:00",
      "Id": "00000000-0000-0000-0000-000000000000"
    },
    "AdvancementPrice": 0.0,
    "FitnessActivityId": "00000000-0000-0000-0000-000000000000",
    "AsReseller": false,
    "CustomerContactId": "00000000-0000-0000-0000-000000000000",
    "PromotionRuleDiscountAmount": 0.0
  },
  "Context": {
    "DivisionId": "00000000-0000-0000-0000-000000000000",
    "Language": "string_example",
    "ShopId": "00000000-0000-0000-0000-000000000000",
    "SessionId": "00000000-0000-0000-0000-000000000000",
    "Origin": 0,
    "Password": "string_example",
    "Encode": false,
    "AccessToken": "string_example"
  }
}

Example response object

{
  "BasketItemValidationResult": {
    "ValidatedBasketItem": {
      "$type": "ReCreateX.WebShop.WebServices.Contracts.FitnessActivityDayReservation, ReCreateX.WebShop.WebServices.Contracts",
      "FitnessActivityDayId": "00000000-0000-0000-0000-000000000000",
      "DivisionId": "00000000-0000-0000-0000-000000000000",
      "FitnessActivitySlots": null,
      "Id": "00000000-0000-0000-0000-000000000000",
      "PersonId": null,
      "Quantity": 1,
      "SubscriptionId": null,
      "RuleNamesToIgnore": null,
      "WaitingList": false,
      "UnitPrice": 0.0,
      "LockTicket": null,
      "AdvancementPrice": 0.0,
      "FitnessActivityId": "00000000-0000-0000-0000-000000000000",
      "AsReseller": false,
      "CustomerContactId": "00000000-0000-0000-0000-000000000000",
      "PromotionRuleDiscountAmount": 0.0
    },
    "IsValid": false,
    "Message": "string_example",
    "brokenRuleName": null
  }
}

ShouldBeExecuted

Postdata

Response