Retrieves the purchase order order lines with the specified key

Request Information

URI Parameters :

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters :

None.

Response Information

Resource Description :

IHttpActionResult

purchase_order_details
NameDescriptionTypeAdditional 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

Sample:
{
  "id": "f078fd4d-1be2-43e0-8a7c-eda5236eec24",
  "purchase_order_id": "b41c2ee1-09ea-4bee-9b8e-f23e5b746f94",
  "purchase_order_reference_back_office": "sample string 3",
  "purchase_order": {
    "id": "b69b89a4-c594-49f8-aea3-0525978fa94f",
    "id2": 2,
    "jobs_id": "005ec104-2373-44cb-b065-e976630716d6",
    "jobs_reference_back_office": "sample string 4",
    "supplier_company_id": "019edeb2-f896-40fd-8e6d-ad5f1c481ccf",
    "supplier_company_code": "sample string 6",
    "user_id": "3eb5151b-6485-44a4-9c77-84a73f3b1128",
    "user_code": "sample string 8",
    "description": "sample string 9",
    "memo": "sample string 10",
    "total_lines": 11,
    "date_create": "2026-05-29T12:39:44.2300375+00:00",
    "date_update": "2026-05-29T12:39:44.2300375+00:00",
    "date_delivery": "2026-05-29T12:39:44.2300375+00:00",
    "confirmed_date_delivery": "2026-05-29T12:39:44.2300375+00:00",
    "delivery_db_address_id": "7874e1a9-7e79-4d81-9d6d-2f03ed59174c",
    "approved_by_user_id": "9bcd4f06-9b27-4fda-b72e-fa065f4d8758",
    "approved_by_user_code": "sample string 18",
    "technical_user_id": "6e355140-98f6-42f4-971f-fddec540dfec",
    "technical_user_code": "sample string 20",
    "purchase_order_status_id": "bf20727e-9b12-4785-8ac8-49b7b71736af",
    "purchase_order_status_code": "sample string 22",
    "article_stock_location_id": "2a3f7cee-9539-4f14-b871-1d117bcb75c8",
    "is_pickup": true,
    "reference_back_office": "sample string 25",
    "modified_dateutc": "2026-05-29T12:39:44.2300375+00:00"
  },
  "article_id": "79197c27-5722-48b9-854f-4e60bef87c32",
  "article_code": "sample string 5",
  "article": {
    "id": "65d8c995-e9e8-44a6-80ec-195d66eed121",
    "article_category_id": "7f27e58d-f6b4-42bb-b04e-eb72552f632e",
    "article_category": {
      "id": "04f4298f-3022-419a-be44-bac308a674be",
      "parent_id": "74b21769-5e83-4071-aed4-94fd72f9ead6",
      "parent_code": "sample string 3",
      "code": "sample string 4",
      "name": "sample string 5",
      "modified_dateutc": "2026-05-29T12:39:44.2300375+00:00"
    },
    "article_category_code": "sample string 3",
    "article_group_1_id": "551842a7-ca30-4d0a-8e98-d4b761a42916",
    "article_group_1_code": "sample string 5",
    "article_group_2_id": "53e13297-a983-4ea5-8fe7-a96fa10b0668",
    "article_group_2_code": "sample string 7",
    "article_group_3_id": "fdc20213-4578-4ef8-9a10-962ab3adc585",
    "article_group_3_code": "sample string 9",
    "article_group_4_id": "0a695612-f254-45e5-b4cd-41934e532bc3",
    "article_group_4_code": "sample string 11",
    "article_group_5_id": "2c0c6364-d4fa-499a-b35a-c55e637119f8",
    "article_group_5_code": "sample string 13",
    "article_group_6_id": "e501c4e9-274c-40db-8c57-38e228cc427f",
    "article_group_6_code": "sample string 15",
    "physical_stock": 16,
    "back_order_client": 17,
    "back_order_supplier": 18,
    "expected_delivery_date_bo_supplier": "2026-05-29T12:39:44.2300375+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-05-29T12:39:44.2300375+00:00",
    "date_update": "2026-05-29T12:39:44.2300375+00:00",
    "modified_dateutc": "2026-05-29T12:39:44.2300375+00:00",
    "article_color_id": "2c055063-f189-4392-8a83-7a816a33933a",
    "article_color_code": "sample string 38",
    "article_color": {
      "id": "3a84b83a-8e6e-4107-8cc2-717bc7700ed3",
      "name": "sample string 2",
      "code": "sample string 3",
      "modified_dateutc": "2026-05-29T12:39:44.2300375+00:00"
    },
    "warranty_period_nb_months": 39,
    "use_serial": true,
    "_replace_id": "b985d474-59ce-4663-a1ae-4c4bcbb6d616",
    "replace_article_code": "sample string 42",
    "db_unit_of_measure_id_selling": "c5ea6039-9965-4ef9-9fa7-d072ec1d0b21",
    "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-05-29T12:39:44.2300375+00:00"
}