Retrieves the purchase order order lines with the specified key
Request Information
URI Parameters :
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
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": "232ceb1b-0260-4661-b7f4-d99fcfd14598", "purchase_order_id": "4f7ef822-dffa-4304-b2bf-9bccd3e22dd6", "purchase_order_reference_back_office": "sample string 3", "purchase_order": { "id": "07f70ce4-7c1f-4b19-a83a-d29623f24815", "id2": 2, "jobs_id": "01aa979b-920f-4d37-8639-7f9dd5ec5862", "jobs_reference_back_office": "sample string 4", "supplier_company_id": "76149718-ba1d-4283-9ae5-5fc0cb557dd4", "supplier_company_code": "sample string 6", "user_id": "c42da880-d8a7-4064-a8c1-6f62cc32edc8", "user_code": "sample string 8", "description": "sample string 9", "memo": "sample string 10", "total_lines": 11, "date_create": "2025-10-14T03:16:56.8094313+00:00", "date_update": "2025-10-14T03:16:56.8094313+00:00", "date_delivery": "2025-10-14T03:16:56.8094313+00:00", "confirmed_date_delivery": "2025-10-14T03:16:56.8094313+00:00", "delivery_db_address_id": "7eefa1e3-aa57-4d43-b4b4-e599f9217fd7", "approved_by_user_id": "e61c8ea1-96d2-4f11-baa5-c87b8e47d9f3", "approved_by_user_code": "sample string 18", "technical_user_id": "8d77d75e-62a4-44de-a85b-dd823dc9fa35", "technical_user_code": "sample string 20", "purchase_order_status_id": "3fc76142-6437-4801-91a2-e1efd8bb9ff7", "purchase_order_status_code": "sample string 22", "article_stock_location_id": "ac05d32c-43f1-46cd-adaf-7f665c190c89", "is_pickup": true, "reference_back_office": "sample string 25", "modified_dateutc": "2025-10-14T03:16:56.8094313+00:00" }, "article_id": "27fbdd38-e431-4938-ba0f-d73db9645e99", "article_code": "sample string 5", "article": { "id": "324f641e-4551-4821-bb09-8327352acf2f", "article_category_id": "cd2f1bff-3a3d-4d03-bc87-8e620ea66646", "article_category": { "id": "32379ec0-c22b-4d31-a992-a214f948d25c", "parent_id": "1ba3f703-e3ee-4993-bc1d-c7bccae578e0", "parent_code": "sample string 3", "code": "sample string 4", "name": "sample string 5", "modified_dateutc": "2025-10-14T03:16:56.8094313+00:00" }, "article_category_code": "sample string 3", "article_group_1_id": "381e2d73-0741-4a5c-8547-eb92593e0419", "article_group_1_code": "sample string 5", "article_group_2_id": "16984a9e-7b65-4807-b2e2-f4e30867edff", "article_group_2_code": "sample string 7", "article_group_3_id": "eba1de37-ba15-4e28-9c06-77b32b526f45", "article_group_3_code": "sample string 9", "article_group_4_id": "2c39e049-d94d-4fe9-900a-5c73d43ae098", "article_group_4_code": "sample string 11", "article_group_5_id": "5517aa38-8ecc-4924-8ed6-397316d82027", "article_group_5_code": "sample string 13", "article_group_6_id": "64fe5a05-1c38-45c4-8f9f-fdf191390039", "article_group_6_code": "sample string 15", "physical_stock": 16, "back_order_client": 17, "back_order_supplier": 18, "expected_delivery_date_bo_supplier": "2025-10-14T03:16:56.8094313+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-10-14T03:16:56.8094313+00:00", "date_update": "2025-10-14T03:16:56.8094313+00:00", "modified_dateutc": "2025-10-14T03:16:56.8094313+00:00", "article_color_id": "c578d491-6d86-443b-b700-e225004683be", "article_color_code": "sample string 38", "article_color": { "id": "258db7b7-f1d4-4fe8-b254-4f1f1b8f3ad5", "name": "sample string 2", "code": "sample string 3", "modified_dateutc": "2025-10-14T03:16:56.8094313+00:00" }, "warranty_period_nb_months": 39, "use_serial": true, "_replace_id": "84eed119-a949-4cdf-b203-6cd535d4c655", "replace_article_code": "sample string 42", "db_unit_of_measure_id_selling": "162b6238-1245-43d8-9249-b4914acc5cc1", "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-10-14T03:16:56.8094313+00:00" }