Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Current »

How does the flatrateline endpoint work?

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 = 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 and is_manual_input = 1

  7. sort_order wrong value (does already exist)

  8. article_id but not filled article_number

  9. article_id but article_number, does not belong to article_id

  10. unit_type but not filled article_kind

  11. article_kind but not filled unit_type

  12. article_id or article_number and is_manual_input but then these must be filled article_kind and unit_type


Related articles

  • No labels