ValidateBasketItem

Paths

Example

Example request object

{
  "BasketItem": {
    "$type": "ReCreateX.WebShop.WebServices.Contracts.CultureSeriesReservation, ReCreateX.WebShop.WebServices.Contracts",
    "Id": "00000000-0000-0000-0000-000000000000",
    "DivisionId": "00000000-0000-0000-0000-000000000000",
    "CultureSeriesID": "00000000-0000-0000-0000-000000000000",
    "Entries": null,
    "Options": null,
    "RuleNamesToIgnore": null,
    "Comments": "string_example",
    "CustomerId": null,
    "Quantity": 0,
    "AsReseller": false,
    "UnitPrice": 0.0,
    "CustomerContactId": "00000000-0000-0000-0000-000000000000",
    "AdvancementPrice": 0.0,
    "LockTicket": {
      "$type": "ReCreateX.WebShop.WebServices.Contracts.CultureEventReservationLockTicket, ReCreateX.WebShop.WebServices.Contracts",
      "SeatAllocations": null,
      "ExpirationTime": "2025-04-04T16:31:02.9346981+02:00",
      "SiteAllocations": null,
      "Id": "00000000-0000-0000-0000-000000000000",
      "SeatsKeptTogether": false
    },
    "PromotionRuleDiscountAmount": 0.0,
    "ShipTickets": 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.CultureSeriesReservation, ReCreateX.WebShop.WebServices.Contracts",
      "Id": "00000000-0000-0000-0000-000000000000",
      "DivisionId": "00000000-0000-0000-0000-000000000000",
      "CultureSeriesID": "00000000-0000-0000-0000-000000000000",
      "Entries": null,
      "Options": null,
      "RuleNamesToIgnore": null,
      "Comments": null,
      "CustomerId": null,
      "Quantity": 0,
      "AsReseller": false,
      "UnitPrice": 0.0,
      "CustomerContactId": "00000000-0000-0000-0000-000000000000",
      "AdvancementPrice": 0.0,
      "LockTicket": null,
      "PromotionRuleDiscountAmount": 0.0,
      "ShipTickets": false
    },
    "IsValid": false,
    "Message": "string_example",
    "brokenRuleName": null
  }
}

ShouldBeExecuted

Postdata

Response