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": "210da91c-900f-4547-a290-d94b5c341cd5",
"purchase_order_id": "0c2d8bbf-86b0-4104-8d09-38a82b108765",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "640baec3-1399-4c90-b1e0-116e2973095f",
"id2": 2,
"jobs_id": "73bd623d-8044-4328-9bc3-14139f7b2fcb",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "99167ce1-9ad5-4f25-92f3-58361df642e7",
"supplier_company_code": "sample string 6",
"user_id": "8f75434f-d084-42ba-9ad3-5af66ae806e9",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2026-08-19T06:25:27.3737798+00:00",
"date_update": "2026-08-19T06:25:27.3737798+00:00",
"date_delivery": "2026-08-19T06:25:27.3737798+00:00",
"confirmed_date_delivery": "2026-08-19T06:25:27.3737798+00:00",
"delivery_db_address_id": "a993dbcb-e138-4016-9ff7-62ddaff3673b",
"approved_by_user_id": "1bb5b124-c6e6-4c5c-94fc-aab79ea809ec",
"approved_by_user_code": "sample string 18",
"technical_user_id": "de963d4a-9a54-43ab-a00e-b8e414e780c0",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "8f764796-1d10-4aca-8972-233079fc9f34",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "a76d5067-4c63-4454-96b2-41c4e96c1ede",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2026-08-19T06:25:27.3737798+00:00"
},
"article_id": "adc30284-448d-4d2e-9699-f1ea72eb90c8",
"article_code": "sample string 5",
"article": {
"id": "114928aa-4f85-470a-ab3c-1b2f96c2b0f3",
"article_category_id": "27f34816-f082-4ec1-9e76-f068e2ab04da",
"article_category": {
"id": "b5f6d53c-4d36-42b8-aa3b-3ddd517f864c",
"parent_id": "2de451e1-d61e-49d8-bfda-f0ab63649c60",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2026-08-19T06:25:27.3737798+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "42f9c797-2938-47fc-9885-e54bac02a3f2",
"article_group_1_code": "sample string 5",
"article_group_2_id": "7de58e22-1572-46f3-a3b5-bdd984a956b7",
"article_group_2_code": "sample string 7",
"article_group_3_id": "4c15823d-774e-41d7-a4eb-b194a0beb3ad",
"article_group_3_code": "sample string 9",
"article_group_4_id": "c7810b3d-8fcd-4e7c-8180-fef297558978",
"article_group_4_code": "sample string 11",
"article_group_5_id": "80956d2e-5862-42e3-b219-4be038448384",
"article_group_5_code": "sample string 13",
"article_group_6_id": "1f8993e3-00e5-42e2-8f05-8be7e2380fee",
"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-19T06:25:27.3737798+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-19T06:25:27.3894054+00:00",
"date_update": "2026-08-19T06:25:27.3894054+00:00",
"modified_dateutc": "2026-08-19T06:25:27.3894054+00:00",
"article_color_id": "0a77993e-db85-40bd-9617-9d5e082e05b1",
"article_color_code": "sample string 38",
"article_color": {
"id": "7d949847-a7f3-41f3-830b-9907f0650feb",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2026-08-19T06:25:27.3894054+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "30f06c31-1589-4e1c-a593-140713814fa0",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "f8a4bcde-d63f-44a1-ae38-083ca8eceb02",
"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-19T06:25:27.3894054+00:00"
}