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": "1e3aaf6c-7352-4cd8-9cc2-db95ad6a55fa",
"purchase_order_id": "9bed638f-26d8-45db-b6a1-3edd4f084df5",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "7600aa17-8a48-424f-954e-82e65be95ddd",
"id2": 2,
"jobs_id": "40cdace7-9901-4577-ac72-71c3ecb51607",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "2401a6ae-fd63-44fc-a091-7b2f92d489fd",
"supplier_company_code": "sample string 6",
"user_id": "500ba2cd-2d8f-4ead-a639-d1f3ea084967",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2026-01-08T21:40:49.8777638+00:00",
"date_update": "2026-01-08T21:40:49.8777638+00:00",
"date_delivery": "2026-01-08T21:40:49.8777638+00:00",
"confirmed_date_delivery": "2026-01-08T21:40:49.8777638+00:00",
"delivery_db_address_id": "6cdae239-806e-4a6b-9e7a-867f2b147097",
"approved_by_user_id": "b5f6f0ca-326e-47bb-bc87-cc608f975472",
"approved_by_user_code": "sample string 18",
"technical_user_id": "9f17e056-79f6-4139-b59b-8aef1951d9d0",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "9b2289f7-27de-47d6-a33c-f4e86445658c",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "8eafd83d-a18b-484c-a697-04d25329bbba",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2026-01-08T21:40:49.8777638+00:00"
},
"article_id": "94e5dba1-32c6-4c47-a570-f16995059ea3",
"article_code": "sample string 5",
"article": {
"id": "fdb7b3de-0a95-4597-9f7f-630d2c7752da",
"article_category_id": "16bd9eca-c02d-43d5-b03f-7c74715829a9",
"article_category": {
"id": "52ccdad3-2e4c-48ea-98c1-ab6c9e081fbb",
"parent_id": "3d9d083e-dc77-49b3-b80a-47ef101b2871",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2026-01-08T21:40:49.8777638+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "43d92e45-ee20-4186-9251-155a805c90cd",
"article_group_1_code": "sample string 5",
"article_group_2_id": "25902b98-96d9-4f12-9e48-287300776a6a",
"article_group_2_code": "sample string 7",
"article_group_3_id": "e7a5f2c1-be84-4882-a515-fa023c0a398a",
"article_group_3_code": "sample string 9",
"article_group_4_id": "eef25c30-69da-45b6-8650-8bafa25ff997",
"article_group_4_code": "sample string 11",
"article_group_5_id": "be641d17-d215-415c-84cb-3f223857f498",
"article_group_5_code": "sample string 13",
"article_group_6_id": "f0b53002-f41d-4265-a6c9-f21ef741e457",
"article_group_6_code": "sample string 15",
"physical_stock": 16,
"back_order_client": 17,
"back_order_supplier": 18,
"expected_delivery_date_bo_supplier": "2026-01-08T21:40:49.8777638+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-01-08T21:40:49.8777638+00:00",
"date_update": "2026-01-08T21:40:49.8777638+00:00",
"modified_dateutc": "2026-01-08T21:40:49.8777638+00:00",
"article_color_id": "7db1b52e-fe18-4d87-ada6-e69031782879",
"article_color_code": "sample string 38",
"article_color": {
"id": "3237a41f-af2a-4de5-9abb-7bac85f2fabe",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2026-01-08T21:40:49.8777638+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "0b72f485-5f1e-47f5-96ee-2f3f5f049228",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "76802fb8-19f5-4d9e-9b71-caf528bc172a",
"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-01-08T21:40:49.8777638+00:00"
}