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": "a3edd07b-c780-4f68-ab36-65b3d542697a",
"purchase_order_id": "bcf26e66-f57d-4ab6-822b-d2b09ae8a92b",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "76882d5d-ee13-465e-9154-0c597077b7ef",
"id2": 2,
"jobs_id": "cfe67311-2b30-4cf9-81d3-957f1bfe1f23",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "edaccc49-7d2e-401b-9032-16d4e9efa8ab",
"supplier_company_code": "sample string 6",
"user_id": "db505c6b-ffe3-4bcb-9edc-dd55cf00deac",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2026-06-07T19:52:35.3453464+00:00",
"date_update": "2026-06-07T19:52:35.3453464+00:00",
"date_delivery": "2026-06-07T19:52:35.3453464+00:00",
"confirmed_date_delivery": "2026-06-07T19:52:35.3453464+00:00",
"delivery_db_address_id": "e9211c11-2033-4d27-b77e-565781b3cee7",
"approved_by_user_id": "cddf88ca-eb32-4c96-bf3e-7809e3ce3a6a",
"approved_by_user_code": "sample string 18",
"technical_user_id": "5f63b260-2ad1-4081-95ef-361cbebadc0d",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "f51b2b84-e687-40d2-a39e-e15b25954df0",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "4311f8c5-2812-45b0-8335-ffb0a35e2099",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2026-06-07T19:52:35.3453464+00:00"
},
"article_id": "a7fd29a2-f662-479e-ba77-b79ada2a4571",
"article_code": "sample string 5",
"article": {
"id": "9d4a7b71-3e64-466e-b168-cc834c1c2033",
"article_category_id": "777fbafe-1a28-4669-bff1-b39e6679e50f",
"article_category": {
"id": "6291cfa6-75a7-4b75-8451-94baafb946ac",
"parent_id": "ee348521-5296-4fa6-9786-1ec27a64c135",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2026-06-07T19:52:35.3453464+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "f73c6c90-f03b-4fb9-ace7-dee01eb3b2a1",
"article_group_1_code": "sample string 5",
"article_group_2_id": "4751fb5b-9fd4-4ea0-ae64-0ffce9ce7923",
"article_group_2_code": "sample string 7",
"article_group_3_id": "12c4a109-f670-4ac5-8d41-6cc5051e02ac",
"article_group_3_code": "sample string 9",
"article_group_4_id": "236d94af-2710-40cc-a16f-f1b1c912108b",
"article_group_4_code": "sample string 11",
"article_group_5_id": "0c57a704-44d4-4768-b40f-88599a37c630",
"article_group_5_code": "sample string 13",
"article_group_6_id": "eb7de2fc-b998-4753-b02c-94b5ea3ce69c",
"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-07T19:52:35.3453464+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-07T19:52:35.3453464+00:00",
"date_update": "2026-06-07T19:52:35.3453464+00:00",
"modified_dateutc": "2026-06-07T19:52:35.3453464+00:00",
"article_color_id": "f774a017-4fc9-412f-8ea7-02f0e3fd74c8",
"article_color_code": "sample string 38",
"article_color": {
"id": "ed217f07-0f0f-48ef-8a90-e55bb628dc1b",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2026-06-07T19:52:35.3453464+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "ae777281-2012-43ab-9d05-c2a724814d9b",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "a9754bb9-ad26-409b-afd6-1a3a4218cc2c",
"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-07T19:52:35.3453464+00:00"
}