ValidateBasketItem

Paths

Example

Example request object

{
  "BasketItem": {
    "$type": "ReCreateX.WebShop.WebServices.Contracts.FamilySubscriptionAdjustment, ReCreateX.WebShop.WebServices.Contracts",
    "SubscriptionId": "00000000-0000-0000-0000-000000000000",
    "DivisionId": "00000000-0000-0000-0000-000000000000",
    "Id": "00000000-0000-0000-0000-000000000000",
    "CustomerCardUsages": null,
    "Quantity": 0,
    "RuleNamesToIgnore": null,
    "UnitPrice": 0.0,
    "AdvancementPrice": 0.0,
    "AsReseller": false,
    "CustomerContactId": "00000000-0000-0000-0000-000000000000",
    "PromotionRuleDiscountAmount": 0.0
  },
  "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.RentalReservation, ReCreateX.WebShop.WebServices.Contracts",
      "ArticleId": "00000000-0000-0000-0000-000000000000",
      "DivisionId": "00000000-0000-0000-0000-000000000000",
      "From": "2024-12-02T15:41:17.3694227+01:00",
      "Id": "00000000-0000-0000-0000-000000000000",
      "Until": "2024-12-02T15:41:17.3694227+01:00",
      "Quantity": 0,
      "Delivery": null,
      "RuleNamesToIgnore": null,
      "Return": null,
      "UnitPrice": 0.0,
      "AdvancementPrice": 0.0,
      "LockTicket": null,
      "OrderWithoutPayment": false,
      "AsReseller": false,
      "RentalPrice": 0.0,
      "CustomerContactId": "00000000-0000-0000-0000-000000000000",
      "Comments": null,
      "PromotionRuleDiscountAmount": 0.0,
      "Customer": null,
      "RentalUnitPrice": 0.0,
      "RentalQuantity": 0,
      "RentalHours": 0.0,
      "RentalDays": 0.0,
      "RentalNights": 0.0,
      "SingleReservation": false,
      "GroupReservationByDate": false,
      "ToDeliver": false,
      "RentalHeaderId": "00000000-0000-0000-0000-000000000000",
      "RentalLineIds": null,
      "ActivityId": null,
      "Location": null,
      "ContactId": null,
      "RelationId": null,
      "DesiredQuantity": 0,
      "GeneralComment": null,
      "Status": 0,
      "Reference": null
    },
    "IsValid": false,
    "Message": "string_example",
    "brokenRuleName": null
  }
}

ShouldBeExecuted

Postdata

Response