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": "9c88c5dc-bb98-41a5-a534-17f84a70e6b3",
"purchase_order_id": "773f1704-6b29-40a0-8273-08455d06529d",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "18a27030-f436-4dc7-8fcd-0a29cb069e5d",
"id2": 2,
"jobs_id": "a3864ab0-c9b3-4338-a13a-69b7ce43bfdd",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "1f786e60-150e-49a3-8b38-1522ad7ca254",
"supplier_company_code": "sample string 6",
"user_id": "b28eb2da-d62c-4e0c-b24d-be7268fd282b",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2026-06-25T21:41:15.2555952+00:00",
"date_update": "2026-06-25T21:41:15.2555952+00:00",
"date_delivery": "2026-06-25T21:41:15.2555952+00:00",
"confirmed_date_delivery": "2026-06-25T21:41:15.2555952+00:00",
"delivery_db_address_id": "2e1f1239-b23a-491e-a02f-c5f8d8377c6e",
"approved_by_user_id": "0b84a0e0-8418-4aa3-890e-e86351892270",
"approved_by_user_code": "sample string 18",
"technical_user_id": "b44ec2c7-63f7-40d9-8d07-5c9c14fe2c01",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "4b518892-6b6d-4996-b1f5-4eb94dfa9e88",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "83cc34cd-3f98-4f0d-85ce-e1c7ee2e2b32",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2026-06-25T21:41:15.2555952+00:00"
},
"article_id": "cdb3a8a1-62d0-4c35-895b-c2977a830e40",
"article_code": "sample string 5",
"article": {
"id": "4cb9aab6-3b48-47b3-850a-7cde2995cd37",
"article_category_id": "344b14f8-36f2-41c8-a406-17079324495d",
"article_category": {
"id": "ca9699e6-35e3-4997-a2f2-8c1de0b94c80",
"parent_id": "2f6e2eb0-ea48-477f-9e3c-6f5729d4686e",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2026-06-25T21:41:15.2555952+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "7eb061a3-421d-4142-8eee-dc99ac242633",
"article_group_1_code": "sample string 5",
"article_group_2_id": "926432c0-1732-4bbc-ad8a-18fbf7fa9c31",
"article_group_2_code": "sample string 7",
"article_group_3_id": "c176b38b-2899-4d05-b2be-27ccb3e0b187",
"article_group_3_code": "sample string 9",
"article_group_4_id": "8c4a00a3-2140-46f0-a4f9-8fabf7e81cfd",
"article_group_4_code": "sample string 11",
"article_group_5_id": "19d2920a-66a0-4b7a-a82a-e0ebd9de25bb",
"article_group_5_code": "sample string 13",
"article_group_6_id": "8fdee4a6-23bd-4b7f-bd6d-8a549cfc5ee0",
"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-25T21:41:15.2555952+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-25T21:41:15.2555952+00:00",
"date_update": "2026-06-25T21:41:15.2555952+00:00",
"modified_dateutc": "2026-06-25T21:41:15.2555952+00:00",
"article_color_id": "3359a37c-c42e-4255-b74e-9e22d06e07e8",
"article_color_code": "sample string 38",
"article_color": {
"id": "1e6eb81d-07ec-4e21-a7a5-a852c2688acf",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2026-06-25T21:41:15.2555952+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "2baa1d7f-7de7-4c5f-8f9b-23a2a3074f3c",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "a2dd66c6-e172-4e08-8eb1-9141fdb23cf5",
"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-25T21:41:15.2555952+00:00"
}