Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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:

...

  1. article_id and quantity filled and not filled turnovergroup_id

  2. article_id

    +

    used and is_manual_input = 1 

  3. is_no_article_price = 1 and not filled article_id

  4. is_no_article_price

    en geen

    = 1 and not filled price or price = 0

  5. article_number and is_manual_input and not filled article_id

  6. article_numer and article_id

...

  1. and is_manual_input = 1

  2. sort_order wrong value (does already exist)

  3. article_id but not filled article_number

  4. article_id but article_number, does not belong to article_id

  5. unit_type but not filled article_kind

  6. article_kind but not filled unit_type

  7. 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)
showLabelsfalse
sortmodified
showSpacefalse
reversetrue

...

...

cqllabel = "autoflex10" and

...

space = "

...

hiddentrue

...

API"