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": "f5d812f8-7d92-477a-98f4-90f51eeea6de",
"purchase_order_id": "d6962b27-49de-4db1-8f76-bfb2ebcc1efa",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "de7e241b-585a-4c42-92e9-26b13fa55240",
"id2": 2,
"jobs_id": "8111c268-75c9-465d-8539-a0b7dacae9b4",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "f0271533-4345-4b46-a454-addc56f8f85f",
"supplier_company_code": "sample string 6",
"user_id": "a2b1e1d5-8f41-4ee6-9b57-6c156885932c",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2026-03-06T08:34:29.5608899+00:00",
"date_update": "2026-03-06T08:34:29.5608899+00:00",
"date_delivery": "2026-03-06T08:34:29.5608899+00:00",
"confirmed_date_delivery": "2026-03-06T08:34:29.5608899+00:00",
"delivery_db_address_id": "f0178b6f-5f04-4d8e-8147-1e4a476591bd",
"approved_by_user_id": "3cf6e6d1-ae3d-4143-9c5d-8bde9ab43b4d",
"approved_by_user_code": "sample string 18",
"technical_user_id": "57d967bb-f250-4f67-9f1f-a3abcbfb4337",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "e5937e32-5825-442d-8f2a-463fb8f2e162",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "0e5fe719-846d-4293-8c00-6b7498daeab2",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2026-03-06T08:34:29.5608899+00:00"
},
"article_id": "816924f1-e198-40b5-a2cb-e3f35958eec9",
"article_code": "sample string 5",
"article": {
"id": "6ff3e3d4-3d5d-4467-93c3-e82512b30ba8",
"article_category_id": "c6e4e7e3-eed3-4ac8-a554-7d734bc5cbf0",
"article_category": {
"id": "f110999a-cc8a-48ac-b162-561fa91f4c24",
"parent_id": "2ae5f5e8-781b-44d6-b9e0-23cd493b1168",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2026-03-06T08:34:29.5608899+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "41254933-1445-48c6-a278-4ea7c8e0d897",
"article_group_1_code": "sample string 5",
"article_group_2_id": "28f61e8c-59fb-4bdb-9d7e-39382c08f3ef",
"article_group_2_code": "sample string 7",
"article_group_3_id": "034ae47b-97c2-4470-92e5-d49bf8cc78ad",
"article_group_3_code": "sample string 9",
"article_group_4_id": "3a137687-a75e-4d75-a7d4-a859767a0bcf",
"article_group_4_code": "sample string 11",
"article_group_5_id": "ac0e3bb0-e600-451b-be17-74b0bdffb63e",
"article_group_5_code": "sample string 13",
"article_group_6_id": "3fcb3a0a-000a-4a80-b0c0-c24fdf4763e4",
"article_group_6_code": "sample string 15",
"physical_stock": 16,
"back_order_client": 17,
"back_order_supplier": 18,
"expected_delivery_date_bo_supplier": "2026-03-06T08:34:29.5765192+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-03-06T08:34:29.5765192+00:00",
"date_update": "2026-03-06T08:34:29.5765192+00:00",
"modified_dateutc": "2026-03-06T08:34:29.5765192+00:00",
"article_color_id": "a8109424-f70a-4efa-8fe9-78d33e41e10d",
"article_color_code": "sample string 38",
"article_color": {
"id": "69959fc1-4eb8-4b91-8c54-ec9454647730",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2026-03-06T08:34:29.5765192+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "73c83a8d-e28c-47fc-a4e6-9a5fa6668c78",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "4a6a04fa-9a57-47d6-a967-1fc414f68447",
"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-03-06T08:34:29.5765192+00:00"
}