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": "322eea0a-7bd3-47f4-b4e1-77250750c71a",
"purchase_order_id": "09848a36-5689-4917-8e5b-c3dc3768794e",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "b19b448c-6071-4983-9543-5e31c092bc23",
"id2": 2,
"jobs_id": "c0001d65-e914-480f-8033-851ae4e62670",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "9d48902b-9b62-407c-a28a-6c95e1f9114f",
"supplier_company_code": "sample string 6",
"user_id": "20c1f18d-1b17-4e6a-b527-d5edb802dce4",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2026-09-22T09:54:41.7311252+00:00",
"date_update": "2026-09-22T09:54:41.7311252+00:00",
"date_delivery": "2026-09-22T09:54:41.7311252+00:00",
"confirmed_date_delivery": "2026-09-22T09:54:41.7311252+00:00",
"delivery_db_address_id": "bdebaa7a-ccca-42ce-b535-14c849882d96",
"approved_by_user_id": "079e6d16-279b-4af6-bdc1-dd8386c7cf3d",
"approved_by_user_code": "sample string 18",
"technical_user_id": "730f2f15-a2f2-4af9-90a2-0999e7743443",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "df15ed7e-0314-4216-876d-1555eeceb8dc",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "799cf988-cbc1-476c-8cc4-a791270dc304",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2026-09-22T09:54:41.7311252+00:00"
},
"article_id": "c31e9acb-8a4b-4af0-a318-180c3e0b0cae",
"article_code": "sample string 5",
"article": {
"id": "d355a7bf-49cf-4924-ae9b-2a9ea68b4fda",
"article_category_id": "964da7ac-bd0f-4006-907b-07a98db53678",
"article_category": {
"id": "391e133d-09f4-4629-ad15-9be32938303d",
"parent_id": "ed5b3f9c-16b4-4d82-b243-62ef7ee905ce",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2026-09-22T09:54:41.7311252+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "c67eb72d-b5d2-442f-afc2-3deb9aee80b6",
"article_group_1_code": "sample string 5",
"article_group_2_id": "57ce2902-ae24-420c-9a3d-97d82dc6352c",
"article_group_2_code": "sample string 7",
"article_group_3_id": "39a1967b-6ecd-4410-bd3b-25f20148b779",
"article_group_3_code": "sample string 9",
"article_group_4_id": "b263b9a1-93ad-45dd-ad85-32098383be5a",
"article_group_4_code": "sample string 11",
"article_group_5_id": "2d4e4bc5-7c26-42ef-9578-354cc7417a89",
"article_group_5_code": "sample string 13",
"article_group_6_id": "c8a401ee-bfd4-4934-bba2-860aa474577d",
"article_group_6_code": "sample string 15",
"physical_stock": 16,
"back_order_client": 17,
"back_order_supplier": 18,
"expected_delivery_date_bo_supplier": "2026-09-22T09:54:41.7311252+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-09-22T09:54:41.7311252+00:00",
"date_update": "2026-09-22T09:54:41.7311252+00:00",
"modified_dateutc": "2026-09-22T09:54:41.7311252+00:00",
"article_color_id": "a3eafad3-7691-499b-8925-e06c5c686547",
"article_color_code": "sample string 38",
"article_color": {
"id": "36bcc3b6-526e-4920-b637-a2ab0ce0fb28",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2026-09-22T09:54:41.7311252+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "4ac8878b-3e9f-4a26-b579-c59f35884d91",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "d039ad07-81e1-4d76-862f-46c706d42b6d",
"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-09-22T09:54:41.7311252+00:00"
}