ValidateBasketItem

Paths

Example

Example request object

{
  "BasketItem": {
    "$type": "ReCreateX.WebShop.WebServices.Contracts.ArticleSale, ReCreateX.WebShop.WebServices.Contracts",
    "Article": {
      "ActivePeriods": null,
      "Code": null,
      "IsDigitalWalletItem": false,
      "Description": null,
      "LinkedDigitalWalletItemId": null,
      "DivisionId": "00000000-0000-0000-0000-000000000000",
      "TicketDescription": null,
      "Group": null,
      "CrossSellingItems": null,
      "Id": "00000000-0000-0000-0000-000000000000",
      "AvailabilityPeriod": null,
      "Image": null,
      "ExternalSaleIntegration": false,
      "ImageUrl": null,
      "Translations": null,
      "Ingredients": null,
      "AllowPriceChangeWeb": false,
      "IsRental": false,
      "AllowPriceChangeWebshop": false,
      "Name": null,
      "LerarenkaartActive": false,
      "Options": null,
      "AskExtraDescriptionGiftCertificates": false,
      "Price": 0.0,
      "CustomerPriceGroupDiscount": null,
      "Stock": 0.0,
      "StockLocations": null,
      "IsStockItem": false,
      "Categories": null,
      "Attachment": null,
      "ExtraImages": null,
      "ExtraImageUrls": null,
      "AttachmentUrl": null,
      "ShortDescription": null,
      "AskCouponUsers": false,
      "MaximumSalesQuantity": null,
      "IsLessonGroupItem": false,
      "UitpasEventId": null,
      "Vat": null,
      "Barcodes": null,
      "CalculationType": 0,
      "CombineArticles": false,
      "SortOrder": 0,
      "HasExternalBarcodes": false,
      "Blocked": false,
      "IsSubscriptionItem": false,
      "IsAvailableNow": false,
      "Info1": null,
      "Info2": null,
      "Info3": null,
      "Info4": null,
      "Info5": null
    },
    "DivisionId": "00000000-0000-0000-0000-000000000000",
    "Id": "00000000-0000-0000-0000-000000000000",
    "UseCards": [
      {
        "PersonId": "00000000-0000-0000-0000-000000000000",
        "CardId": "00000000-0000-0000-0000-000000000000",
        "PeripheralStringRangeCardId": "00000000-0000-0000-0000-000000000000",
        "ItemCardCreationId": "00000000-0000-0000-0000-000000000000"
      }
    ],
    "Quantity": 0,
    "GenLoyaltyCards": [
      {
        "CardNumber": null,
        "ParticipantId": null
      }
    ],
    "CustomerID": null,
    "RuleNamesToIgnore": null,
    "UnitPrice": 0.0,
    "CustomPrice": 0.0,
    "AdvancementPrice": null,
    "ExtraDescription": "string_example",
    "SubscriptionCustomerID": null,
    "AsReseller": false,
    "SubscriptionStartDate": null,
    "CustomerContactId": "00000000-0000-0000-0000-000000000000",
    "SubscriptionEndDate": null,
    "PromotionRuleDiscountAmount": 0.0,
    "ExtraInfoNotPrintedOnTicket": "string_example",
    "CouponUsers": [
      {
        "Name": null,
        "FirstName": null,
        "BirthDate": "2025-04-04T21:46:28.64311+02:00",
        "Phone": null,
        "Email": null,
        "Street": null,
        "HouseNumber": null,
        "Zipcode": null,
        "City": null,
        "Country": null
      }
    ],
    "DirectDebitStartDate": null,
    "DirectDebitCollectionDay": null,
    "LessonGroupId": null,
    "SubscriptionContactID": null,
    "UitpasPrice": 0.0,
    "UitpasNumber": "string_example",
    "UitpasPriceGroup": "string_example",
    "ProRataFactor": null,
    "NumberAddedWithApplyingPromoRules": 0,
    "LockTicket": {
      "$type": "ReCreateX.WebShop.WebServices.Contracts.OrganisedVisitRebookingLockTicket, ReCreateX.WebShop.WebServices.Contracts",
      "ExpirationTime": "2025-04-04T21:46:28.64311+02:00",
      "Id": "00000000-0000-0000-0000-000000000000"
    },
    "LessonOptions": [
      {
        "LessonGroupOptionId": "00000000-0000-0000-0000-000000000000",
        "Quantity": 0
      }
    ],
    "DigitalWalletCharge": null,
    "ExternalCardNumber": "string_example",
    "CustomCardNumber": "string_example",
    "ItemOptions": [
      {
        "OptionId": "00000000-0000-0000-0000-000000000000",
        "OptionValueId": "00000000-0000-0000-0000-000000000000"
      }
    ],
    "BebarmaticTicketId": "string_example",
    "Hours": "00:00:00",
    "StartDate": null,
    "EndDate": null,
    "NMBSTicket": {
      "ProductId": 0,
      "Comment": null,
      "Customer": null,
      "ExpectedPrice": 0.0,
      "Journey": null,
      "OrganismCode": null,
      "CustomerReference": null,
      "ParentTicketNumber": null
    },
    "CombiExpositionTicketId": "00000000-0000-0000-0000-000000000000",
    "CardCreationExtraCostItem": false,
    "OptionsPerQuantity": false,
    "CombiExpositionExpositionId": "00000000-0000-0000-0000-000000000000",
    "DirectDebitSignature": "string_example"
  },
  "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.ArticleSale, ReCreateX.WebShop.WebServices.Contracts",
      "Article": null,
      "DivisionId": "00000000-0000-0000-0000-000000000000",
      "Id": "00000000-0000-0000-0000-000000000000",
      "UseCards": null,
      "Quantity": 0,
      "GenLoyaltyCards": null,
      "CustomerID": null,
      "RuleNamesToIgnore": null,
      "UnitPrice": 0.0,
      "CustomPrice": 0.0,
      "AdvancementPrice": null,
      "ExtraDescription": null,
      "SubscriptionCustomerID": null,
      "AsReseller": false,
      "SubscriptionStartDate": null,
      "CustomerContactId": "00000000-0000-0000-0000-000000000000",
      "SubscriptionEndDate": null,
      "PromotionRuleDiscountAmount": 0.0,
      "ExtraInfoNotPrintedOnTicket": null,
      "CouponUsers": null,
      "DirectDebitStartDate": null,
      "DirectDebitCollectionDay": null,
      "LessonGroupId": null,
      "SubscriptionContactID": null,
      "UitpasPrice": 0.0,
      "UitpasNumber": null,
      "UitpasPriceGroup": null,
      "ProRataFactor": null,
      "NumberAddedWithApplyingPromoRules": 0,
      "LockTicket": null,
      "LessonOptions": null,
      "DigitalWalletCharge": null,
      "ExternalCardNumber": null,
      "CustomCardNumber": null,
      "ItemOptions": null,
      "BebarmaticTicketId": null,
      "Hours": "00:00:00",
      "StartDate": null,
      "EndDate": null,
      "NMBSTicket": null,
      "CombiExpositionTicketId": "00000000-0000-0000-0000-000000000000",
      "CardCreationExtraCostItem": false,
      "OptionsPerQuantity": false,
      "CombiExpositionExpositionId": "00000000-0000-0000-0000-000000000000",
      "DirectDebitSignature": null
    },
    "IsValid": false,
    "Message": "string_example",
    "brokenRuleName": null
  }
}

ShouldBeExecuted

Postdata

Response