Hier wordt de wijze van de overige validatie beschreven van het endpoint, kijk altijd in het model voor de verplichte velden
Table of Contents |
---|
Stap 1: validatatie
De volgende combinaties van velden zijn niet mogelijk
...
How does the flatrateline endpoint work?
Table of Contents |
---|
Introduction
Always look to the model for list of required fields
Validation
During POST and PUT there is extra validation besides the required field check. The following combination of fields is not possible:
...
article_id and quantity filled and not filled turnovergroup_id
article_id
+used and is_manual_input = 1
is_no_article_price
en geen= 1 and not filled article_id
is_no_article_price
en geen price of= 1 and not filled price or price = 0
article_number
zonderand is_manual_input
en zonderand not filled article_id
article_numer
metand article_id
enand is_manual_input = 1
...
sort_order wrong value (does already exist)
article_id but not filled article_number
article_id but article_number, does not belong to article_id
unit_type but not filled article_kind
article_kind but not filled unit_type
article_id or article_number and is_manual_input but then these must be filled article_kind and unit_type
Related articles
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
|
...
|
...
hidden | true |
---|
...
|