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": "cd97b674-49ce-4990-bff1-6375f647b49a",
"purchase_order_id": "d8ef5836-409d-4a8d-bea5-5842f66cf38a",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "5c25c6ac-e367-448d-b755-a220c00ee87a",
"id2": 2,
"jobs_id": "824552d9-f279-4073-afb0-27092017aa5c",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "2e3c8bcd-e079-4c05-946f-e7685ab1ada4",
"supplier_company_code": "sample string 6",
"user_id": "f9b6c5f9-b220-4893-ab78-2c8df957c09b",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2026-01-16T19:57:08.6267236+00:00",
"date_update": "2026-01-16T19:57:08.6267236+00:00",
"date_delivery": "2026-01-16T19:57:08.6267236+00:00",
"confirmed_date_delivery": "2026-01-16T19:57:08.6267236+00:00",
"delivery_db_address_id": "3ce15a2f-8f44-402e-a227-9a91eb35305d",
"approved_by_user_id": "6f58aefc-2779-4bba-b685-14707276cdaf",
"approved_by_user_code": "sample string 18",
"technical_user_id": "5f55d3b5-e915-4d98-802b-aba790f3a983",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "fb48179f-b8a1-4e54-a0bd-4f711fac6497",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "e443009a-60bd-4331-82bd-85254c973b15",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2026-01-16T19:57:08.6267236+00:00"
},
"article_id": "9ec8065d-a9ae-4184-a3bf-a28dbaed55a6",
"article_code": "sample string 5",
"article": {
"id": "2e5e825a-0dbc-420a-9a54-73d62ee24ad3",
"article_category_id": "81850475-acbe-4e63-bb1a-b24759a3315a",
"article_category": {
"id": "c5e5c16e-031b-4a9b-adc3-2d7cb0e4680b",
"parent_id": "5fee63c3-0917-46bd-9a4c-3ad2ccf423fa",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2026-01-16T19:57:08.6267236+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "608b4ebd-dea7-4379-becb-ff953c905f84",
"article_group_1_code": "sample string 5",
"article_group_2_id": "039f26e5-b9bc-4ab8-8f73-835e3a5a6d25",
"article_group_2_code": "sample string 7",
"article_group_3_id": "bcd459c6-3df7-424a-8083-24cdfeb2ebf9",
"article_group_3_code": "sample string 9",
"article_group_4_id": "5ca06671-4906-4c5d-9894-cbb837c3bc4f",
"article_group_4_code": "sample string 11",
"article_group_5_id": "0ce19157-1019-46c4-a9bf-8f8dce485501",
"article_group_5_code": "sample string 13",
"article_group_6_id": "8fd3ea57-2749-4959-a917-da702aa6d320",
"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-16T19:57:08.6267236+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-16T19:57:08.6267236+00:00",
"date_update": "2026-01-16T19:57:08.6267236+00:00",
"modified_dateutc": "2026-01-16T19:57:08.6267236+00:00",
"article_color_id": "b06db30e-ce60-4dd9-961b-af3f068d1c24",
"article_color_code": "sample string 38",
"article_color": {
"id": "a9986208-f496-4898-b46c-49e210c63af0",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2026-01-16T19:57:08.6267236+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "b0dccdaa-3417-46a2-93df-a3708592d482",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "237132a2-cbe2-4512-944f-6293077633a1",
"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-16T19:57:08.6267236+00:00"
}