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": "e8e0dc19-ca14-4ca0-9a28-2b94b92192ca",
"purchase_order_id": "7bec6edd-1a5c-4f4a-8323-026cbac188c9",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "5dfe029b-979a-456c-b598-39ac95e5a949",
"id2": 2,
"jobs_id": "2573dc4e-6230-4393-a91b-b79f2d709d67",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "2cc86dc2-98f1-43d3-be8d-7b49aec93bfd",
"supplier_company_code": "sample string 6",
"user_id": "84d82c21-0ef3-467d-90b6-f6f73ae5fc7d",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2026-05-05T21:03:44.0434564+00:00",
"date_update": "2026-05-05T21:03:44.0434564+00:00",
"date_delivery": "2026-05-05T21:03:44.0434564+00:00",
"confirmed_date_delivery": "2026-05-05T21:03:44.0434564+00:00",
"delivery_db_address_id": "5898f381-7ac6-4cab-ac64-1e6fdb738ff5",
"approved_by_user_id": "26e9bc65-c085-4404-895b-0d9551824aca",
"approved_by_user_code": "sample string 18",
"technical_user_id": "4a9f2684-0a8c-4397-8a1b-5a006243e343",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "ccefcc6a-438b-42f9-98a0-e6fc99c0edde",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "d463794c-76b3-4596-9ae9-1260cd9c9e37",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2026-05-05T21:03:44.0434564+00:00"
},
"article_id": "0aca21a4-c383-4d53-9d1d-dc747d307565",
"article_code": "sample string 5",
"article": {
"id": "952b60a8-93fe-4b9f-bf2d-ed3a50c41983",
"article_category_id": "ded4550a-8258-4633-8f5e-9304e211a5e6",
"article_category": {
"id": "6721ce98-f81f-4d0f-b2f4-ed1eef1d8b09",
"parent_id": "e8efa928-de57-49e4-b04b-3bdd8ff27d35",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2026-05-05T21:03:44.0434564+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "5fb97936-983c-48e2-93b6-a8d064d58f4d",
"article_group_1_code": "sample string 5",
"article_group_2_id": "bbf73e49-bab3-4bbc-90ae-65383916b15e",
"article_group_2_code": "sample string 7",
"article_group_3_id": "fc545d99-2a55-4f7a-8a9d-904a90d05a99",
"article_group_3_code": "sample string 9",
"article_group_4_id": "3acc5818-147f-4031-86dc-e3520ee60b7d",
"article_group_4_code": "sample string 11",
"article_group_5_id": "e495f4c2-f83f-46a6-ad0d-702c89213e0e",
"article_group_5_code": "sample string 13",
"article_group_6_id": "93d97b82-f211-413b-9ed2-a913b6d411f0",
"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-05T21:03:44.0434564+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-05T21:03:44.0434564+00:00",
"date_update": "2026-05-05T21:03:44.0434564+00:00",
"modified_dateutc": "2026-05-05T21:03:44.0434564+00:00",
"article_color_id": "ab45865d-eb3f-4789-81c8-f5dddc112609",
"article_color_code": "sample string 38",
"article_color": {
"id": "0a75f142-0a96-4efa-8655-f96b6afa5c52",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2026-05-05T21:03:44.0434564+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "1b22de9f-66fd-44b9-8a70-40b40463917a",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "f5315932-1542-432a-b96b-561537068b24",
"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-05T21:03:44.0434564+00:00"
}