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": "892f0bb4-1f18-48ec-b152-e62917fa9e20",
"purchase_order_id": "544dadf2-2dae-413c-81e5-ece940164fc0",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "9667f1d6-c8d6-4669-b6fd-42a51d7f9b43",
"id2": 2,
"jobs_id": "a2642a45-aaf8-4a38-9a5c-d20397785a84",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "4da6de63-d1ce-4bdc-ae66-54994ab94511",
"supplier_company_code": "sample string 6",
"user_id": "31b508f6-effa-4abb-9b24-4fdde438e7e6",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2026-07-04T23:52:43.575841+00:00",
"date_update": "2026-07-04T23:52:43.575841+00:00",
"date_delivery": "2026-07-04T23:52:43.575841+00:00",
"confirmed_date_delivery": "2026-07-04T23:52:43.575841+00:00",
"delivery_db_address_id": "70d43894-7152-418f-b57b-d7f0bcb94876",
"approved_by_user_id": "b83626aa-5593-46c1-8e2a-18f5afbb5922",
"approved_by_user_code": "sample string 18",
"technical_user_id": "2a60fc23-62c8-43f9-ba2a-308bfb47a759",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "30ba0175-5129-44ce-8f13-9f66f4f0a9f2",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "d8b64f8d-b9a9-4f52-b53a-6d9862317279",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2026-07-04T23:52:43.575841+00:00"
},
"article_id": "90f0ba91-a944-42a4-acc0-6cc0ef554890",
"article_code": "sample string 5",
"article": {
"id": "0be1eee7-0849-4cdd-92f6-adc4ee473de7",
"article_category_id": "34109e85-a538-426d-88e1-cd016942e03e",
"article_category": {
"id": "31966add-6827-42c3-931d-4e63064707eb",
"parent_id": "abbd4f73-64a6-4bfc-9ce7-a0de7037d5db",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2026-07-04T23:52:43.575841+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "73f1b626-10db-40b4-856f-40a088ea0e39",
"article_group_1_code": "sample string 5",
"article_group_2_id": "8e180482-0018-467e-9e17-1161d6a7d9a5",
"article_group_2_code": "sample string 7",
"article_group_3_id": "45d3b5dc-2bfb-4a95-a4be-f963aa6aa7aa",
"article_group_3_code": "sample string 9",
"article_group_4_id": "88f60e70-fdc2-49e9-90b9-227226f4742d",
"article_group_4_code": "sample string 11",
"article_group_5_id": "b39dcd21-ec1c-4fd4-a78f-37996a45ef9b",
"article_group_5_code": "sample string 13",
"article_group_6_id": "c087a019-4742-423c-9ddf-9e1a01633c0c",
"article_group_6_code": "sample string 15",
"physical_stock": 16,
"back_order_client": 17,
"back_order_supplier": 18,
"expected_delivery_date_bo_supplier": "2026-07-04T23:52:43.575841+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-07-04T23:52:43.575841+00:00",
"date_update": "2026-07-04T23:52:43.575841+00:00",
"modified_dateutc": "2026-07-04T23:52:43.575841+00:00",
"article_color_id": "19fa72d2-cbd0-4146-8e71-162d5d6380b3",
"article_color_code": "sample string 38",
"article_color": {
"id": "9b6d843c-2179-4a39-a5f9-35f30dc0dd6c",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2026-07-04T23:52:43.575841+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "75cb0d35-5b46-476f-87d5-ea5d5d28ae48",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "3d5790f3-4921-4cf2-a56b-962f07095ae4",
"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-07-04T23:52:43.575841+00:00"
}