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": "f8c528e1-8ffd-4774-a838-d0e752206136",
  "purchase_order_id": "29ace4fb-5063-4b70-8f37-4a9b8e086195",
  "purchase_order_reference_back_office": "sample string 3",
  "purchase_order": {
    "id": "dd2728c2-0649-41fb-8e52-e31367798c8a",
    "id2": 2,
    "jobs_id": "57663870-85b1-48a2-8ff6-079bac81508a",
    "jobs_reference_back_office": "sample string 4",
    "supplier_company_id": "9f174291-1f16-4310-bfd4-7b4dc13a7e7e",
    "supplier_company_code": "sample string 6",
    "user_id": "0d359457-9fd1-4d05-8570-5645bac1c29d",
    "user_code": "sample string 8",
    "description": "sample string 9",
    "memo": "sample string 10",
    "total_lines": 11,
    "date_create": "2026-06-04T19:10:45.3096003+00:00",
    "date_update": "2026-06-04T19:10:45.3096003+00:00",
    "date_delivery": "2026-06-04T19:10:45.3096003+00:00",
    "confirmed_date_delivery": "2026-06-04T19:10:45.3096003+00:00",
    "delivery_db_address_id": "25943953-5665-4ea4-98c2-d7984b53911d",
    "approved_by_user_id": "f6e518f4-2afb-4763-bb0f-82632937ab10",
    "approved_by_user_code": "sample string 18",
    "technical_user_id": "e74dd7c8-21f8-408e-928f-48ae6c290d02",
    "technical_user_code": "sample string 20",
    "purchase_order_status_id": "0deb3f75-ba4e-4471-b1e2-0305327fb989",
    "purchase_order_status_code": "sample string 22",
    "article_stock_location_id": "bf4052c3-3224-4ef5-99a1-7fd03b282093",
    "is_pickup": true,
    "reference_back_office": "sample string 25",
    "modified_dateutc": "2026-06-04T19:10:45.3096003+00:00"
  },
  "article_id": "19a63c2b-cde9-48f8-b332-afbb2584a620",
  "article_code": "sample string 5",
  "article": {
    "id": "640189e2-617d-4777-8bd2-d9f9ce4ab1ef",
    "article_category_id": "387c4340-79d5-4d5d-a425-6cc4058670fb",
    "article_category": {
      "id": "9b669982-a420-4bf0-ad92-a4f84b0258f3",
      "parent_id": "c5d4cece-d870-478b-a7d8-bea68be7e3cf",
      "parent_code": "sample string 3",
      "code": "sample string 4",
      "name": "sample string 5",
      "modified_dateutc": "2026-06-04T19:10:45.3096003+00:00"
    },
    "article_category_code": "sample string 3",
    "article_group_1_id": "3287626b-5545-4bec-a4d3-ec0471de7133",
    "article_group_1_code": "sample string 5",
    "article_group_2_id": "6a2fac11-f62c-43d9-a540-28e7664f67bc",
    "article_group_2_code": "sample string 7",
    "article_group_3_id": "c9c22128-8756-4b99-93b3-897d3b1c53fe",
    "article_group_3_code": "sample string 9",
    "article_group_4_id": "b68aa3d4-bd19-4708-a8ff-dfc322399682",
    "article_group_4_code": "sample string 11",
    "article_group_5_id": "ee75435e-4e21-49ea-9984-852fe8090aca",
    "article_group_5_code": "sample string 13",
    "article_group_6_id": "0aef9806-6d0a-4d67-9381-dcf6539fcd74",
    "article_group_6_code": "sample string 15",
    "physical_stock": 16,
    "back_order_client": 17,
    "back_order_supplier": 18,
    "expected_delivery_date_bo_supplier": "2026-06-04T19:10:45.3096003+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-06-04T19:10:45.3096003+00:00",
    "date_update": "2026-06-04T19:10:45.3096003+00:00",
    "modified_dateutc": "2026-06-04T19:10:45.3096003+00:00",
    "article_color_id": "91b61cdc-85e6-4afd-abdf-adc5306f223a",
    "article_color_code": "sample string 38",
    "article_color": {
      "id": "e49b32b9-245b-498f-8afc-5e311f1fbc15",
      "name": "sample string 2",
      "code": "sample string 3",
      "modified_dateutc": "2026-06-04T19:10:45.3096003+00:00"
    },
    "warranty_period_nb_months": 39,
    "use_serial": true,
    "_replace_id": "397df8f8-c003-45e9-bfdd-80722aaa958b",
    "replace_article_code": "sample string 42",
    "db_unit_of_measure_id_selling": "581b5fb8-d304-4626-a10a-9375c4309be2",
    "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-06-04T19:10:45.3096003+00:00"
}