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": "0ab5f65e-b6b2-4eb2-ada5-d23f7cb2a4b0",
"purchase_order_id": "bd71ad1d-df7f-483d-98fb-914ee2385b57",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "f7000811-214c-490f-aed4-75cbb3effe3d",
"id2": 2,
"jobs_id": "8e7d34f6-4b6e-4f70-a3f1-454df97e4b8c",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "21b4055a-6546-4845-b0eb-0a8ad1956c56",
"supplier_company_code": "sample string 6",
"user_id": "1f8a018c-aa7f-4164-b4d5-f1cff56d011d",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2026-11-15T20:56:04.1934729+00:00",
"date_update": "2026-11-15T20:56:04.1934729+00:00",
"date_delivery": "2026-11-15T20:56:04.1934729+00:00",
"confirmed_date_delivery": "2026-11-15T20:56:04.1934729+00:00",
"delivery_db_address_id": "4c5e95a9-7389-45e4-b092-84d24d3b737b",
"approved_by_user_id": "c519bc4d-d135-4f11-9242-cc23121bfd59",
"approved_by_user_code": "sample string 18",
"technical_user_id": "13928a20-a51a-4105-9f51-5c58f8f09ee3",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "fd31467f-6de4-4350-a685-2f0fa4d6719a",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "b41977c3-0ffb-4adc-b30c-533676ad5a29",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2026-11-15T20:56:04.1934729+00:00"
},
"article_id": "0b8c37fb-f63f-4ff8-ab59-999a5086000d",
"article_code": "sample string 5",
"article": {
"id": "710104b0-2697-4af8-88c2-7fcbcc070782",
"article_category_id": "3d1dc3f2-e606-464a-be3f-6dbe96024a3f",
"article_category": {
"id": "11b16c31-58e8-4ba1-b56c-77938837e7f4",
"parent_id": "b7dc6a3d-d3e4-4ae6-880b-eee3f3a7c023",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2026-11-15T20:56:04.1934729+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "6bf4ef54-b8d9-4caf-b436-52fc211ca515",
"article_group_1_code": "sample string 5",
"article_group_2_id": "2af2ed65-e170-4e86-9bc0-f7cf967e5af5",
"article_group_2_code": "sample string 7",
"article_group_3_id": "ed9c9b7d-8c44-4906-ad01-8a0604dca660",
"article_group_3_code": "sample string 9",
"article_group_4_id": "75d0eddd-8fb9-4b02-ad3d-eeb278e27ccd",
"article_group_4_code": "sample string 11",
"article_group_5_id": "468bf209-78bf-48a2-b670-db4e82609d4f",
"article_group_5_code": "sample string 13",
"article_group_6_id": "4dd06abc-c96f-42f2-9e64-41b846911c3a",
"article_group_6_code": "sample string 15",
"physical_stock": 16,
"back_order_client": 17,
"back_order_supplier": 18,
"expected_delivery_date_bo_supplier": "2026-11-15T20:56:04.1934729+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-11-15T20:56:04.1934729+00:00",
"date_update": "2026-11-15T20:56:04.1934729+00:00",
"modified_dateutc": "2026-11-15T20:56:04.1934729+00:00",
"article_color_id": "6a7210b8-56bd-43c9-a800-9149b848a2ed",
"article_color_code": "sample string 38",
"article_color": {
"id": "c55cb5bb-6fe6-40cd-b786-dc2a54b34843",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2026-11-15T20:56:04.1934729+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "684d0937-3db5-4d64-9fba-69c351a13d02",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "7c492ad2-b36b-499d-bf8a-f3298e5d5846",
"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-11-15T20:56:04.1934729+00:00"
}