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": "ee45789b-6367-434c-aab8-308dccc4f233",
"purchase_order_id": "fb5d95c4-0a39-43ee-991b-08821895a4cc",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "6b18f870-d868-4156-8f97-45c761fa16a1",
"id2": 2,
"jobs_id": "6eaa50d8-6617-469e-bacb-06a7ab1a68a8",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "cbdfdf94-33f3-4f73-9935-c2b969947b94",
"supplier_company_code": "sample string 6",
"user_id": "dfdf5634-1c78-4c7f-b0eb-dce96e2b1ea2",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2025-12-23T20:48:30.8938179+00:00",
"date_update": "2025-12-23T20:48:30.8938179+00:00",
"date_delivery": "2025-12-23T20:48:30.8938179+00:00",
"confirmed_date_delivery": "2025-12-23T20:48:30.8938179+00:00",
"delivery_db_address_id": "782feb14-2544-4154-acd0-cf27db664c56",
"approved_by_user_id": "c1f2370d-a898-43f2-814f-0a42499dc18f",
"approved_by_user_code": "sample string 18",
"technical_user_id": "91da1e86-2f94-439e-99f0-a028fccd1ba2",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "289d6694-f400-4852-bbaa-d2a3ae6a5ce7",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "12b612af-495b-414a-8ce3-3c0a8bd3e3b8",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2025-12-23T20:48:30.8938179+00:00"
},
"article_id": "81916b35-64b8-4937-9ae0-4209037aa27b",
"article_code": "sample string 5",
"article": {
"id": "7821e913-9516-4f4f-b1ad-5c93e30cea8f",
"article_category_id": "882469aa-c601-4814-ad1d-7806dddb82e1",
"article_category": {
"id": "762194f7-965f-4e48-a906-d0e8e3b976f4",
"parent_id": "e5003120-d699-49f6-8f85-8d2366a3a0ae",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2025-12-23T20:48:30.8938179+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "88c317f5-be53-46d4-8316-4109d12aa965",
"article_group_1_code": "sample string 5",
"article_group_2_id": "38a7b549-df91-4326-a05c-14a51a061855",
"article_group_2_code": "sample string 7",
"article_group_3_id": "57881550-e351-4041-a5ae-7092bd435148",
"article_group_3_code": "sample string 9",
"article_group_4_id": "06244295-877e-4c1a-b8aa-8387ed6da32e",
"article_group_4_code": "sample string 11",
"article_group_5_id": "00830555-9d85-421e-a618-7b3e3641e02e",
"article_group_5_code": "sample string 13",
"article_group_6_id": "445ad5c6-8d12-45b7-af53-b26fea786f77",
"article_group_6_code": "sample string 15",
"physical_stock": 16,
"back_order_client": 17,
"back_order_supplier": 18,
"expected_delivery_date_bo_supplier": "2025-12-23T20:48:30.8938179+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-12-23T20:48:30.8938179+00:00",
"date_update": "2025-12-23T20:48:30.8938179+00:00",
"modified_dateutc": "2025-12-23T20:48:30.8938179+00:00",
"article_color_id": "ec8230b5-a308-4c08-9854-8afaafe99b37",
"article_color_code": "sample string 38",
"article_color": {
"id": "6f3a0dd1-dfdd-4ada-b964-408f76bad30d",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2025-12-23T20:48:30.8938179+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "470b61fb-7dff-44d8-9fbd-89207d3b54ff",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "3399a954-4f85-4ae1-9a30-b38e3ebccae6",
"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-12-23T20:48:30.8938179+00:00"
}