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": "75fc4576-5de0-40c7-b29c-b91ba1af5043",
"purchase_order_id": "63c80b1d-0d79-4c46-8976-3329dc4703db",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "32faca54-0780-45d4-8095-c7aa0f05bf93",
"id2": 2,
"jobs_id": "70fc2bde-ce5b-4390-bf91-c927b0d430dd",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "d9f5b300-1260-4c5c-a541-6d04e139d8bc",
"supplier_company_code": "sample string 6",
"user_id": "38ff48ee-50b5-448d-8590-1503cb2adcf4",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2026-11-12T09:31:46.9771688+00:00",
"date_update": "2026-11-12T09:31:46.9771688+00:00",
"date_delivery": "2026-11-12T09:31:46.9771688+00:00",
"confirmed_date_delivery": "2026-11-12T09:31:46.9771688+00:00",
"delivery_db_address_id": "365f3657-c66a-41cb-b001-fbe799825955",
"approved_by_user_id": "b1fc7378-8865-4d4e-9cd9-6e2910e60a6f",
"approved_by_user_code": "sample string 18",
"technical_user_id": "065deec7-b532-43b2-a08e-8b228a9b9ee4",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "3bc4574f-1410-46bc-92c7-6155fbf85d59",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "679d7360-81a9-4978-8eaf-f61ebe15b125",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2026-11-12T09:31:46.9771688+00:00"
},
"article_id": "d09f3a72-6b46-4ca7-8f9d-33917bf6cff4",
"article_code": "sample string 5",
"article": {
"id": "ed05ae76-a9c8-403f-a7e2-50e6efa6d785",
"article_category_id": "c68447cc-2d42-4680-a592-fb676a96d54d",
"article_category": {
"id": "7673ab14-2f0b-4050-8d84-a05ad50a1673",
"parent_id": "d2bb8e51-b182-42da-abaf-b6cb1bf0e100",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2026-11-12T09:31:46.9771688+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "7d49708c-6df2-4df8-b22c-65920d6caede",
"article_group_1_code": "sample string 5",
"article_group_2_id": "868774ec-629a-4114-b529-98eaae5af3d0",
"article_group_2_code": "sample string 7",
"article_group_3_id": "c65fde11-9cdf-4c8e-8187-5c5b98857f47",
"article_group_3_code": "sample string 9",
"article_group_4_id": "81f8ad72-23bc-4ffb-8a7d-2d59278dced0",
"article_group_4_code": "sample string 11",
"article_group_5_id": "49eb44ec-c831-4cac-928c-22bf920b5270",
"article_group_5_code": "sample string 13",
"article_group_6_id": "6be84c1b-8657-4099-86b8-e10376499590",
"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-12T09:31:46.9771688+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-12T09:31:46.9771688+00:00",
"date_update": "2026-11-12T09:31:46.9771688+00:00",
"modified_dateutc": "2026-11-12T09:31:46.9771688+00:00",
"article_color_id": "9ff98999-7c4e-4942-b434-d89719c4cf51",
"article_color_code": "sample string 38",
"article_color": {
"id": "8be745d0-f126-460c-b960-a26fdf05b360",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2026-11-12T09:31:46.9771688+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "5ff30011-fe32-48d8-b7eb-faf878e84d73",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "df764ab2-8925-4ded-afa8-bc4fb38d3fb2",
"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-12T09:31:46.9771688+00:00"
}