Retrieves all the purchase order order lines
Request Information
URI Parameters :
None.
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": "813b429c-ae85-497a-a61f-06583397b0f7",
"purchase_order_id": "e0509a14-a90e-404a-829a-c1ab5cc9199c",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "1af72521-6694-4ebc-ac91-6c384f50ad85",
"id2": 2,
"jobs_id": "bdb0450b-569c-485b-b691-ccb077f41745",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "74f40716-3135-4561-a105-85453391f6f2",
"supplier_company_code": "sample string 6",
"user_id": "a725302f-52ff-4943-ab64-989c808e5c8a",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2026-02-14T06:24:50.4883989+00:00",
"date_update": "2026-02-14T06:24:50.4883989+00:00",
"date_delivery": "2026-02-14T06:24:50.4883989+00:00",
"confirmed_date_delivery": "2026-02-14T06:24:50.4883989+00:00",
"delivery_db_address_id": "b24b1790-9c2c-47ad-b1f6-eef6e9f6a900",
"approved_by_user_id": "4a9f1da0-63d8-4bb1-95bf-c207ffdf45ae",
"approved_by_user_code": "sample string 18",
"technical_user_id": "dca6ae80-fbc7-49c9-bef7-e5442ca7901c",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "b670a857-289f-402a-8d1b-87f41c7a41c2",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "10c5d578-ffd4-47f0-98bb-0b7361545dea",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2026-02-14T06:24:50.4883989+00:00"
},
"article_id": "a5138e87-b052-48a0-a713-4bf68cedfe47",
"article_code": "sample string 5",
"article": {
"id": "fdb5bfc1-5977-4bb5-963f-b82ca29c61d0",
"article_category_id": "2e09d629-9f48-42d0-9aa9-6be18afd3856",
"article_category": {
"id": "7cece10e-c3ed-4f85-ab6e-602a65bd389e",
"parent_id": "01dd0613-5adb-4be9-a317-6b48db575da3",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2026-02-14T06:24:50.4883989+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "eccf15fb-8b88-4bab-a1d5-33a4cf87be66",
"article_group_1_code": "sample string 5",
"article_group_2_id": "9baca0b3-d816-4f05-a5fa-15d3124e3891",
"article_group_2_code": "sample string 7",
"article_group_3_id": "27c85430-9af2-453f-a797-68e2f0dae9fe",
"article_group_3_code": "sample string 9",
"article_group_4_id": "75b66a5a-3e6b-4643-86b2-74231e9a5e7d",
"article_group_4_code": "sample string 11",
"article_group_5_id": "9748e5dc-5b90-4526-9a51-90d55a32ddae",
"article_group_5_code": "sample string 13",
"article_group_6_id": "4e04d237-b1c6-4b1d-bff4-7d7b99f0f967",
"article_group_6_code": "sample string 15",
"physical_stock": 16,
"back_order_client": 17,
"back_order_supplier": 18,
"expected_delivery_date_bo_supplier": "2026-02-14T06:24:50.4883989+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-02-14T06:24:50.4883989+00:00",
"date_update": "2026-02-14T06:24:50.4883989+00:00",
"modified_dateutc": "2026-02-14T06:24:50.4883989+00:00",
"article_color_id": "6ddf7461-184f-4a97-ab12-28f772fd2d89",
"article_color_code": "sample string 38",
"article_color": {
"id": "bccbae70-4f98-452d-a509-2c45d9365dc6",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2026-02-14T06:24:50.4883989+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "e765d409-db79-4baa-8852-b6febd6a68cb",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "e94dcebb-d9a4-4051-a9a4-d9d2f649996d",
"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-02-14T06:24:50.4883989+00:00"
}