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": "94a869c8-9321-4bc3-afdf-8435717720b1",
"purchase_order_id": "4c40d647-c61b-4dcd-88c9-029fcbc0a1c4",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "cf503b66-7648-4cfc-8aa4-e45bb66d6a1a",
"id2": 2,
"jobs_id": "2876a533-65d9-47d4-80af-85743ef22f35",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "9440f906-1271-405c-b902-569d6d78df8b",
"supplier_company_code": "sample string 6",
"user_id": "09c87391-3787-4725-adbf-22d7a23ab36d",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2026-10-07T16:32:13.2757024+00:00",
"date_update": "2026-10-07T16:32:13.2757024+00:00",
"date_delivery": "2026-10-07T16:32:13.2757024+00:00",
"confirmed_date_delivery": "2026-10-07T16:32:13.2757024+00:00",
"delivery_db_address_id": "9488a5c8-b4e2-4f4f-a561-4234b28a0608",
"approved_by_user_id": "947386ea-5f36-443c-8590-dadc3a5c7da4",
"approved_by_user_code": "sample string 18",
"technical_user_id": "77875fb2-89e8-42d7-819f-72a3d2510a0e",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "ea557aaf-adcb-4233-ae78-6b24c4d6663f",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "8c189be4-cadd-4b96-8316-622eca695163",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2026-10-07T16:32:13.2757024+00:00"
},
"article_id": "4999e4fe-dc4d-4e11-9230-207f2a7e9a2f",
"article_code": "sample string 5",
"article": {
"id": "897da6c9-1030-419f-ace6-1f8a0a8decb3",
"article_category_id": "13a08b4a-f7f9-48db-a042-c978f4f3bd8a",
"article_category": {
"id": "65c84b9f-34f7-48bc-8c9b-ab7528bc5cf2",
"parent_id": "161f7780-5dad-47a5-8043-97b262186da6",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2026-10-07T16:32:13.2757024+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "3e28ec49-3c94-464f-953f-7669c117e68f",
"article_group_1_code": "sample string 5",
"article_group_2_id": "143138cd-83f1-4db0-beff-1d8ada01d5bd",
"article_group_2_code": "sample string 7",
"article_group_3_id": "def5576d-cff1-4968-9fbd-442de53b5aba",
"article_group_3_code": "sample string 9",
"article_group_4_id": "5c44f613-194f-4b20-abe2-c7ccecf7a447",
"article_group_4_code": "sample string 11",
"article_group_5_id": "633821e3-01a4-4b27-a0a2-2c880bbe5181",
"article_group_5_code": "sample string 13",
"article_group_6_id": "8f0f6c21-3e47-47cb-b4a3-16832da2ed4d",
"article_group_6_code": "sample string 15",
"physical_stock": 16,
"back_order_client": 17,
"back_order_supplier": 18,
"expected_delivery_date_bo_supplier": "2026-10-07T16:32:13.2757024+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-10-07T16:32:13.2941786+00:00",
"date_update": "2026-10-07T16:32:13.2941786+00:00",
"modified_dateutc": "2026-10-07T16:32:13.2941786+00:00",
"article_color_id": "fee0a9d3-073a-4d64-92e2-d814cfd1ba0e",
"article_color_code": "sample string 38",
"article_color": {
"id": "7257b69d-e376-4c9c-b43e-55bcaaa98714",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2026-10-07T16:32:13.2941786+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "2ea7a20c-567e-4a6b-8ff3-7886130dd42a",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "859c7958-47a8-4ccb-bc13-05707073d32c",
"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-10-07T16:32:13.2941786+00:00"
}