ValidateBasketItem

Paths

Example

Example request object

{
  "BasketItem": {
    "$type": "ReCreateX.WebShop.WebServices.Contracts.FileActivityPeriodReservation, ReCreateX.WebShop.WebServices.Contracts",
    "FileActivityId": "00000000-0000-0000-0000-000000000000",
    "DivisionId": "00000000-0000-0000-0000-000000000000",
    "FileTypeID": "00000000-0000-0000-0000-000000000000",
    "Id": "00000000-0000-0000-0000-000000000000",
    "FileAgeGroupID": "00000000-0000-0000-0000-000000000000",
    "Quantity": 1,
    "Entries": null,
    "RuleNamesToIgnore": null,
    "ExecutionDate": "2024-11-21T14:09:30.9457036+01:00",
    "UnitPrice": 0.0,
    "ExecutionTime": "00:00:00",
    "AdvancementPrice": 0.0,
    "ExecutionEndDate": "2024-11-21T14:09:30.9457036+01:00",
    "AsReseller": false,
    "ExecutionEndTime": "00:00:00",
    "CustomerContactId": "00000000-0000-0000-0000-000000000000",
    "NumberOfVisitors": 0,
    "PromotionRuleDiscountAmount": 0.0,
    "Comment": "string_example",
    "LockTicket": {
      "$type": "ReCreateX.WebShop.WebServices.Contracts.WaitingListSaleLockTicket, ReCreateX.WebShop.WebServices.Contracts",
      "ExpirationTime": "2024-11-21T14:09:30.9457036+01:00",
      "Id": "00000000-0000-0000-0000-000000000000"
    },
    "Description": "string_example",
    "LocationAddressID": "00000000-0000-0000-0000-000000000000"
  },
  "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.FileActivityPeriodReservation, ReCreateX.WebShop.WebServices.Contracts",
      "FileActivityId": "00000000-0000-0000-0000-000000000000",
      "DivisionId": "00000000-0000-0000-0000-000000000000",
      "FileTypeID": "00000000-0000-0000-0000-000000000000",
      "Id": "00000000-0000-0000-0000-000000000000",
      "FileAgeGroupID": "00000000-0000-0000-0000-000000000000",
      "Quantity": 1,
      "Entries": null,
      "RuleNamesToIgnore": null,
      "ExecutionDate": "2024-11-21T14:09:30.9457036+01:00",
      "UnitPrice": 0.0,
      "ExecutionTime": "00:00:00",
      "AdvancementPrice": 0.0,
      "ExecutionEndDate": "2024-11-21T14:09:30.9457036+01:00",
      "AsReseller": false,
      "ExecutionEndTime": "00:00:00",
      "CustomerContactId": "00000000-0000-0000-0000-000000000000",
      "NumberOfVisitors": 0,
      "PromotionRuleDiscountAmount": 0.0,
      "Comment": null,
      "LockTicket": null,
      "Description": null,
      "LocationAddressID": "00000000-0000-0000-0000-000000000000"
    },
    "IsValid": false,
    "Message": "string_example",
    "brokenRuleName": null
  }
}

ShouldBeExecuted

Postdata

Response