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": "f6e11fe2-e1b8-495c-a7ca-ba720123b89a", "purchase_order_id": "e9b360eb-1cad-4f82-b0bd-2001dcfb5e6a", "purchase_order_reference_back_office": "sample string 3", "purchase_order": { "id": "e13fdba0-ad92-42da-a009-2aed7cba424c", "id2": 2, "jobs_id": "6ba8e95a-16fb-4607-a8dd-89e3a8225ac8", "jobs_reference_back_office": "sample string 4", "supplier_company_id": "db25579d-ed9b-4364-8725-64886334dbb9", "supplier_company_code": "sample string 6", "user_id": "2fc933fb-17ec-419d-8c94-4b4f2b4fa4f8", "user_code": "sample string 8", "description": "sample string 9", "memo": "sample string 10", "total_lines": 11, "date_create": "2025-10-03T04:30:00.9663572+00:00", "date_update": "2025-10-03T04:30:00.9663572+00:00", "date_delivery": "2025-10-03T04:30:00.9663572+00:00", "confirmed_date_delivery": "2025-10-03T04:30:00.9663572+00:00", "delivery_db_address_id": "03795bf5-fcb6-44fb-a28e-ad69b6732936", "approved_by_user_id": "8d72d535-af21-4134-82f1-e1794a030488", "approved_by_user_code": "sample string 18", "technical_user_id": "f0a7a2e6-1a55-4ddd-ba11-6968c20218cf", "technical_user_code": "sample string 20", "purchase_order_status_id": "6658b1c8-a3a4-4dd4-8827-67bd875d1b1a", "purchase_order_status_code": "sample string 22", "article_stock_location_id": "088c1895-998e-4a3c-9da2-07e6a2147dc7", "is_pickup": true, "reference_back_office": "sample string 25", "modified_dateutc": "2025-10-03T04:30:00.9663572+00:00" }, "article_id": "5360f25c-bcb7-4167-802b-718ba4ef29b0", "article_code": "sample string 5", "article": { "id": "e9e1db71-ef8e-45b5-87ba-3737cf4aaf26", "article_category_id": "1f64ae70-ef3d-4ca5-adae-ec63e5b1e1fb", "article_category": { "id": "e4f0311f-ab37-48ef-bd51-144fe4ca4bab", "parent_id": "0c7071d1-ae05-4275-83fb-b538678b9d82", "parent_code": "sample string 3", "code": "sample string 4", "name": "sample string 5", "modified_dateutc": "2025-10-03T04:30:00.9663572+00:00" }, "article_category_code": "sample string 3", "article_group_1_id": "034d733d-398e-4bc6-a38d-22f875669a24", "article_group_1_code": "sample string 5", "article_group_2_id": "f2fbf716-fcbc-4383-82bb-90bb89df8c6e", "article_group_2_code": "sample string 7", "article_group_3_id": "b3904f9a-b81d-4162-80d4-ad2e0a9b4743", "article_group_3_code": "sample string 9", "article_group_4_id": "da983289-fa1b-447c-b197-2eb551808964", "article_group_4_code": "sample string 11", "article_group_5_id": "4e836ebe-7e77-49af-a9c7-aee7e7e8e048", "article_group_5_code": "sample string 13", "article_group_6_id": "bad88e10-47e3-4342-be19-b17b02b2a402", "article_group_6_code": "sample string 15", "physical_stock": 16, "back_order_client": 17, "back_order_supplier": 18, "expected_delivery_date_bo_supplier": "2025-10-03T04:30:00.9663572+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-10-03T04:30:00.9663572+00:00", "date_update": "2025-10-03T04:30:00.9663572+00:00", "modified_dateutc": "2025-10-03T04:30:00.9663572+00:00", "article_color_id": "efaf95b0-4ec3-4800-afae-60e2a40b9e1e", "article_color_code": "sample string 38", "article_color": { "id": "80349c55-5752-48e8-b8fb-6d4dfdeb83f9", "name": "sample string 2", "code": "sample string 3", "modified_dateutc": "2025-10-03T04:30:00.9663572+00:00" }, "warranty_period_nb_months": 39, "use_serial": true, "_replace_id": "b288f308-3174-4716-9280-b9615c4ecd7f", "replace_article_code": "sample string 42", "db_unit_of_measure_id_selling": "55e28310-d732-470d-b5ae-c76d8e65c142", "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-10-03T04:30:00.9663572+00:00" }