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": "d2dd7e56-6ecd-43c4-8b90-9818f7c9d24f",
  "purchase_order_id": "d06ec0e9-6331-4502-a129-326bfb02ea98",
  "purchase_order_reference_back_office": "sample string 3",
  "purchase_order": {
    "id": "0a57b32a-575c-4a99-93f5-d5bffb20484d",
    "id2": 2,
    "jobs_id": "95cce6bd-5435-4544-87ae-52c37dacd370",
    "jobs_reference_back_office": "sample string 4",
    "supplier_company_id": "b80c8343-9269-4677-b74a-ec9bb2380297",
    "supplier_company_code": "sample string 6",
    "user_id": "013e44ed-1698-4f90-9d63-e19fc15b190b",
    "user_code": "sample string 8",
    "description": "sample string 9",
    "memo": "sample string 10",
    "total_lines": 11,
    "date_create": "2026-03-09T03:42:07.9696978+00:00",
    "date_update": "2026-03-09T03:42:07.9853224+00:00",
    "date_delivery": "2026-03-09T03:42:07.9853224+00:00",
    "confirmed_date_delivery": "2026-03-09T03:42:07.9853224+00:00",
    "delivery_db_address_id": "8d63e66d-9976-45e1-9252-d1d7dae79e20",
    "approved_by_user_id": "aade02d6-62b6-4a0b-9fd8-aea3238d7f31",
    "approved_by_user_code": "sample string 18",
    "technical_user_id": "bebf4c17-99fd-455f-affd-9715f66d04c2",
    "technical_user_code": "sample string 20",
    "purchase_order_status_id": "d855b2e3-3850-447d-b0a4-352a4d5e5be1",
    "purchase_order_status_code": "sample string 22",
    "article_stock_location_id": "46818a67-e583-46e3-a6aa-0a664826ce9c",
    "is_pickup": true,
    "reference_back_office": "sample string 25",
    "modified_dateutc": "2026-03-09T03:42:07.9853224+00:00"
  },
  "article_id": "c7f88f99-61b1-423a-9845-5ab1cf7ac1b9",
  "article_code": "sample string 5",
  "article": {
    "id": "79248135-ed18-4965-b7f5-f1d63845cd67",
    "article_category_id": "73fcd285-b8bd-4698-a79f-d9ad221c0dc9",
    "article_category": {
      "id": "9a751d48-2330-4ea7-92f0-21e576d7bdb2",
      "parent_id": "28a2c727-9c16-4cb5-9df7-21047dd442d9",
      "parent_code": "sample string 3",
      "code": "sample string 4",
      "name": "sample string 5",
      "modified_dateutc": "2026-03-09T03:42:07.9853224+00:00"
    },
    "article_category_code": "sample string 3",
    "article_group_1_id": "e88758b2-5a81-472c-a64c-ffa77171ad2a",
    "article_group_1_code": "sample string 5",
    "article_group_2_id": "a89b3489-6cac-4573-997d-82e03e525720",
    "article_group_2_code": "sample string 7",
    "article_group_3_id": "5bd2b534-0a92-4742-8cf2-9c730cc7cd68",
    "article_group_3_code": "sample string 9",
    "article_group_4_id": "7994d4b6-06be-4289-b83f-3e5d4040ccd9",
    "article_group_4_code": "sample string 11",
    "article_group_5_id": "9d53e656-15f8-40fd-849e-ea0f8a09981f",
    "article_group_5_code": "sample string 13",
    "article_group_6_id": "40de73e9-864d-4fe5-a5ec-5e2f1b8b269b",
    "article_group_6_code": "sample string 15",
    "physical_stock": 16,
    "back_order_client": 17,
    "back_order_supplier": 18,
    "expected_delivery_date_bo_supplier": "2026-03-09T03:42:07.9853224+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-03-09T03:42:07.9853224+00:00",
    "date_update": "2026-03-09T03:42:07.9853224+00:00",
    "modified_dateutc": "2026-03-09T03:42:07.9853224+00:00",
    "article_color_id": "748bfd08-bfd0-421c-a122-8e1470db5cbb",
    "article_color_code": "sample string 38",
    "article_color": {
      "id": "3d8cf6c5-e807-4fea-8242-aa1e2b640eb7",
      "name": "sample string 2",
      "code": "sample string 3",
      "modified_dateutc": "2026-03-09T03:42:07.9853224+00:00"
    },
    "warranty_period_nb_months": 39,
    "use_serial": true,
    "_replace_id": "26ef3a40-e789-41c6-92f6-8ee96702ed36",
    "replace_article_code": "sample string 42",
    "db_unit_of_measure_id_selling": "a4c8b771-e3ff-43ca-b4ec-4c5292881dee",
    "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-03-09T03:42:07.9853224+00:00"
}