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

    en geen

    and not filled article_id

    gevuld

  4. is_no_article_price = 1

    en geen price of

    and not filled price or price = 0

  5. article_number

    gevuld

    and is_manual_input

    en

    and not filled article_id

    niet gevuld

  6. article_numer

    en

    and article_id

    gevuld en

    and is_manual_input = 1

  7. sort_order

    verkeerde waarde (bestaat al)

...

  1. wrong value (does already exist)

  2. article_id but not filled article_number

  3. article_id but article_number, does not belong to article_id

  4. unit_type but not filled article_kind

  5. article_kind but not filled unit_type

  6. 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"