ValidateBasketItem

Paths

Example

Example request object

{
  "BasketItem": {
    "$type": "ReCreateX.WebShop.WebServices.Contracts.TableSale, ReCreateX.WebShop.WebServices.Contracts",
    "DivisionId": "00000000-0000-0000-0000-000000000000",
    "Id": "00000000-0000-0000-0000-000000000000",
    "Quantity": 0,
    "Name": "",
    "RuleNamesToIgnore": null,
    "UnitPrice": 0.0,
    "AdvancementPrice": 0.0,
    "Sequence": 0,
    "AsReseller": false,
    "CreateTimestamp": "2019-08-23T04:31:29.3529888+02:00",
    "CustomerContactId": "00000000-0000-0000-0000-000000000000",
    "TableSaleType": 0,
    "PromotionRuleDiscountAmount": 0.0,
    "ArticleId": null,
    "Description": "string_example",
    "ExtraDescription": "string_example",
    "Modifiers": null,
    "EmployeeId": "00000000-0000-0000-0000-000000000000",
    "OrganisedVisitId": null,
    "CultureEventReservationId": null,
    "ReservationId": null,
    "Amount": 0.0,
    "RentalHeaderId": null,
    "CustomerID": null,
    "RentalLineId": null,
    "WaiterPadDiscountPercentage": 0.0,
    "ActivityEntryId": null,
    "CustomPrice": null,
    "FitnessActivityDayReservationId": null,
    "Cancelled": 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.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": 0.0,
      "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
    },
    "IsValid": false,
    "Message": "string_example",
    "brokenRuleName": null
  }
}

ShouldBeExecuted

Postdata

Response