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": "8624d16e-df35-440b-acfd-70e7b1635c05", "purchase_order_id": "51790b32-ecfb-4bdb-9506-375c043196f6", "purchase_order_reference_back_office": "sample string 3", "purchase_order": { "id": "d13d6c64-6fd6-4c71-a2ab-b7b3e35e10d5", "id2": 2, "jobs_id": "6d5a940d-a3b9-448f-a612-60012aa2c21f", "jobs_reference_back_office": "sample string 4", "supplier_company_id": "93a39e72-9d84-42fc-87ce-55985dcc5c19", "supplier_company_code": "sample string 6", "user_id": "160fad73-3435-482e-a8eb-02bffe462a3f", "user_code": "sample string 8", "description": "sample string 9", "memo": "sample string 10", "total_lines": 11, "date_create": "2025-08-12T05:39:00.7410741+00:00", "date_update": "2025-08-12T05:39:00.7410741+00:00", "date_delivery": "2025-08-12T05:39:00.7410741+00:00", "confirmed_date_delivery": "2025-08-12T05:39:00.7410741+00:00", "delivery_db_address_id": "69317fa6-c624-412c-9a8d-8d97e920d1a9", "approved_by_user_id": "1806da58-c900-49b5-94ce-01dbb6f44fee", "approved_by_user_code": "sample string 18", "technical_user_id": "5bc45634-317b-4587-8146-2cd47e02effe", "technical_user_code": "sample string 20", "purchase_order_status_id": "047493b4-ef54-4d4d-a71d-e343e9d91a1f", "purchase_order_status_code": "sample string 22", "article_stock_location_id": "ca96f3a2-775c-4998-8914-a93e232c97a1", "is_pickup": true, "reference_back_office": "sample string 25", "modified_dateutc": "2025-08-12T05:39:00.7410741+00:00" }, "article_id": "15a4a8fc-df24-4e4e-93c6-dbc2bd34a1c8", "article_code": "sample string 5", "article": { "id": "099422e9-0a22-431e-be78-b62715ca9c45", "article_category_id": "614e2b15-2768-443a-8e3d-4fffdd537664", "article_category": { "id": "79d59da1-f7bc-40f6-8d3d-f9ab667fe3e0", "parent_id": "404c2ed8-afd8-4259-bb1b-e75db510e5bc", "parent_code": "sample string 3", "code": "sample string 4", "name": "sample string 5", "modified_dateutc": "2025-08-12T05:39:00.7410741+00:00" }, "article_category_code": "sample string 3", "article_group_1_id": "ebddec97-13a9-4465-8284-fe6a7086bc29", "article_group_1_code": "sample string 5", "article_group_2_id": "12ebac2d-719b-45d7-affd-22fbbeea3d7a", "article_group_2_code": "sample string 7", "article_group_3_id": "288dc76d-dbac-4e1e-9edf-dd302b74c7b3", "article_group_3_code": "sample string 9", "article_group_4_id": "8d0ac06e-424b-4ce0-bb03-43818e7fcfcb", "article_group_4_code": "sample string 11", "article_group_5_id": "5b6bf75d-66f0-4289-a2bf-d20cc797af61", "article_group_5_code": "sample string 13", "article_group_6_id": "cff1b553-3609-4079-b4a6-e140f40c990e", "article_group_6_code": "sample string 15", "physical_stock": 16, "back_order_client": 17, "back_order_supplier": 18, "expected_delivery_date_bo_supplier": "2025-08-12T05:39:00.7410741+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-08-12T05:39:00.7410741+00:00", "date_update": "2025-08-12T05:39:00.7410741+00:00", "modified_dateutc": "2025-08-12T05:39:00.7410741+00:00", "article_color_id": "21b6ea0c-19dc-4a18-939d-1f44d1c2f1b8", "article_color_code": "sample string 38", "article_color": { "id": "08880a96-21b0-4d45-8585-b7b127a5ab14", "name": "sample string 2", "code": "sample string 3", "modified_dateutc": "2025-08-12T05:39:00.7410741+00:00" }, "warranty_period_nb_months": 39, "use_serial": true, "_replace_id": "fc63e2c5-25ad-4e21-bd81-442adc8c031f", "replace_article_code": "sample string 42", "db_unit_of_measure_id_selling": "067ad4b7-ad99-4491-a179-c0bcfb7c515f", "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-08-12T05:39:00.7410741+00:00" }