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": "8f0b9541-63b5-420b-9185-d321a825792a",
"purchase_order_id": "ba8f5490-cc7a-40e6-bfd7-b82f9e823293",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "f5003bda-5ff8-4751-b908-f294c56cecf1",
"id2": 2,
"jobs_id": "fa72dba5-bfe1-4509-81b6-4f0adfbe2f47",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "f01727b0-e03f-4666-b70e-ebec7321e7b5",
"supplier_company_code": "sample string 6",
"user_id": "f8850a26-90a1-4430-9582-f49e289489a6",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2025-11-28T09:07:15.188721+00:00",
"date_update": "2025-11-28T09:07:15.188721+00:00",
"date_delivery": "2025-11-28T09:07:15.188721+00:00",
"confirmed_date_delivery": "2025-11-28T09:07:15.188721+00:00",
"delivery_db_address_id": "721031f0-0a58-455e-bf93-df4b3920fe45",
"approved_by_user_id": "28044dcf-9c28-4dcc-b6c6-1eab7c91f30f",
"approved_by_user_code": "sample string 18",
"technical_user_id": "6ec71c7a-3c88-4a17-96e3-cd4a0fefcc24",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "6b1af4ee-9249-49e8-bb39-63e5c7ca80dd",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "63a3cbf6-9f26-441e-a2f8-f336cf74b0f3",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2025-11-28T09:07:15.188721+00:00"
},
"article_id": "162e2cd4-d0b6-4454-b693-62776be7d1cf",
"article_code": "sample string 5",
"article": {
"id": "cd38630c-234e-4951-9815-eedf87120733",
"article_category_id": "6bc98562-95ec-4e5c-9643-38fac6e4b2c3",
"article_category": {
"id": "1ddfd4bb-e580-4894-b5f6-1c95b4cb81d1",
"parent_id": "af6876f2-01e6-4be6-b293-9888a5e7c878",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2025-11-28T09:07:15.188721+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "ea4649b6-660a-425a-a03e-768ec0348698",
"article_group_1_code": "sample string 5",
"article_group_2_id": "d36f1b4e-c48d-46b9-9b0b-b71be42a8d1b",
"article_group_2_code": "sample string 7",
"article_group_3_id": "0fd86e20-d1bd-45d5-ab15-0761f8fff58d",
"article_group_3_code": "sample string 9",
"article_group_4_id": "5dd328e3-986e-4108-ab7d-53b351738b40",
"article_group_4_code": "sample string 11",
"article_group_5_id": "2aed93a9-5794-481d-b7d6-8daaa9208a31",
"article_group_5_code": "sample string 13",
"article_group_6_id": "d8575503-30c3-483c-8738-8d54c060e2f4",
"article_group_6_code": "sample string 15",
"physical_stock": 16,
"back_order_client": 17,
"back_order_supplier": 18,
"expected_delivery_date_bo_supplier": "2025-11-28T09:07:15.188721+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": "2025-11-28T09:07:15.188721+00:00",
"date_update": "2025-11-28T09:07:15.188721+00:00",
"modified_dateutc": "2025-11-28T09:07:15.188721+00:00",
"article_color_id": "cee99f7d-ac09-4e2b-946b-c8cc84e6fc3a",
"article_color_code": "sample string 38",
"article_color": {
"id": "13e4c064-389d-4f01-84ee-471ee27ad0a7",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2025-11-28T09:07:15.188721+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "b8727e6c-c866-4bd2-a131-9135f81c4f65",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "b938e6d1-39af-4066-8e84-c65163d05ac8",
"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": "2025-11-28T09:07:15.188721+00:00"
}