Retrieves the purchase order order lines with the specified key
Request Information
URI Parameters :
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
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": "44957c27-320f-4da2-a902-16887af1a5f1",
"purchase_order_id": "06cdec84-3f88-4809-ba8d-1bc285e41a9e",
"purchase_order_reference_back_office": "sample string 3",
"purchase_order": {
"id": "9f7c1c41-1568-466a-9c5d-980a363e2b46",
"id2": 2,
"jobs_id": "2bee2b29-6a30-4477-ad34-eff7f984f739",
"jobs_reference_back_office": "sample string 4",
"supplier_company_id": "b461db00-9ca2-4220-9020-d81864bd3f87",
"supplier_company_code": "sample string 6",
"user_id": "4a326246-a68c-4cff-96e9-21f45047ec81",
"user_code": "sample string 8",
"description": "sample string 9",
"memo": "sample string 10",
"total_lines": 11,
"date_create": "2025-11-21T20:25:25.689719+00:00",
"date_update": "2025-11-21T20:25:25.689719+00:00",
"date_delivery": "2025-11-21T20:25:25.689719+00:00",
"confirmed_date_delivery": "2025-11-21T20:25:25.689719+00:00",
"delivery_db_address_id": "cf38ec11-1a3e-4c1d-b0ee-03c113d18fde",
"approved_by_user_id": "2e1195c6-c9a4-4fbc-b993-9dfca1026583",
"approved_by_user_code": "sample string 18",
"technical_user_id": "feb5a22f-c17e-48ef-ac9d-2feb06bf756b",
"technical_user_code": "sample string 20",
"purchase_order_status_id": "7fa93d8d-65c7-44f0-bdc8-d5e666d5ccea",
"purchase_order_status_code": "sample string 22",
"article_stock_location_id": "586f124b-206b-40ac-bc15-91010c3f98bf",
"is_pickup": true,
"reference_back_office": "sample string 25",
"modified_dateutc": "2025-11-21T20:25:25.689719+00:00"
},
"article_id": "fdc908f5-3386-4db6-bc6e-c62fefbe0b47",
"article_code": "sample string 5",
"article": {
"id": "f4116ed2-c7a7-4f0b-a471-accdea42dbb4",
"article_category_id": "a463d57a-0392-4847-a263-9baf850c47ac",
"article_category": {
"id": "2b42d194-6fd6-4ebd-9788-363d0361af4d",
"parent_id": "30b898f4-2136-4578-933b-7da0ac4edffb",
"parent_code": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"modified_dateutc": "2025-11-21T20:25:25.689719+00:00"
},
"article_category_code": "sample string 3",
"article_group_1_id": "8a1c8c39-fed9-4d04-b4fc-9f2fa333755c",
"article_group_1_code": "sample string 5",
"article_group_2_id": "4a486531-523f-4f00-bf6c-437f19431743",
"article_group_2_code": "sample string 7",
"article_group_3_id": "189c8e2f-2f07-4842-9c42-1be52c4df730",
"article_group_3_code": "sample string 9",
"article_group_4_id": "f76b95fd-b820-45e8-a319-844c2543b21f",
"article_group_4_code": "sample string 11",
"article_group_5_id": "3085157a-c3b9-4cca-8424-5e2f846f0a75",
"article_group_5_code": "sample string 13",
"article_group_6_id": "414c8e7c-e566-40ef-b2e9-bc15d9e731e2",
"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-21T20:25:25.689719+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-21T20:25:25.7053196+00:00",
"date_update": "2025-11-21T20:25:25.7053196+00:00",
"modified_dateutc": "2025-11-21T20:25:25.7053196+00:00",
"article_color_id": "91566c26-493a-4f20-b2f2-e99a27155078",
"article_color_code": "sample string 38",
"article_color": {
"id": "8803aa55-d706-4e6b-bb9a-8ae5b520fe0b",
"name": "sample string 2",
"code": "sample string 3",
"modified_dateutc": "2025-11-21T20:25:25.7053196+00:00"
},
"warranty_period_nb_months": 39,
"use_serial": true,
"_replace_id": "a7277dab-a5db-41c4-b101-8c3563084834",
"replace_article_code": "sample string 42",
"db_unit_of_measure_id_selling": "d2434285-1cba-464f-a127-d9d6432081e4",
"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-21T20:25:25.7053196+00:00"
}