ValidateBasketItem

Paths

Example

Example request object

{
  "BasketItem": {
    "$type": "ReCreateX.WebShop.WebServices.Contracts.ActivityReservation, ReCreateX.WebShop.WebServices.Contracts",
    "Activity": {
      "AgeCategory": null,
      "ClosingDate": null,
      "Code": null,
      "Comments": null,
      "Days": null,
      "Description": null,
      "FreePlaces": null,
      "Id": "00000000-0000-0000-0000-000000000000",
      "ImageUrl": null,
      "Location": null,
      "Name": null,
      "Options": null,
      "Period": null,
      "Price": 0.0,
      "Type": null,
      "EntryMethod": null,
      "TotalPlaces": null,
      "Agreements": null,
      "Utilities": null,
      "WebSalesStart": null,
      "WebSalesStop": null,
      "Image": null,
      "NumberOfDays": null,
      "Division": null,
      "LastUpdate": null,
      "TotalPlacesOverall": null,
      "ReservedPlacesOverall": null,
      "SalesStart": null,
      "SalesStop": null,
      "OrganisationType": null,
      "CareType": null,
      "Prices": null,
      "EnableAmountOfOptions": null,
      "MinAmountOfOptions": null,
      "MaxAmountOfOptions": null,
      "NeedExtraInformationFromUser": false,
      "UitpasEventId": null,
      "RequiresConsentFormForMinors": false,
      "ConsentFormForMinorsScenarioId": "00000000-0000-0000-0000-000000000000",
      "AskNationalNumber": false
    },
    "DivisionId": "00000000-0000-0000-0000-000000000000",
    "Comments": "string_example",
    "Id": "00000000-0000-0000-0000-000000000000",
    "LockTicket": {
      "$type": "ReCreateX.WebShop.WebServices.Contracts.ChildCareCentreEntryReservationLockTicket, ReCreateX.WebShop.WebServices.Contracts",
      "ExpirationTime": "2025-04-08T22:45:57.1576414+02:00",
      "Id": "00000000-0000-0000-0000-000000000000"
    },
    "Quantity": 0,
    "OptionPrice": 0.0,
    "RuleNamesToIgnore": null,
    "Customer": {
      "ActivationId": null,
      "Address": null,
      "BankAccount": null,
      "BirthDate": null,
      "CellPhone": null,
      "Code": null,
      "Comments": null,
      "Credential": null,
      "Email": null,
      "Gender": 0,
      "Id": "00000000-0000-0000-0000-000000000000",
      "IsBlocked": false,
      "Language": null,
      "Name": null,
      "NationalNumber": null,
      "Phone": null,
      "Picture": null,
      "ResetPasswordId": null,
      "Settings": null,
      "Contacts": null,
      "Type": 0,
      "Parent": false,
      "Disabled": false,
      "HeadOfFamily": false,
      "Relations": null,
      "Info1": null,
      "Info2": null,
      "Info3": null,
      "Info4": null,
      "Info5": null,
      "ExternalMasterID": null,
      "ParentRelations": null,
      "InvoiceAddressId": null,
      "PictureUrl": null,
      "Status": null,
      "Title": null,
      "IBAN": null,
      "BIC": null,
      "AllowEdit": false,
      "IsWebBlocked": false,
      "Group": null,
      "Doctor": null,
      "Website": null,
      "ClubInfo": null,
      "Email2": null,
      "Phone2": null,
      "PasswordIsChangedByUserOnWeb": false,
      "ExternCustomerNumber": null,
      "LastPasswordUpdate": null,
      "TotalLlvCredits": 0.0,
      "VatNumber": null,
      "EnterpriseNumber": null,
      "BlockSynchronisation": false,
      "Student": false,
      "CapScanAddress": null,
      "UserComments": null,
      "CreationDate": null,
      "LastUpdate": null,
      "UseSeasonPlanning": false,
      "Company": null,
      "CompanyPeople": null,
      "Nationality": null,
      "Function": null,
      "OrganisationNumber": null,
      "SMSAllowed": false
    },
    "UnitPrice": 0.0,
    "ActivityParticipantReservations": [
      {
        "ParticipantId": "00000000-0000-0000-0000-000000000000",
        "ParticipantActivityDays": null,
        "Comment": null,
        "PriceGroupId": null,
        "UitpasPrice": null,
        "UitpasNumber": null,
        "UitpasPriceGroup": null,
        "NationalNumber": null,
        "BirthDate": null
      }
    ],
    "AdvancementPrice": null,
    "TotalPrice": 0.0,
    "AsReseller": false,
    "Status": 0,
    "CustomerContactId": "00000000-0000-0000-0000-000000000000",
    "GroupReservations": false,
    "PromotionRuleDiscountAmount": 0.0,
    "WaiterPadDiscountPercentage": 0.0,
    "NationalNumber": "string_example",
    "BirthDate": null
  },
  "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.RecurringPlaceReservation, ReCreateX.WebShop.WebServices.Contracts",
      "Pattern": null,
      "ReservationActivityId": "00000000-0000-0000-0000-000000000000",
      "DivisionId": "00000000-0000-0000-0000-000000000000",
      "PlaceReservations": null,
      "Id": "00000000-0000-0000-0000-000000000000",
      "PlaceId": "00000000-0000-0000-0000-000000000000",
      "ValidPeriods": null,
      "Quantity": 0,
      "StartDate": "2025-04-08T22:45:57.1733201+02:00",
      "InvalidPeriods": null,
      "StartTime": "00:00:00",
      "RuleNamesToIgnore": null,
      "From": "2025-04-08T22:45:57.1733201+02:00",
      "UnitPrice": 0.0,
      "EndDate": "2025-04-08T22:45:57.1733201+02:00",
      "Until": "2025-04-08T22:45:57.1733201+02:00",
      "AdvancementPrice": null,
      "EndTime": "00:00:00",
      "Comments": null,
      "AsReseller": false,
      "SerieId": "00000000-0000-0000-0000-000000000000",
      "CustomerContactId": "00000000-0000-0000-0000-000000000000",
      "SerieNumber": 0,
      "PromotionRuleDiscountAmount": 0.0,
      "ReservationNumber": 0,
      "LockTicket": null,
      "NumberOfParticipants": 0,
      "ArticleSales": null,
      "RentalReservations": null,
      "DivisionCardID": null,
      "CustomerID": "00000000-0000-0000-0000-000000000000",
      "ValidateSubscriptionForPlace": false,
      "ValidateSubscriptionForActivity": false,
      "PriceGroupID": null,
      "SubsidyInfoID": null,
      "WaiterPadDiscountPercentage": 0.0,
      "Subject": null,
      "CompetitionType": null,
      "InfrastructureDescription": null,
      "PlaceDescription": null,
      "ReservationActivityDescription": null,
      "InfrastructureId": "00000000-0000-0000-0000-000000000000",
      "ContactId": null,
      "NationalNumber": null,
      "BirthDate": null
    },
    "IsValid": false,
    "Message": "string_example",
    "brokenRuleName": null
  }
}

ShouldBeExecuted

Postdata

Response