ValidateBasketItem

Paths

Example

Example request object

{
  "BasketItem": {
    "$type": "ReCreateX.WebShop.WebServices.Contracts.CultureEventReservation, ReCreateX.WebShop.WebServices.Contracts",
    "Comments": "string_example",
    "DivisionId": "00000000-0000-0000-0000-000000000000",
    "CultureEventId": "00000000-0000-0000-0000-000000000000",
    "Id": "00000000-0000-0000-0000-000000000000",
    "CultureSubscriptionId": "00000000-0000-0000-0000-000000000000",
    "Quantity": 0,
    "CustomerId": null,
    "RuleNamesToIgnore": null,
    "CustomerPriceGroupId": null,
    "UnitPrice": 0.0,
    "Entries": null,
    "AdvancementPrice": 0.0,
    "LockTicket": {
      "$type": "ReCreateX.WebShop.WebServices.Contracts.ChildCareCentreEntryReservationLockTicket, ReCreateX.WebShop.WebServices.Contracts",
      "ExpirationTime": "2019-12-12T01:44:32.3396316+01:00",
      "Id": "00000000-0000-0000-0000-000000000000"
    },
    "AsReseller": false,
    "MustBeANewReservation": false,
    "CustomerContactId": "00000000-0000-0000-0000-000000000000",
    "Options": null,
    "PromotionRuleDiscountAmount": 0.0,
    "ReservationDate": "2019-12-12T01:44:32.3396316+01:00",
    "ShipTickets": false,
    "GiveDonation": false,
    "CultureSeriesId": "00000000-0000-0000-0000-000000000000",
    "TraderId": null,
    "WaiterPadDiscountPercentage": 0.0,
    "Type": 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.CultureEventReservation, ReCreateX.WebShop.WebServices.Contracts",
      "Comments": null,
      "DivisionId": "00000000-0000-0000-0000-000000000000",
      "CultureEventId": "00000000-0000-0000-0000-000000000000",
      "Id": "00000000-0000-0000-0000-000000000000",
      "CultureSubscriptionId": "00000000-0000-0000-0000-000000000000",
      "Quantity": 0,
      "CustomerId": null,
      "RuleNamesToIgnore": null,
      "CustomerPriceGroupId": null,
      "UnitPrice": 0.0,
      "Entries": null,
      "AdvancementPrice": 0.0,
      "LockTicket": null,
      "AsReseller": false,
      "MustBeANewReservation": false,
      "CustomerContactId": "00000000-0000-0000-0000-000000000000",
      "Options": null,
      "PromotionRuleDiscountAmount": 0.0,
      "ReservationDate": "2019-12-12T01:44:32.3396316+01:00",
      "ShipTickets": false,
      "GiveDonation": false,
      "CultureSeriesId": "00000000-0000-0000-0000-000000000000",
      "TraderId": null,
      "WaiterPadDiscountPercentage": 0.0,
      "Type": 0
    },
    "IsValid": false,
    "Message": "string_example",
    "brokenRuleName": null
  }
}

ShouldBeExecuted

Postdata

Response