ValidateBasketItem

Paths

Example

Example request object

{
  "BasketItem": {
    "$type": "ReCreateX.WebShop.WebServices.Contracts.PlaceReservation, ReCreateX.WebShop.WebServices.Contracts",
    "ReservationActivityId": "00000000-0000-0000-0000-000000000000",
    "DivisionId": "00000000-0000-0000-0000-000000000000",
    "Id": "00000000-0000-0000-0000-000000000000",
    "PlaceId": "00000000-0000-0000-0000-000000000000",
    "Quantity": 0,
    "StartDate": "2019-09-20T17:09:51.7617676+02:00",
    "StartTime": "00:00:00",
    "RuleNamesToIgnore": null,
    "UnitPrice": 0.0,
    "EndDate": "2019-09-20T17:09:51.7617676+02: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.ActivityReservationLockTicket, ReCreateX.WebShop.WebServices.Contracts",
      "ExpirationTime": "2019-09-20T17:09:51.7617676+02: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"
  },
  "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.PlaceReservation, ReCreateX.WebShop.WebServices.Contracts",
      "ReservationActivityId": "00000000-0000-0000-0000-000000000000",
      "DivisionId": "00000000-0000-0000-0000-000000000000",
      "Id": "00000000-0000-0000-0000-000000000000",
      "PlaceId": "00000000-0000-0000-0000-000000000000",
      "Quantity": 0,
      "StartDate": "2019-09-20T17:09:51.7773931+02:00",
      "StartTime": "00:00:00",
      "RuleNamesToIgnore": null,
      "UnitPrice": 0.0,
      "EndDate": "2019-09-20T17:09:51.7773931+02: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
    },
    "IsValid": false,
    "Message": "string_example",
    "brokenRuleName": null
  }
}

ShouldBeExecuted

Postdata

Response