ValidateBasketItem

Paths

Example

Example request object

{
  "BasketItem": {
    "$type": "ReCreateX.WebShop.WebServices.Contracts.ChildCareCentreEntryReservation, ReCreateX.WebShop.WebServices.Contracts",
    "ChildCareEntryPeriodId": "00000000-0000-0000-0000-000000000000",
    "DivisionId": "00000000-0000-0000-0000-000000000000",
    "ChildCareCentreId": "00000000-0000-0000-0000-000000000000",
    "Id": "00000000-0000-0000-0000-000000000000",
    "PersonId": "00000000-0000-0000-0000-000000000000",
    "Quantity": 1,
    "ChildCareCentrePeriodIds": [
      "00000000-0000-0000-0000-000000000000"
    ],
    "RuleNamesToIgnore": null,
    "UnitPrice": 0.0,
    "LockTicket": {
      "$type": "ReCreateX.WebShop.WebServices.Contracts.FitnessActivityDayReservationLockTicket, ReCreateX.WebShop.WebServices.Contracts",
      "ExpirationTime": "2024-07-27T07:22:41.6631004+02:00",
      "Id": "00000000-0000-0000-0000-000000000000"
    },
    "Comment": "string_example",
    "AdvancementPrice": 0.0,
    "PeriodOptions": [
      {
        "ChildCareCentrePeriodId": "00000000-0000-0000-0000-000000000000",
        "ChildCareCentreOptions": null
      }
    ],
    "AsReseller": false,
    "ChildCareCentreEntryReservationStatusType": 0,
    "CustomerContactId": "00000000-0000-0000-0000-000000000000",
    "IsEditing": false,
    "LockPersonId": null,
    "PromotionRuleDiscountAmount": 0.0,
    "ChildCareCentreWaitingListPeriodIds": [
      "00000000-0000-0000-0000-000000000000"
    ],
    "UseEntriesOnPeriod": false
  },
  "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.ChildCareCentreEntryReservation, ReCreateX.WebShop.WebServices.Contracts",
      "ChildCareEntryPeriodId": "00000000-0000-0000-0000-000000000000",
      "DivisionId": "00000000-0000-0000-0000-000000000000",
      "ChildCareCentreId": "00000000-0000-0000-0000-000000000000",
      "Id": "00000000-0000-0000-0000-000000000000",
      "PersonId": "00000000-0000-0000-0000-000000000000",
      "Quantity": 1,
      "ChildCareCentrePeriodIds": null,
      "RuleNamesToIgnore": null,
      "UnitPrice": 0.0,
      "LockTicket": null,
      "Comment": null,
      "AdvancementPrice": 0.0,
      "PeriodOptions": null,
      "AsReseller": false,
      "ChildCareCentreEntryReservationStatusType": 0,
      "CustomerContactId": "00000000-0000-0000-0000-000000000000",
      "IsEditing": false,
      "LockPersonId": null,
      "PromotionRuleDiscountAmount": 0.0,
      "ChildCareCentreWaitingListPeriodIds": null,
      "UseEntriesOnPeriod": false
    },
    "IsValid": false,
    "Message": "string_example",
    "brokenRuleName": null
  }
}

ShouldBeExecuted

Postdata

Response