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": "f1baf69e-e0fa-49d4-82d6-249b42329788",
"purchase_order_id": "a3ae2ab4-7108-4478-9703-50cc7e71f87d",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "c7ed3824-7fee-4925-a3af-e05cc3f49cf3",
"id2": 2,
"jobs_id": "ef54ee4f-daa6-4de2-b1f6-bc6b65d41017",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "a6d8d58f-524f-4e93-bf52-7e18a884b47e",
"supplier_company_code": "sample string 6",
"user_id": "27d0f74f-7f82-4135-9d3c-7c00a65f90c6",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2025-11-12T17:52:35.8799918+00:00",
"date_update": "2025-11-12T17:52:35.8799918+00:00",
"date_delivery": "2025-11-12T17:52:35.8799918+00:00",
"confirmed_date_delivery": "2025-11-12T17:52:35.8799918+00:00",
"delivery_db_address_id": "aaec95f5-b39f-4b74-a653-a468ab7e0f61",
"approved_by_user_id": "4f5e2883-01cf-4098-a789-b2d71a2c19ba",
"approved_by_user_code": "sample string 18",
"technical_user_id": "2e8a5b7c-2572-469e-b0ea-825cece59b94",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "11ef5a5c-f940-45b0-bb89-fc2b445022df",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "c049d0d9-02c8-4b16-9d02-b07de0843c51",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2025-11-12T17:52:35.8799918+00:00"
},
"article_id": "6fe8f174-07e4-4933-a82f-d7c70e894695",
"article_code": "sample string 5",
"article": {
"id": "5ccadb5f-d909-4a3e-8a30-75bed84d71a4",
"article_category_id": "c67aafea-7e4e-4924-a6bf-bd1c9e84c631",
"article_category": {
"id": "cbaece78-8021-43da-9f21-d35e40d57920",
"parent_id": "27ec0287-2f21-4a2c-9143-40d64d16d200",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2025-11-12T17:52:35.8799918+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "80df3d0f-f907-4588-9b78-970af8dc29a8",
"article_group_1_code": "sample string 5",
"article_group_2_id": "8aca4f96-8746-4416-96a6-84651e5bbfd4",
"article_group_2_code": "sample string 7",
"article_group_3_id": "7409dc01-8be2-499a-8ab2-950dcc5d3bb7",
"article_group_3_code": "sample string 9",
"article_group_4_id": "0c35f042-5e87-42c3-8a62-f81b2ceb0acd",
"article_group_4_code": "sample string 11",
"article_group_5_id": "919f593e-b7dd-432e-a057-e70d95656a69",
"article_group_5_code": "sample string 13",
"article_group_6_id": "8b3f4aff-516b-4440-b41d-d86a08b3d08b",
"article_group_6_code": "sample string 15",
"physical_stock": 16,
"back_order_client": 17,
"back_order_supplier": 18,
"expected_delivery_date_bo_supplier": "2025-11-12T17:52:35.8799918+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-11-12T17:52:36.083118+00:00",
"date_update": "2025-11-12T17:52:36.083118+00:00",
"modified_dateutc": "2025-11-12T17:52:36.083118+00:00",
"article_color_id": "c93d939e-9c35-49be-9643-bd71d6d902c5",
"article_color_code": "sample string 38",
"article_color": {
"id": "7a25c85e-b4d6-4e83-826f-f72f5190b8f5",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2025-11-12T17:52:36.083118+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "e9668cae-16db-49f3-8c2c-1d182383c6bc",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "37b23581-7365-4803-874e-8f48a3795a4c",
"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-11-12T17:52:36.083118+00:00"
}