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": "a77ea9d2-3133-49b8-be68-cc690b39547d", "purchase_order_id": "bb0f5ea2-c74c-4dc8-97ca-e3da1c93288e", "purchase_order_reference_back_office": "sample string 3", "purchase_order": { "id": "43ac3079-1911-44d7-b626-d11d458ee487", "id2": 2, "jobs_id": "01234964-100d-42ab-a743-9fe6fb0eb874", "jobs_reference_back_office": "sample string 4", "supplier_company_id": "b72cd789-2ea6-4307-b43b-e529b0656f89", "supplier_company_code": "sample string 6", "user_id": "6457c02a-628b-4d65-8f20-f0af2ad33a4e", "user_code": "sample string 8", "description": "sample string 9", "memo": "sample string 10", "total_lines": 11, "date_create": "2025-05-28T01:34:22.3897633+00:00", "date_update": "2025-05-28T01:34:22.3897633+00:00", "date_delivery": "2025-05-28T01:34:22.3897633+00:00", "confirmed_date_delivery": "2025-05-28T01:34:22.3897633+00:00", "delivery_db_address_id": "d658ff4b-68e7-4ca3-b76c-463d06233aa8", "approved_by_user_id": "5968acf4-6cd1-4647-9328-e191984deaa2", "approved_by_user_code": "sample string 18", "technical_user_id": "ac18819b-2aaf-48d8-b6f9-287fcd67560f", "technical_user_code": "sample string 20", "purchase_order_status_id": "b7bd3bac-b526-4a43-9da4-11cd058e3bed", "purchase_order_status_code": "sample string 22", "article_stock_location_id": "94106434-ef30-4b64-ab37-e2ae59c28b39", "is_pickup": true, "reference_back_office": "sample string 25", "modified_dateutc": "2025-05-28T01:34:22.3897633+00:00" }, "article_id": "db03dcdd-140a-4dad-921a-926eca7b366f", "article_code": "sample string 5", "article": { "id": "ae548bc8-2cbd-43b1-b3bf-3e8e3fbd4e7e", "article_category_id": "9aec2c06-4cfb-4ea9-8ea1-ab47b5d3a866", "article_category": { "id": "89f35863-9da9-4217-b4f5-a9db8aea93f8", "parent_id": "3e35455c-44b7-40ce-808c-3bac291db168", "parent_code": "sample string 3", "code": "sample string 4", "name": "sample string 5", "modified_dateutc": "2025-05-28T01:34:22.3897633+00:00" }, "article_category_code": "sample string 3", "article_group_1_id": "b32e3fe2-dbd3-4b21-a7ab-9326faf863c4", "article_group_1_code": "sample string 5", "article_group_2_id": "ee647b9b-3e5c-4a13-ac7b-d580b9f94e64", "article_group_2_code": "sample string 7", "article_group_3_id": "d2c8e599-6eb0-4fc3-b98c-ae0fc599bcb7", "article_group_3_code": "sample string 9", "article_group_4_id": "de3734c8-1fb9-440d-acf1-1ae2d764cec9", "article_group_4_code": "sample string 11", "article_group_5_id": "fee23deb-8c05-4f88-868c-ed9235b0fb55", "article_group_5_code": "sample string 13", "article_group_6_id": "7f659b32-920d-4932-971a-297d7554ea85", "article_group_6_code": "sample string 15", "physical_stock": 16, "back_order_client": 17, "back_order_supplier": 18, "expected_delivery_date_bo_supplier": "2025-05-28T01:34:22.3897633+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-05-28T01:34:22.3897633+00:00", "date_update": "2025-05-28T01:34:22.3897633+00:00", "modified_dateutc": "2025-05-28T01:34:22.3897633+00:00", "article_color_id": "e227906f-16cc-411f-9976-64217a1e06c7", "article_color_code": "sample string 38", "article_color": { "id": "da181e42-88b2-458b-8db5-7300e85c3305", "name": "sample string 2", "code": "sample string 3", "modified_dateutc": "2025-05-28T01:34:22.3897633+00:00" }, "warranty_period_nb_months": 39, "use_serial": true, "_replace_id": "1fd33b77-17b1-4946-bb9b-b7c817e6f327", "replace_article_code": "sample string 42", "db_unit_of_measure_id_selling": "5a505f7c-9e73-43a3-8b2e-4cf0c1aa2245", "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": "2025-05-28T01:34:22.3897633+00:00" }