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": "7882cbb8-a8e8-4242-8c05-2413361d3235",
"purchase_order_id": "3a60bab2-3047-4916-a7c3-4625191b878a",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "89e3bfc0-f312-4178-91b7-05fb26fc13fe",
"id2": 2,
"jobs_id": "58621e64-be47-437e-9aa5-41f823121434",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "ef787256-5093-4fbb-8677-c19c6a268394",
"supplier_company_code": "sample string 6",
"user_id": "76b079fa-24e2-418f-bc12-f0751b30ced7",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2026-10-16T14:45:24.4865969+00:00",
"date_update": "2026-10-16T14:45:24.4865969+00:00",
"date_delivery": "2026-10-16T14:45:24.4865969+00:00",
"confirmed_date_delivery": "2026-10-16T14:45:24.4865969+00:00",
"delivery_db_address_id": "4f8d5d9f-9bbc-4a6f-8938-e9d99e807981",
"approved_by_user_id": "db58acb6-0ab3-4d9e-8e75-337fdaf24984",
"approved_by_user_code": "sample string 18",
"technical_user_id": "f4c9c8f1-12f8-41b7-b562-06e674a04404",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "adae2f43-8847-4e44-8248-0e0e6abea699",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "bb982edd-8d4e-449c-aa85-10a3528e012c",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2026-10-16T14:45:24.50321+00:00"
},
"article_id": "b4585caa-7b11-4bb5-bbde-e5b2e73fa881",
"article_code": "sample string 5",
"article": {
"id": "640c92af-d4cd-4777-a526-243395d451ac",
"article_category_id": "a399e9a6-b403-44a0-8f58-48c3a346b583",
"article_category": {
"id": "82390044-ccdd-4053-afcc-a77006469b1c",
"parent_id": "574b83ef-8a7c-4a24-9dc9-e4a3c29a4b99",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2026-10-16T14:45:24.5227574+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "4d4c2099-fe0e-4ce8-8e47-f85547dc5941",
"article_group_1_code": "sample string 5",
"article_group_2_id": "dd6ebb84-6314-43f3-bf4c-fcbdc6c1522d",
"article_group_2_code": "sample string 7",
"article_group_3_id": "273b5cfc-2486-48ec-a2f0-08fda1fd2131",
"article_group_3_code": "sample string 9",
"article_group_4_id": "9df4592c-5726-4fdb-9e6a-d8745f47a78c",
"article_group_4_code": "sample string 11",
"article_group_5_id": "457dca8d-e36e-4fd8-b4dd-80b4e8842202",
"article_group_5_code": "sample string 13",
"article_group_6_id": "e5ec533b-5413-4cc0-8fa3-4772ef15307a",
"article_group_6_code": "sample string 15",
"physical_stock": 16,
"back_order_client": 17,
"back_order_supplier": 18,
"expected_delivery_date_bo_supplier": "2026-10-16T14:45:24.5334777+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-10-16T14:45:24.5334777+00:00",
"date_update": "2026-10-16T14:45:24.5334777+00:00",
"modified_dateutc": "2026-10-16T14:45:24.5334777+00:00",
"article_color_id": "2ed12c4a-cbef-42ad-a883-47740bd1b680",
"article_color_code": "sample string 38",
"article_color": {
"id": "e9d92ef8-4d81-4eff-846d-a33e6fe3109b",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2026-10-16T14:45:24.5334777+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "21b8580d-d6ff-40e2-97d1-d3a212f30857",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "4b94b123-d714-4b70-865d-7493d5590e85",
"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-10-16T14:45:24.5518483+00:00"
}