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": "0616f5b3-0e2f-4ebb-9311-8789f2210ec0",
"purchase_order_id": "9912b39a-600b-4e01-89be-cc0e92ad826d",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "a502204f-8b3c-4bfe-bdb4-371988484ff9",
"id2": 2,
"jobs_id": "5aebc6a8-4af1-4139-b67c-6e3b5ffd34ec",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "31dfb7ee-51f3-48c0-be21-f021b68c096b",
"supplier_company_code": "sample string 6",
"user_id": "9bab5212-414d-48cc-a61c-555bbe978a97",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2026-06-09T11:24:18.1760351+00:00",
"date_update": "2026-06-09T11:24:18.1760351+00:00",
"date_delivery": "2026-06-09T11:24:18.1760351+00:00",
"confirmed_date_delivery": "2026-06-09T11:24:18.1760351+00:00",
"delivery_db_address_id": "b80b2645-b1ba-4584-8d9a-6a63afe0fb6e",
"approved_by_user_id": "2b355e43-6a54-4b0e-829a-07cda410bcc7",
"approved_by_user_code": "sample string 18",
"technical_user_id": "e01063c7-068d-477e-a195-20a22c7a12a2",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "0847aa2c-e7ef-4cf5-93bf-ff52deb16dd8",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "383c7c66-63db-471f-8d62-58b0bdb74751",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2026-06-09T11:24:18.1760351+00:00"
},
"article_id": "73d22558-a749-41e9-9627-b1f711eeecc5",
"article_code": "sample string 5",
"article": {
"id": "7ca0e537-2213-4f98-8534-143c7ea84f20",
"article_category_id": "59434d5b-1695-49e2-8bc2-16e89b850c24",
"article_category": {
"id": "724f8e94-48ef-4b3b-a454-515f524e2e1b",
"parent_id": "d5dd4748-769e-41d9-9850-24c84f9232ed",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2026-06-09T11:24:18.1760351+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "88d7c79c-a01a-4602-a453-550acf991afe",
"article_group_1_code": "sample string 5",
"article_group_2_id": "a732fc5a-7946-41b1-91fc-52cee6e5041c",
"article_group_2_code": "sample string 7",
"article_group_3_id": "cbcef44b-9620-4246-870d-155dcfe0e183",
"article_group_3_code": "sample string 9",
"article_group_4_id": "4e8f26be-1c31-4dd2-a769-f1fe4e624710",
"article_group_4_code": "sample string 11",
"article_group_5_id": "3061e8d2-2864-401c-b868-7a274c94f74f",
"article_group_5_code": "sample string 13",
"article_group_6_id": "a9c8cc7c-ee78-4687-ad8f-97cb003d73c9",
"article_group_6_code": "sample string 15",
"physical_stock": 16,
"back_order_client": 17,
"back_order_supplier": 18,
"expected_delivery_date_bo_supplier": "2026-06-09T11:24:18.1760351+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-06-09T11:24:18.1760351+00:00",
"date_update": "2026-06-09T11:24:18.1760351+00:00",
"modified_dateutc": "2026-06-09T11:24:18.1760351+00:00",
"article_color_id": "81d3c7d3-d47f-4984-9d2a-caee9e073ec3",
"article_color_code": "sample string 38",
"article_color": {
"id": "bb9a08f0-563f-477c-b7eb-ca570a2b69e7",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2026-06-09T11:24:18.1760351+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "eea0f80d-f418-461d-a27f-c13fca776404",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "4ac58883-f61c-4ec6-95f1-7cd1fd9f4e85",
"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-06-09T11:24:18.1760351+00:00"
}