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": "95c989b3-eacd-4e36-ad42-762eeb617089",
"purchase_order_id": "4daddc36-628e-415b-bce4-551b134d1e91",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "efc7bade-d20d-47e2-aaab-01bc1e45b7eb",
"id2": 2,
"jobs_id": "016ff812-80f0-4cbc-a5d8-c5e87a32d652",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "1f774af3-13ac-4af4-ac0c-bf7a96a1e52b",
"supplier_company_code": "sample string 6",
"user_id": "cfccac94-84a9-4813-9b5e-c5669a010da1",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2026-10-01T11:29:31.4121268+00:00",
"date_update": "2026-10-01T11:29:31.4277522+00:00",
"date_delivery": "2026-10-01T11:29:31.4277522+00:00",
"confirmed_date_delivery": "2026-10-01T11:29:31.4277522+00:00",
"delivery_db_address_id": "fe6984fb-3d02-4e50-85f2-c17706abb0d5",
"approved_by_user_id": "a8278bb0-f85e-472e-bdd0-d06036c88619",
"approved_by_user_code": "sample string 18",
"technical_user_id": "efe44800-c508-48ac-85be-2fcee64508e4",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "fff75076-997e-462a-8560-61798f1d299f",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "208cab67-def0-4d50-b4d4-6513dd4aa9e5",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2026-10-01T11:29:31.4277522+00:00"
},
"article_id": "306122f7-a100-48e1-b642-c57183e26a0c",
"article_code": "sample string 5",
"article": {
"id": "b74efe9e-1437-4751-81ac-29413f3ab0d3",
"article_category_id": "1b703451-1a4f-4c18-86cf-bc58ae3b6aca",
"article_category": {
"id": "26460187-6667-4fa0-ab50-30e417c45120",
"parent_id": "c634ccb3-f53a-4e39-a2d7-5320c2dc4715",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2026-10-01T11:29:31.4277522+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "95c76edd-989e-43b6-9a9b-0c533d624b59",
"article_group_1_code": "sample string 5",
"article_group_2_id": "bb7cc59d-2203-42c8-b3eb-9e3de79755f6",
"article_group_2_code": "sample string 7",
"article_group_3_id": "1ae171eb-0d80-4225-b77a-d8448c9d84d5",
"article_group_3_code": "sample string 9",
"article_group_4_id": "a66d1b0a-5316-4380-ae53-8dcaabee0da4",
"article_group_4_code": "sample string 11",
"article_group_5_id": "f0f585db-6a3e-47e9-9963-a19cc7434933",
"article_group_5_code": "sample string 13",
"article_group_6_id": "7c310497-c67d-405a-a3e9-d0d0e44c6df8",
"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-01T11:29:31.4277522+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-01T11:29:31.4277522+00:00",
"date_update": "2026-10-01T11:29:31.4277522+00:00",
"modified_dateutc": "2026-10-01T11:29:31.4277522+00:00",
"article_color_id": "cf1293c9-3d65-4c23-bbd7-25efe10cb4ea",
"article_color_code": "sample string 38",
"article_color": {
"id": "d781c764-51f7-4714-9205-15df564e0529",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2026-10-01T11:29:31.4277522+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "30efc62d-d353-49ad-a6c6-7816c01a2c59",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "ea4160d2-9093-4181-ab09-3d4d8c2c989c",
"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-01T11:29:31.4277522+00:00"
}