Retrieves all the purchase order order lines
Request Information
URI Parameters :
None.
Body Parameters :
None.
Response Information
Resource Description :
IHttpActionResult
purchase_order_detailsName | Description | Type | Additional information |
---|---|---|---|
id |
Primary Key |
globally unique identifier | |
purchase_order_id |
Foreign key of the purchase_order |
globally unique identifier |
Optionally required : purchase_order_id, purchase_order_reference or purchase_order must be provided |
purchase_order_reference_back_office |
Embedded entity "purchase_order" using ERP PK when adding/updating |
string |
Optionally required : purchase_order_id, purchase_order_reference_back_office or purchase_order must be provided |
purchase_order |
Embedded entity "purchase_order" when adding/updating |
purchase_order |
Optionally required : purchase_order_id, purchase_order_reference_back_office or purchase_order must be provided |
article_id |
Foreign key of article |
globally unique identifier |
Optionally required : article_id, article_code or article must be provided |
article_code |
Embedded entity "article" using ERP PK when adding/updating |
string |
Optionally required : article_id, article_code or article must be provided |
article |
Embedded entity "article" when adding/updating |
article |
Optionally required : article_id, article_code or article must be provided |
line_number |
Line Number, auto filled with (Highest+1) if value is 0/null |
integer | |
code |
Code of the article (auto filled if empty) |
string |
Max length: 255 |
supplier_code |
Code of the supplier for this article |
string |
Max length: 255 |
name |
Article Name (will be auto filled if article.name+description are empty) |
string |
Max length: 255 |
description |
Article description (will be auto filled by article.short_description if name+description are empty) |
string |
Max length: 255 |
price |
Unit Price |
decimal number |
Matching regular expression pattern: ^[0-9]\d*(\.\d+)?$ Range: inclusive between 0.1 and 1.79769313486232E+308 |
quantity |
Quantity |
decimal number |
Required Range: inclusive between 0.1 and 1.79769313486232E+308 |
memo |
Line memo/remark |
string | |
cost_price |
Unit Cost Price (statistic purpose) |
decimal number |
Matching regular expression pattern: ^[0-9]\d*(\.\d+)?$ |
reference_back_office |
Field used for Embedded entity (store there your ERP PK) |
string |
Max length: 50 |
modified_dateutc |
Readonly system field managed by database, filled with GetUtcDate when adding,updating |
date |
Response Formats
application/json, text/json
{ "id": "aba74f9e-e1ba-4601-b5c6-ab68f8f8333f", "purchase_order_id": "47edbe87-a276-4dec-a52a-1b675c3b8650", "purchase_order_reference_back_office": "sample string 3", "purchase_order": { "id": "4dce7aab-8b74-4769-bf85-e43f35b57e93", "id2": 2, "jobs_id": "599ffa3e-f2bb-4f94-abeb-8dbbe80d0591", "jobs_reference_back_office": "sample string 4", "supplier_company_id": "83335e63-599b-49ed-83bc-fb5c258d5f4e", "supplier_company_code": "sample string 6", "user_id": "94fbc4e4-eaa2-4467-8e62-ce2e24548014", "user_code": "sample string 8", "description": "sample string 9", "memo": "sample string 10", "total_lines": 11, "date_create": "2024-04-23T12:22:01.8664779+00:00", "date_update": "2024-04-23T12:22:01.8664779+00:00", "date_delivery": "2024-04-23T12:22:01.8664779+00:00", "confirmed_date_delivery": "2024-04-23T12:22:01.8664779+00:00", "delivery_db_address_id": "0c966d17-5ba4-43dc-bfce-b65dfc1cd480", "approved_by_user_id": "1269cfab-e8e9-4eb1-83c0-578561baebd8", "approved_by_user_code": "sample string 18", "technical_user_id": "9eeb998a-2534-46da-83af-4f36506e34cf", "technical_user_code": "sample string 20", "purchase_order_status_id": "edfa0d40-acfb-4131-a1a4-e1dcd4981c97", "purchase_order_status_code": "sample string 22", "article_stock_location_id": "cd0598e0-507f-471b-87e3-8f124da84b2b", "is_pickup": true, "reference_back_office": "sample string 25", "modified_dateutc": "2024-04-23T12:22:01.8664779+00:00" }, "article_id": "2f1df216-7835-40d0-ac1c-d3d5cf5e91a6", "article_code": "sample string 5", "article": { "id": "8110835b-a2ba-46e3-ab25-18ae19c0a113", "article_category_id": "6da353ca-df60-48f4-9644-c0d4f5e79107", "article_category": { "id": "bba42438-6b30-4fd0-8945-019a97b491d5", "parent_id": "1394481f-2043-4c4e-87aa-72c3dcaf94ca", "parent_code": "sample string 3", "code": "sample string 4", "name": "sample string 5", "modified_dateutc": "2024-04-23T12:22:01.8664779+00:00" }, "article_category_code": "sample string 3", "article_group_1_id": "43db7d05-cbd0-492a-b039-8c8dfc28159d", "article_group_1_code": "sample string 5", "article_group_2_id": "cb8cfd8e-8482-457e-9b1a-c469b86557ad", "article_group_2_code": "sample string 7", "article_group_3_id": "aac7f89f-811d-4389-afab-db0c59650d08", "article_group_3_code": "sample string 9", "article_group_4_id": "c9d95397-2c0d-4883-a594-329fe319ec7a", "article_group_4_code": "sample string 11", "article_group_5_id": "3aad7642-012a-4daf-b77a-d8fda6ac08ea", "article_group_5_code": "sample string 13", "article_group_6_id": "b4e06757-7098-4f77-9038-8ac8651270e1", "article_group_6_code": "sample string 15", "physical_stock": 16, "back_order_client": 17, "back_order_supplier": 18, "expected_delivery_date_bo_supplier": "2024-04-23T12:22:01.8664779+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": "2024-04-23T12:22:01.8664779+00:00", "date_update": "2024-04-23T12:22:01.8664779+00:00", "modified_dateutc": "2024-04-23T12:22:01.8664779+00:00", "article_color_id": "411f0e76-47ee-460d-9307-ca1a8fd321c2", "article_color_code": "sample string 38", "article_color": { "id": "83066a27-f657-4d17-8164-85028586f063", "name": "sample string 2", "code": "sample string 3", "modified_dateutc": "2024-04-23T12:22:01.8664779+00:00" }, "warranty_period_nb_months": 39, "use_serial": true, "_replace_id": "79a98c7e-ce3b-4ce1-9699-487c61332425", "replace_article_code": "sample string 42", "db_unit_of_measure_id_selling": "3bbae8ff-b9de-4815-9a86-b674eadeb507", "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" } ] }, "line_number": 6, "code": "sample string 7", "supplier_code": "sample string 8", "name": "sample string 9", "description": "sample string 10", "price": 11.0, "quantity": 12.0, "memo": "sample string 13", "cost_price": 14.0, "reference_back_office": "sample string 15", "modified_dateutc": "2024-04-23T12:22:01.8664779+00:00" }