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_detailsName | 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": "2da25ff5-7300-4dac-a463-5341b7570f55", "purchase_order_id": "3c128120-d08a-4124-b759-b7d6ce8c7283", "purchase_order_reference_back_office": "sample string 3", "purchase_order": { "id": "33a0ad5e-1cb5-421b-b1e1-34e0ddd15d74", "id2": 2, "jobs_id": "c1a771e6-dc10-48ae-9e6d-d57c91b52834", "jobs_reference_back_office": "sample string 4", "supplier_company_id": "22d95d5c-ff7a-4c9d-974c-16e562f379b9", "supplier_company_code": "sample string 6", "user_id": "d79180a6-8b9f-42ee-ac5a-7b6edf11de3c", "user_code": "sample string 8", "description": "sample string 9", "memo": "sample string 10", "total_lines": 11, "date_create": "2025-04-02T03:19:22.3358599+00:00", "date_update": "2025-04-02T03:19:22.3358599+00:00", "date_delivery": "2025-04-02T03:19:22.3515103+00:00", "confirmed_date_delivery": "2025-04-02T03:19:22.3515103+00:00", "delivery_db_address_id": "c6453470-b9d5-4d08-8194-7b26e0d515f9", "approved_by_user_id": "46d223f6-7e95-4f3b-9cb5-c45653b69074", "approved_by_user_code": "sample string 18", "technical_user_id": "10e92592-e3cc-4970-8e3d-f10aa1c74229", "technical_user_code": "sample string 20", "purchase_order_status_id": "7710ef38-70c2-4e66-bea2-4f5c5d61ebf7", "purchase_order_status_code": "sample string 22", "article_stock_location_id": "14ed3636-d435-4a9b-897f-550ec0c2c56c", "is_pickup": true, "reference_back_office": "sample string 25", "modified_dateutc": "2025-04-02T03:19:22.3515103+00:00" }, "article_id": "95b3258f-6604-4517-bace-df6b0aaecf1e", "article_code": "sample string 5", "article": { "id": "39be402c-5e23-44e6-8329-bced902657af", "article_category_id": "e62af002-239b-4b64-9aa6-1f7903b782fe", "article_category": { "id": "a2bc9056-0499-40ca-b757-02cf7c1f333e", "parent_id": "d6d5e22c-b5b4-48c3-aecf-91721a845ac9", "parent_code": "sample string 3", "code": "sample string 4", "name": "sample string 5", "modified_dateutc": "2025-04-02T03:19:22.3515103+00:00" }, "article_category_code": "sample string 3", "article_group_1_id": "152ceb6c-7f8d-4fb6-803a-c9e0c31e73da", "article_group_1_code": "sample string 5", "article_group_2_id": "4807494b-a611-4aac-900e-7ee23cf3f173", "article_group_2_code": "sample string 7", "article_group_3_id": "36a4d573-0a01-4e02-ab01-ec814768260e", "article_group_3_code": "sample string 9", "article_group_4_id": "4a477225-0028-4f06-a4c2-451df30e4160", "article_group_4_code": "sample string 11", "article_group_5_id": "4ae45685-51c2-469b-a3a7-f5bc83f86006", "article_group_5_code": "sample string 13", "article_group_6_id": "1e6872ed-ba4e-43d0-8e01-9458d6efc9ee", "article_group_6_code": "sample string 15", "physical_stock": 16, "back_order_client": 17, "back_order_supplier": 18, "expected_delivery_date_bo_supplier": "2025-04-02T03:19:22.3515103+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-04-02T03:19:22.3515103+00:00", "date_update": "2025-04-02T03:19:22.3515103+00:00", "modified_dateutc": "2025-04-02T03:19:22.3515103+00:00", "article_color_id": "f459d95f-a383-4e91-af18-00e141e2d038", "article_color_code": "sample string 38", "article_color": { "id": "a7efc511-a0d3-432c-8f65-d83dbe60eccd", "name": "sample string 2", "code": "sample string 3", "modified_dateutc": "2025-04-02T03:19:22.3515103+00:00" }, "warranty_period_nb_months": 39, "use_serial": true, "_replace_id": "fe8ebc1c-3707-4abd-8b78-80e80754edfa", "replace_article_code": "sample string 42", "db_unit_of_measure_id_selling": "a5cb1cbb-2770-4587-ac5a-9db095fb0737", "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-04-02T03:19:22.3515103+00:00" }