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": "9e3cdf58-dcda-4a5c-86d8-1866806a9e21",
"purchase_order_id": "07af1d8d-b442-467b-986b-30ee79987d92",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "1e830b51-0b86-41d6-be09-d83fa862efdc",
"id2": 2,
"jobs_id": "a2227936-28c1-4da7-901b-d8578ae53df1",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "10be26c0-f430-46dc-a1de-c77ce71e1d56",
"supplier_company_code": "sample string 6",
"user_id": "7d9e0948-19a8-4bd3-916c-95633436fe7c",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2026-01-18T06:07:52.4420612+00:00",
"date_update": "2026-01-18T06:07:52.4420612+00:00",
"date_delivery": "2026-01-18T06:07:52.4420612+00:00",
"confirmed_date_delivery": "2026-01-18T06:07:52.4420612+00:00",
"delivery_db_address_id": "7479abcb-3bc8-4d73-96b5-fa0fdc51e0c2",
"approved_by_user_id": "6a2b8a70-9a0c-4d12-a1b5-6b2f10cfa684",
"approved_by_user_code": "sample string 18",
"technical_user_id": "eabc28c2-cc39-4eaa-8770-ebdeb9f2c15d",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "cf5842be-f338-469b-b0ad-325425758d6f",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "abdf0fda-17e7-4795-a835-88bf17f466e6",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2026-01-18T06:07:52.4420612+00:00"
},
"article_id": "11880b25-5591-4631-8d17-81155fc3cdb0",
"article_code": "sample string 5",
"article": {
"id": "22a20480-b5e6-41fd-afcb-13394ce73e91",
"article_category_id": "6bd6ef2a-53fd-41b8-abb4-0498cc50b01c",
"article_category": {
"id": "5b3a8b06-cdfc-49ed-b3c0-d110dbdc474c",
"parent_id": "b66362a1-edc7-40df-9cf1-25b4e121e5af",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2026-01-18T06:07:52.4420612+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "f3d05c9a-ce61-49c9-aa8c-ce5af456ec92",
"article_group_1_code": "sample string 5",
"article_group_2_id": "79de514a-b3e8-4fcb-9cb9-630acd99db2a",
"article_group_2_code": "sample string 7",
"article_group_3_id": "a317727d-c55d-4ecb-a4bd-1bd705d84b4b",
"article_group_3_code": "sample string 9",
"article_group_4_id": "f6e0da07-90fe-4df7-b768-b588cb58315f",
"article_group_4_code": "sample string 11",
"article_group_5_id": "ebdec9b8-233a-4835-b2bb-3d6a0b4e50d7",
"article_group_5_code": "sample string 13",
"article_group_6_id": "59c81573-82f4-4f24-80c6-432d6b9cb63a",
"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-18T06:07:52.4420612+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-18T06:07:52.4420612+00:00",
"date_update": "2026-01-18T06:07:52.4420612+00:00",
"modified_dateutc": "2026-01-18T06:07:52.4420612+00:00",
"article_color_id": "0eff9c71-8f35-4923-a22c-957d1ef2f524",
"article_color_code": "sample string 38",
"article_color": {
"id": "595830e9-049a-491a-99dc-35da32b3fb90",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2026-01-18T06:07:52.4576849+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "01cb4175-44e3-4568-840d-2227a3ea0629",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "f2496263-00d9-43a2-ae5c-3a8433950340",
"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-18T06:07:52.4576849+00:00"
}