ValidatePurchaseLine

Paths

Example

Example request object

{
  "PurchaseLineRequest": {
    "Id": "00000000-0000-0000-0000-000000000000",
    "PurchaseId": "00000000-0000-0000-0000-000000000000",
    "ArticleId": "00000000-0000-0000-0000-000000000000",
    "Description": "string_example",
    "Description2": "string_example",
    "PurchaseUnitId": "00000000-0000-0000-0000-000000000000",
    "Quantity": 0.0,
    "StockLocationId": null,
    "Hours": 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

{
  "Result": {
    "IsValid": false,
    "Message": "string_example",
    "brokenRuleName": null
  }
}

ShouldBeExecuted

Postdata

Response