ValidateBasketItem

Paths

Example

Example request object

{
  "BasketItem": {
    "$type": "ReCreateX.WebShop.WebServices.Contracts.WaitingListSale, ReCreateX.WebShop.WebServices.Contracts",
    "Id": "00000000-0000-0000-0000-000000000000",
    "DivisionId": "00000000-0000-0000-0000-000000000000",
    "Quantity": 0,
    "UnitPrice": 0.0,
    "WaitingListId": "00000000-0000-0000-0000-000000000000",
    "RuleNamesToIgnore": null,
    "ItemId": "00000000-0000-0000-0000-000000000000",
    "WaitingListLessonGroups": null,
    "LockTicket": {
      "$type": "ReCreateX.WebShop.WebServices.Contracts.RecurringPlaceReservationLockTicket, ReCreateX.WebShop.WebServices.Contracts",
      "PlaceReservationLocks": null,
      "ExpirationTime": "2020-01-19T03:37:10.5384316+01:00",
      "Id": "00000000-0000-0000-0000-000000000000"
    },
    "AsReseller": false,
    "PersonID": "00000000-0000-0000-0000-000000000000",
    "CustomerContactId": "00000000-0000-0000-0000-000000000000",
    "Comments": "string_example",
    "PromotionRuleDiscountAmount": 0.0,
    "AdvancementPrice": 0.0,
    "CustomerID": 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.WaitingListSale, ReCreateX.WebShop.WebServices.Contracts",
      "Id": "00000000-0000-0000-0000-000000000000",
      "DivisionId": "00000000-0000-0000-0000-000000000000",
      "Quantity": 0,
      "UnitPrice": 0.0,
      "WaitingListId": "00000000-0000-0000-0000-000000000000",
      "RuleNamesToIgnore": null,
      "ItemId": "00000000-0000-0000-0000-000000000000",
      "WaitingListLessonGroups": null,
      "LockTicket": null,
      "AsReseller": false,
      "PersonID": "00000000-0000-0000-0000-000000000000",
      "CustomerContactId": "00000000-0000-0000-0000-000000000000",
      "Comments": null,
      "PromotionRuleDiscountAmount": 0.0,
      "AdvancementPrice": 0.0,
      "CustomerID": null
    },
    "IsValid": false,
    "Message": "string_example",
    "brokenRuleName": null
  }
}

ShouldBeExecuted

Postdata

Response