ValidateBasketItem

Paths

Example

Example request object

{
  "BasketItem": {
    "$type": "ReCreateX.WebShop.WebServices.Contracts.RentalReservation, ReCreateX.WebShop.WebServices.Contracts",
    "ArticleId": "00000000-0000-0000-0000-000000000000",
    "DivisionId": "00000000-0000-0000-0000-000000000000",
    "From": "2021-05-13T13:55:58.5855941+01:00",
    "Id": "00000000-0000-0000-0000-000000000000",
    "Until": "2021-05-13T13:55:58.5855941+01:00",
    "Quantity": 0,
    "Delivery": null,
    "RuleNamesToIgnore": null,
    "Return": null,
    "UnitPrice": 0.0,
    "AdvancementPrice": 0.0,
    "LockTicket": {
      "$type": "ReCreateX.WebShop.WebServices.Contracts.PlaceReservationLockTicket, ReCreateX.WebShop.WebServices.Contracts",
      "ExpirationTime": "2021-05-13T13:55:58.5855941+01:00",
      "Id": "00000000-0000-0000-0000-000000000000"
    },
    "OrderWithoutPayment": false,
    "AsReseller": false,
    "RentalPrice": 0.0,
    "CustomerContactId": "00000000-0000-0000-0000-000000000000",
    "Comments": "string_example",
    "PromotionRuleDiscountAmount": 0.0,
    "Customer": {
      "ActivationId": null,
      "Address": null,
      "BankAccount": null,
      "BirthDate": null,
      "CellPhone": null,
      "Code": null,
      "Comments": null,
      "Credential": null,
      "Email": null,
      "Gender": 0,
      "Id": "00000000-0000-0000-0000-000000000000",
      "IsBlocked": false,
      "Language": null,
      "Name": null,
      "NationalNumber": null,
      "Phone": null,
      "Picture": null,
      "ResetPasswordId": null,
      "Settings": null,
      "Contacts": null,
      "Type": 0,
      "Parent": false,
      "Disabled": false,
      "HeadOfFamily": false,
      "Relations": null,
      "Info1": null,
      "Info2": null,
      "Info3": null,
      "Info4": null,
      "Info5": null,
      "ExternalMasterID": null,
      "ParentRelations": null,
      "InvoiceAddressId": null,
      "PictureUrl": null,
      "Status": null,
      "Title": null,
      "IBAN": null,
      "BIC": null,
      "AllowEdit": false,
      "IsWebBlocked": false,
      "Group": null,
      "Doctor": null,
      "Website": null,
      "ClubInfo": null,
      "Email2": null,
      "Phone2": null,
      "PasswordIsChangedByUserOnWeb": false,
      "ExternCustomerNumber": null,
      "LastPasswordUpdate": null,
      "TotalLlvCredits": 0.0,
      "VatNumber": null,
      "EnterpriseNumber": null,
      "BlockSynchronisation": false,
      "Student": false,
      "CapScanAddress": null,
      "UserComments": 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": "string_example",
    "ContactId": null,
    "RelationId": null,
    "DesiredQuantity": 0,
    "GeneralComment": "string_example",
    "Status": 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": "2021-05-13T13:55:58.5855941+01:00",
      "Id": "00000000-0000-0000-0000-000000000000",
      "Until": "2021-05-13T13:55:58.5855941+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
    },
    "IsValid": false,
    "Message": "string_example",
    "brokenRuleName": null
  }
}

ShouldBeExecuted

Postdata

Response