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": "0bd82af0-b7d6-4362-9514-acf313533b2d",
"purchase_order_id": "edc59517-ab6e-4d17-b46a-8f238fc56278",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "afe70df2-e4c3-455d-bdb5-61eff1732a31",
"id2": 2,
"jobs_id": "13235b45-ac85-4d7a-b4d4-76b4a3ada632",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "bb4abe72-d8a9-4091-9ba9-da4dc6092e29",
"supplier_company_code": "sample string 6",
"user_id": "943f50e3-9c28-4d04-97f4-8d68e1f94004",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2026-05-20T08:33:46.6472856+00:00",
"date_update": "2026-05-20T08:33:46.6472856+00:00",
"date_delivery": "2026-05-20T08:33:46.6472856+00:00",
"confirmed_date_delivery": "2026-05-20T08:33:46.6472856+00:00",
"delivery_db_address_id": "a2cdbfcb-f12b-4c6e-8d54-269c9e2e5711",
"approved_by_user_id": "7eda9817-0353-49a2-a09d-98abc09d1bf4",
"approved_by_user_code": "sample string 18",
"technical_user_id": "f023408d-cfc2-4b05-9734-c90e3e0823a8",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "9de73c2e-9aae-4f67-adf0-579e787ee1f2",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "e5daf6f9-a08b-4b23-a530-e82528601ec5",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2026-05-20T08:33:46.6472856+00:00"
},
"article_id": "0f1a7675-c9df-4f9e-9e19-8d683d7ec685",
"article_code": "sample string 5",
"article": {
"id": "a8d0a4f0-118c-4bb4-9584-1806da3f1432",
"article_category_id": "ca9c376d-f83f-4712-9d0e-e145ea206f84",
"article_category": {
"id": "31c30b3f-2486-4c0c-b6d6-ff6cc372e0bc",
"parent_id": "bf7d7ec3-8d9b-46f8-8aca-d9ebb3fe74f3",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2026-05-20T08:33:46.6472856+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "0d02c605-fd92-4eff-b5ff-79cd71a330d4",
"article_group_1_code": "sample string 5",
"article_group_2_id": "ddd0a249-3958-4846-b9a3-6d681e985586",
"article_group_2_code": "sample string 7",
"article_group_3_id": "f296f9cc-7741-4093-8b1c-62f97ff9bf50",
"article_group_3_code": "sample string 9",
"article_group_4_id": "25c2cd8f-ed18-4e71-ad05-c7b68219d866",
"article_group_4_code": "sample string 11",
"article_group_5_id": "3e56a289-36fc-40f5-bb7c-4033d5d81589",
"article_group_5_code": "sample string 13",
"article_group_6_id": "d66c6bab-8e9b-4d97-beb7-8da159d8c6fe",
"article_group_6_code": "sample string 15",
"physical_stock": 16,
"back_order_client": 17,
"back_order_supplier": 18,
"expected_delivery_date_bo_supplier": "2026-05-20T08:33:46.6472856+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-05-20T08:33:46.6472856+00:00",
"date_update": "2026-05-20T08:33:46.6472856+00:00",
"modified_dateutc": "2026-05-20T08:33:46.6472856+00:00",
"article_color_id": "c9937b4f-ff24-4065-ba4b-9a4c64e97ebe",
"article_color_code": "sample string 38",
"article_color": {
"id": "424e5eb4-4439-49ff-817f-49c5d5feefd3",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2026-05-20T08:33:46.6472856+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "89b70484-146a-4583-8d70-0b05590789c3",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "a6211f5b-5910-481b-9783-afbc73eaf1a2",
"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-05-20T08:33:46.6472856+00:00"
}