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_details| Name | 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": "3580eb31-cae3-47f4-b042-85ba4cdca9d2",
"purchase_order_id": "fc85231e-05ba-4db4-9376-d883b592e9d7",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "8889f495-5c40-4c20-a95f-970354bad5ef",
"id2": 2,
"jobs_id": "8627c90a-f375-4854-8278-f8dadb5d4de2",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "2735d53a-bb10-4ee7-8968-1ee334045560",
"supplier_company_code": "sample string 6",
"user_id": "6e31d8ad-729f-40fe-babd-b37826ef4819",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2026-08-01T12:17:01.5288189+00:00",
"date_update": "2026-08-01T12:17:01.5288189+00:00",
"date_delivery": "2026-08-01T12:17:01.5288189+00:00",
"confirmed_date_delivery": "2026-08-01T12:17:01.5288189+00:00",
"delivery_db_address_id": "2a0d4e82-e48a-4e3a-a3ee-9d93f81f9b6b",
"approved_by_user_id": "864185c2-85df-4625-abc7-c3a3f26f3858",
"approved_by_user_code": "sample string 18",
"technical_user_id": "b866feec-5681-4821-812a-0d912398c3e4",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "e86a30e8-8b41-46ea-9804-28ff41d797be",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "b1984f90-ce35-43d0-91ee-705abb9a006f",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2026-08-01T12:17:01.5288189+00:00"
},
"article_id": "1344917c-b60c-4f0a-ba41-fd1f65fbed5c",
"article_code": "sample string 5",
"article": {
"id": "33e17596-ffe1-47b8-8bce-6a44a13b68c0",
"article_category_id": "97214669-82dd-49c7-85ed-f3004a4bde20",
"article_category": {
"id": "d607f688-74a1-4b5d-8ded-c9c94363551f",
"parent_id": "019a91ec-5e73-4ed0-98fe-e9e28835b959",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2026-08-01T12:17:01.5288189+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "c4752437-74c5-4b52-bb24-1e9cef7eed3b",
"article_group_1_code": "sample string 5",
"article_group_2_id": "9f61e226-1d63-466d-8862-409fc107760e",
"article_group_2_code": "sample string 7",
"article_group_3_id": "3bd9ae76-af7d-4859-ac4a-b70be2037ceb",
"article_group_3_code": "sample string 9",
"article_group_4_id": "c35b4f7a-0f4c-446b-a2a5-d91a86d57298",
"article_group_4_code": "sample string 11",
"article_group_5_id": "c1464df5-c9ce-4a5b-9781-ed975e477836",
"article_group_5_code": "sample string 13",
"article_group_6_id": "44c888ec-68a9-402f-a9bf-a63c99a2f440",
"article_group_6_code": "sample string 15",
"physical_stock": 16,
"back_order_client": 17,
"back_order_supplier": 18,
"expected_delivery_date_bo_supplier": "2026-08-01T12:17:01.5288189+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": "2026-08-01T12:17:01.5288189+00:00",
"date_update": "2026-08-01T12:17:01.5288189+00:00",
"modified_dateutc": "2026-08-01T12:17:01.5288189+00:00",
"article_color_id": "c9c5ce5e-1230-4eed-a666-8588b2b3bc46",
"article_color_code": "sample string 38",
"article_color": {
"id": "c0a8ef08-d4aa-4954-9ce4-5758cd77d90f",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2026-08-01T12:17:01.5288189+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "88869607-6709-44ac-b3e2-09aac5d7659b",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "c4d1e8f7-de5b-4787-a41a-d98ae7cac52c",
"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": "2026-08-01T12:17:01.5288189+00:00"
}