ValidateBasketItem

Paths

Example

Example request object

{
  "BasketItem": {
    "$type": "ReCreateX.WebShop.WebServices.Contracts.OptionalRecurringPlaceReservation, ReCreateX.WebShop.WebServices.Contracts",
    "ReservationUnitPrice": 0.0,
    "Pattern": {
      "StartDate": "2025-01-22T23:55:35.4586189+03:00",
      "StartTime": "00:00:00",
      "EndDate": "2025-01-22T23:55:35.4586189+03:00",
      "EndTime": "00:00:00",
      "MaximumIterations": 0,
      "FrequencyType": 0,
      "Frequency": null,
      "WeekPattern": null,
      "MonthPattern": null,
      "YearPattern": null,
      "ExclusionDates": null
    },
    "ReservationActivityId": "00000000-0000-0000-0000-000000000000",
    "DivisionId": "00000000-0000-0000-0000-000000000000",
    "ReservationPrice": 0.0,
    "PlaceReservations": null,
    "Id": "00000000-0000-0000-0000-000000000000",
    "PlaceId": "00000000-0000-0000-0000-000000000000",
    "ValidPeriods": [
      {
        "From": "2025-01-22T23:55:35.4586189+03:00",
        "Until": "2025-01-22T23:55:35.4586189+03:00"
      }
    ],
    "Quantity": 0,
    "StartDate": "2025-01-22T23:55:35.4586189+03:00",
    "InvalidPeriods": [
      {
        "ValidationResult": null,
        "From": "2025-01-22T23:55:35.4586189+03:00",
        "Until": "2025-01-22T23:55:35.4586189+03:00"
      }
    ],
    "StartTime": "00:00:00",
    "RuleNamesToIgnore": null,
    "From": "2025-01-22T23:55:35.4586189+03:00",
    "UnitPrice": 0.0,
    "EndDate": "2025-01-22T23:55:35.4586189+03:00",
    "Until": "2025-01-22T23:55:35.4586189+03:00",
    "AdvancementPrice": 0.0,
    "EndTime": "00:00:00",
    "Comments": "string_example",
    "AsReseller": false,
    "SerieId": "00000000-0000-0000-0000-000000000000",
    "CustomerContactId": "00000000-0000-0000-0000-000000000000",
    "SerieNumber": 0,
    "PromotionRuleDiscountAmount": 0.0,
    "ReservationNumber": 0,
    "LockTicket": {
      "$type": "ReCreateX.WebShop.WebServices.Contracts.WaitingListSaleLockTicket, ReCreateX.WebShop.WebServices.Contracts",
      "ExpirationTime": "2025-01-22T23:55:35.4586189+03:00",
      "Id": "00000000-0000-0000-0000-000000000000"
    },
    "NumberOfParticipants": 0,
    "ArticleSales": null,
    "RentalReservations": null,
    "DivisionCardID": null,
    "CustomerID": "00000000-0000-0000-0000-000000000000",
    "ValidateSubscriptionForPlace": false,
    "ValidateSubscriptionForActivity": false,
    "PriceGroupID": null,
    "SubsidyInfoID": null,
    "WaiterPadDiscountPercentage": 0.0,
    "Subject": "string_example",
    "CompetitionType": null,
    "InfrastructureDescription": "string_example",
    "PlaceDescription": "string_example",
    "ReservationActivityDescription": "string_example",
    "InfrastructureId": "00000000-0000-0000-0000-000000000000",
    "ContactId": 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.OptionalRecurringPlaceReservation, ReCreateX.WebShop.WebServices.Contracts",
      "ReservationUnitPrice": 0.0,
      "Pattern": null,
      "ReservationActivityId": "00000000-0000-0000-0000-000000000000",
      "DivisionId": "00000000-0000-0000-0000-000000000000",
      "ReservationPrice": 0.0,
      "PlaceReservations": null,
      "Id": "00000000-0000-0000-0000-000000000000",
      "PlaceId": "00000000-0000-0000-0000-000000000000",
      "ValidPeriods": null,
      "Quantity": 0,
      "StartDate": "2025-01-22T23:55:35.4586189+03:00",
      "InvalidPeriods": null,
      "StartTime": "00:00:00",
      "RuleNamesToIgnore": null,
      "From": "2025-01-22T23:55:35.4586189+03:00",
      "UnitPrice": 0.0,
      "EndDate": "2025-01-22T23:55:35.4586189+03:00",
      "Until": "2025-01-22T23:55:35.4586189+03:00",
      "AdvancementPrice": 0.0,
      "EndTime": "00:00:00",
      "Comments": null,
      "AsReseller": false,
      "SerieId": "00000000-0000-0000-0000-000000000000",
      "CustomerContactId": "00000000-0000-0000-0000-000000000000",
      "SerieNumber": 0,
      "PromotionRuleDiscountAmount": 0.0,
      "ReservationNumber": 0,
      "LockTicket": null,
      "NumberOfParticipants": 0,
      "ArticleSales": null,
      "RentalReservations": null,
      "DivisionCardID": null,
      "CustomerID": "00000000-0000-0000-0000-000000000000",
      "ValidateSubscriptionForPlace": false,
      "ValidateSubscriptionForActivity": false,
      "PriceGroupID": null,
      "SubsidyInfoID": null,
      "WaiterPadDiscountPercentage": 0.0,
      "Subject": null,
      "CompetitionType": null,
      "InfrastructureDescription": null,
      "PlaceDescription": null,
      "ReservationActivityDescription": null,
      "InfrastructureId": "00000000-0000-0000-0000-000000000000",
      "ContactId": null
    },
    "IsValid": false,
    "Message": "string_example",
    "brokenRuleName": null
  }
}

ShouldBeExecuted

Postdata

Response