Creates a new article
Request Information
URI Parameters :
None.
Body Parameters :
articleName | Description | Type | Additional information |
---|---|---|---|
id |
Primary Key |
globally unique identifier |
Required |
article_category_id |
Foreign key to article category |
globally unique identifier | |
article_category |
Embedded entity "article_category" when adding/updating article |
article_category | |
article_category_code |
Embedded entity "article_category" using ERP PK when adding/updating article |
string | |
article_group_1_id |
Foreign key to article_group_1 |
globally unique identifier | |
article_group_1_code |
Embedded entity "article_group_1" using ERP PK when adding/updating article |
string | |
article_group_1 |
Embedded entity "article_group_1" using ERP PK when adding/updating article |
article_group_1 | |
article_group_2_id |
Foreign key to article_group_2 |
globally unique identifier | |
article_group_2_code |
Embedded entity "article_group_2" using ERP PK when adding/updating article |
string | |
article_group_2 |
Embedded entity "article_group_2" using ERP PK when adding/updating article |
article_group_2 | |
article_group_3_id |
Foreign key to article_group_3 |
globally unique identifier | |
article_group_3_code |
Embedded entity "article_group_3" using ERP PK when adding/updating article |
string | |
article_group_3 |
Embedded entity "article_group_3" using ERP PK when adding/updating article |
article_group_3 | |
article_group_4_id |
Foreign key to article_group_4 |
globally unique identifier | |
article_group_4_code |
Embedded entity "article_group_4" using ERP PK when adding/updating article |
string | |
article_group_4 |
Embedded entity "article_group_4" using ERP PK when adding/updating article |
article_group_4 | |
article_group_5_id |
Foreign key to article_group_5 |
globally unique identifier | |
article_group_5_code |
Embedded entity "article_group_5" using ERP PK when adding/updating article |
string | |
article_group_5 |
Embedded entity "article_group_5" using ERP PK when adding/updating article |
article_group_5 | |
article_group_6_id |
Foreign key to article_group_6 |
globally unique identifier | |
article_group_6_code |
Embedded entity "article_group_6" using ERP PK when adding/updating article |
string | |
article_group_6 |
Embedded entity "article_group_6" using ERP PK when adding/updating article |
article_group_6 | |
physical_stock |
Physical stock from the ERP (used for Eco Stock) |
integer | |
back_order_client |
Number of pieces reserved for clients (used for Eco Stock) |
integer | |
back_order_supplier |
Number of pieces that should arrive from the supplier (used for Eco stock if expected delivery is in the past) |
integer | |
expected_delivery_date_bo_supplier |
Date when the delivery from the supplier should arrive (used for Eco stock) |
date | |
article_increment |
For Sales : Increment used to order (by 2, by 4 etc) |
integer | |
min_article_quantity |
For Sales : Minimum amount to be ordered |
integer | |
entered_price |
Standard article price |
decimal number | |
cost_price | decimal number | ||
no_stock |
For Sales : Disables the stock check |
boolean | |
archived |
Archives an article (cannot be deleted) |
boolean | |
is_travel_fee |
Indicate that this article will be used to compute the fee based on the car travel time |
boolean | |
is_mileage_fee |
Indicate that this article will be used to compute the fee based on the distance. |
boolean | |
code |
The Id/Ref of the back office. Used by Embedded entity |
string |
Max length: 50 |
name |
Name of the article |
string |
Required Max length: 50 |
description_short |
Description (if exists, otherwhise name will be used) |
string |
Max length: 100 |
description_long |
Long description |
string | |
barcode |
Barcode of the article (fast search) |
string |
Max length: 50 |
notes |
Notes (remark, details) |
string |
Max length: 255 |
date_create |
Creation date, auto filled by Now if no value received |
date | |
date_update |
Update date, auto filled by Now if no value received |
date | |
modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date | |
article_color_id |
Foreign key to article_color |
globally unique identifier | |
article_color_code |
Embedded entity "article_color" using ERP PK when adding/updating article |
string | |
article_color |
Embedded entity "article_color" when adding/updating article |
article_color | |
warranty_period_nb_months |
warranty_period_nb_months |
integer | |
use_serial |
use_serial |
boolean | |
_replace_id |
Foreign key to article that replace the current article |
globally unique identifier | |
replace_article |
Embedded entity "article" of replace, when adding/updating article |
article | |
replace_article_code |
Embedded code "article" of replace, when adding/updating article |
string | |
db_unit_of_measure_id_selling |
Applicable db_unit_of_measure |
globally unique identifier | |
db_unit_of_measure_code_selling |
Applicable db_unit_of_measure |
string | |
translations |
List of translation of specific field name |
Collection of translation | |
udf1 |
Custom field udf1 |
string | |
udf2 |
Custom field udf2 |
string | |
udf3 |
Custom field udf3 |
string | |
udf4 |
Custom field udf4 |
string | |
udf5 |
Custom field udf5 |
string | |
udf6 |
Custom field udf6 |
string | |
udf7 |
Custom field udf7 |
string | |
udf8 |
Custom field udf8 |
string | |
udf9 |
Custom field udf9 |
string | |
udf10 |
Custom field udf10 |
string | |
udf11 |
Custom field udf11 |
string | |
udf12 |
Custom field udf12 |
string | |
udf13 |
Custom field udf13 |
string | |
udf14 |
Custom field udf14 |
string | |
udf15 |
Custom field udf15 |
string | |
udf16 |
Custom field udf16 |
string | |
udf17 |
Custom field udf17 |
string | |
udf18 |
Custom field udf18 |
string | |
udf19 |
Custom field udf19 |
string | |
udf20 |
Custom field udf20 |
string | |
udf21 |
Custom field udf21 |
string | |
udf22 |
Custom field udf22 |
string | |
udf23 |
Custom field udf23 |
string | |
udf24 |
Custom field udf24 |
string | |
udf25 |
Custom field udf25 |
string | |
udf26 |
Custom field udf26 |
string | |
udf27 |
Custom field udf27 |
string | |
udf28 |
Custom field udf28 |
string | |
udf29 |
Custom field udf29 |
string | |
udf30 |
Custom field udf30 |
string | |
udf31 |
Custom field udf31 |
string | |
udf32 |
Custom field udf32 |
string | |
udf33 |
Custom field udf33 |
string | |
udf34 |
Custom field udf34 |
string | |
udf35 |
Custom field udf35 |
string | |
udf36 |
Custom field udf36 |
string | |
udf37 |
Custom field udf37 |
string | |
udf38 |
Custom field udf38 |
string | |
udf39 |
Custom field udf39 |
string | |
udf40 |
Custom field udf40 |
string | |
udf41 |
Custom field udf41 |
string | |
udf42 |
Custom field udf42 |
string | |
udf43 |
Custom field udf43 |
string | |
udf44 |
Custom field udf44 |
string | |
udf45 |
Custom field udf45 |
string | |
udf46 |
Custom field udf46 |
string | |
udf47 |
Custom field udf47 |
string | |
udf48 |
Custom field udf48 |
string | |
udf49 |
Custom field udf49 |
string | |
udf50 |
Custom field udf50 |
string | |
udf51 |
Custom field udf51 |
string | |
udf52 |
Custom field udf52 |
string | |
udf53 |
Custom field udf53 |
string | |
udf54 |
Custom field udf54 |
string | |
udf55 |
Custom field udf55 |
string | |
udf56 |
Custom field udf56 |
string | |
udf57 |
Custom field udf57 |
string | |
udf58 |
Custom field udf58 |
string | |
udf59 |
Custom field udf59 |
string | |
udf60 |
Custom field udf60 |
string | |
udf61 |
Custom field udf61 |
string | |
udf62 |
Custom field udf62 |
string | |
udf63 |
Custom field udf63 |
string | |
udf64 |
Custom field udf64 |
string | |
udf65 |
Custom field udf65 |
string | |
udf66 |
Custom field udf66 |
string | |
udf67 |
Custom field udf67 |
string | |
udf68 |
Custom field udf68 |
string | |
udf69 |
Custom field udf69 |
string | |
udf70 |
Custom field udf70 |
string | |
udf71 |
Custom field udf71 |
string | |
udf72 |
Custom field udf72 |
string | |
udf73 |
Custom field udf73 |
string | |
udf74 |
Custom field udf74 |
string | |
udf75 |
Custom field udf75 |
string | |
udf76 |
Custom field udf76 |
string | |
udf77 |
Custom field udf77 |
string | |
udf78 |
Custom field udf78 |
string | |
udf79 |
Custom field udf79 |
string | |
udf80 |
Custom field udf80 |
string | |
udf81 |
Custom field udf81 |
string | |
udf82 |
Custom field udf82 |
string | |
udf83 |
Custom field udf83 |
string | |
udf84 |
Custom field udf84 |
string | |
udf85 |
Custom field udf85 |
string | |
udf86 |
Custom field udf86 |
string | |
udf87 |
Custom field udf87 |
string | |
udf88 |
Custom field udf88 |
string | |
udf89 |
Custom field udf89 |
string | |
udf90 |
Custom field udf90 |
string | |
udf91 |
Custom field udf91 |
string | |
udf92 |
Custom field udf92 |
string | |
udf93 |
Custom field udf93 |
string | |
udf94 |
Custom field udf94 |
string | |
udf95 |
Custom field udf95 |
string | |
udf96 |
Custom field udf96 |
string | |
udf97 |
Custom field udf97 |
string | |
udf98 |
Custom field udf98 |
string | |
udf99 |
Custom field udf99 |
string | |
udf100 |
Custom field udf100 |
string |
Request Formats :
application/json, text/json
{ "id": "40746aec-8c9f-4e76-b2a3-77247b24011a", "article_category_id": "b7732b2f-a58b-48e1-b5c9-5586c073690f", "article_category": { "id": "e9ff491e-2715-4e96-9f00-bb5b61bfdd81", "parent_id": "822cb85c-8893-495e-b7c7-9522b519f9f1", "parent_code": "sample string 3", "code": "sample string 4", "name": "sample string 5", "modified_dateutc": "2025-01-18T10:53:31.8388127+00:00" }, "article_category_code": "sample string 3", "article_group_1_id": "eb9846a7-1b22-429d-8970-8e2d00f0e15a", "article_group_1_code": "sample string 5", "article_group_2_id": "851237b3-770d-48d9-8db4-7a8cc5f1a489", "article_group_2_code": "sample string 7", "article_group_3_id": "acf536f9-b76f-4ad5-b37f-53772c2a922f", "article_group_3_code": "sample string 9", "article_group_4_id": "a3d6aeac-7c80-4d16-bcc5-51969f471e83", "article_group_4_code": "sample string 11", "article_group_5_id": "fb97cc31-b3c4-46fd-8be9-2615b2d54635", "article_group_5_code": "sample string 13", "article_group_6_id": "3cd6ced9-c4e9-437d-94a8-ed8fc36545a4", "article_group_6_code": "sample string 15", "physical_stock": 16, "back_order_client": 17, "back_order_supplier": 18, "expected_delivery_date_bo_supplier": "2025-01-18T10:53:31.8388127+00:00", "article_increment": 20, "min_article_quantity": 21, "entered_price": 22.0, "cost_price": 23.1, "no_stock": true, "archived": true, "is_travel_fee": true, "is_mileage_fee": true, "code": "sample string 28", "name": "sample string 29", "description_short": "sample string 30", "description_long": "sample string 31", "barcode": "sample string 32", "notes": "sample string 33", "date_create": "2025-01-18T10:53:31.8388127+00:00", "date_update": "2025-01-18T10:53:31.8388127+00:00", "modified_dateutc": "2025-01-18T10:53:31.8388127+00:00", "article_color_id": "26e8357b-f308-4e02-9aa6-c8ac68fc20ca", "article_color_code": "sample string 38", "article_color": { "id": "e2e6a666-f595-44ca-8ee5-6c8c60a6d8b5", "name": "sample string 2", "code": "sample string 3", "modified_dateutc": "2025-01-18T10:53:31.8388127+00:00" }, "warranty_period_nb_months": 39, "use_serial": true, "_replace_id": "0c0f1953-a248-4de2-a693-8b02e47f5422", "replace_article_code": "sample string 42", "db_unit_of_measure_id_selling": "14bf2aff-317e-4890-bdca-fefe6b52226b", "db_unit_of_measure_code_selling": "sample string 44", "translations": [ { "field_name": "sample string 1", "language_code": "sample string 2", "value_translated": "sample string 3" }, { "field_name": "sample string 1", "language_code": "sample string 2", "value_translated": "sample string 3" } ], "udf1": "sample string 45", "udf2": "sample string 46", "udf3": "sample string 47", "udf4": "sample string 48", "udf5": "sample string 49", "udf6": "sample string 50", "udf7": "sample string 51", "udf8": "sample string 52", "udf9": "sample string 53", "udf10": "sample string 54", "udf11": "sample string 55", "udf12": "sample string 56", "udf13": "sample string 57", "udf14": "sample string 58", "udf15": "sample string 59", "udf16": "sample string 60", "udf17": "sample string 61", "udf18": "sample string 62", "udf19": "sample string 63", "udf20": "sample string 64", "udf21": "sample string 65", "udf22": "sample string 66", "udf23": "sample string 67", "udf24": "sample string 68", "udf25": "sample string 69", "udf26": "sample string 70", "udf27": "sample string 71", "udf28": "sample string 72", "udf29": "sample string 73", "udf30": "sample string 74", "udf31": "sample string 75", "udf32": "sample string 76", "udf33": "sample string 77", "udf34": "sample string 78", "udf35": "sample string 79", "udf36": "sample string 80", "udf37": "sample string 81", "udf38": "sample string 82", "udf39": "sample string 83", "udf40": "sample string 84", "udf41": "sample string 85", "udf42": "sample string 86", "udf43": "sample string 87", "udf44": "sample string 88", "udf45": "sample string 89", "udf46": "sample string 90", "udf47": "sample string 91", "udf48": "sample string 92", "udf49": "sample string 93", "udf50": "sample string 94", "udf51": "sample string 95", "udf52": "sample string 96", "udf53": "sample string 97", "udf54": "sample string 98", "udf55": "sample string 99", "udf56": "sample string 100", "udf57": "sample string 101", "udf58": "sample string 102", "udf59": "sample string 103", "udf60": "sample string 104", "udf61": "sample string 105", "udf62": "sample string 106", "udf63": "sample string 107", "udf64": "sample string 108", "udf65": "sample string 109", "udf66": "sample string 110", "udf67": "sample string 111", "udf68": "sample string 112", "udf69": "sample string 113", "udf70": "sample string 114", "udf71": "sample string 115", "udf72": "sample string 116", "udf73": "sample string 117", "udf74": "sample string 118", "udf75": "sample string 119", "udf76": "sample string 120", "udf77": "sample string 121", "udf78": "sample string 122", "udf79": "sample string 123", "udf80": "sample string 124", "udf81": "sample string 125", "udf82": "sample string 126", "udf83": "sample string 127", "udf84": "sample string 128", "udf85": "sample string 129", "udf86": "sample string 130", "udf87": "sample string 131", "udf88": "sample string 132", "udf89": "sample string 133", "udf90": "sample string 134", "udf91": "sample string 135", "udf92": "sample string 136", "udf93": "sample string 137", "udf94": "sample string 138", "udf95": "sample string 139", "udf96": "sample string 140", "udf97": "sample string 141", "udf98": "sample string 142", "udf99": "sample string 143", "udf100": "sample string 144" }
Response Information
Resource Description :
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample not available.