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": "aeb82645-a0f1-456a-bfa3-4e8074347a27",
  "purchase_order_id": "9ab8581c-ae8d-4f51-ac56-3f34c3518c18",
  "purchase_order_reference_back_office": "sample string 3",
  "purchase_order": {
    "id": "a8c2575b-4b88-4585-b01b-03e302bc4359",
    "id2": 2,
    "jobs_id": "d0f7d779-f120-4bc6-b501-1b2923349c3b",
    "jobs_reference_back_office": "sample string 4",
    "supplier_company_id": "2957bd67-4771-4145-9749-030b80f3419e",
    "supplier_company_code": "sample string 6",
    "user_id": "3b9ca7d3-b7a8-4d87-9811-a6fb9085b41d",
    "user_code": "sample string 8",
    "description": "sample string 9",
    "memo": "sample string 10",
    "total_lines": 11,
    "date_create": "2026-02-14T22:17:37.2154533+00:00",
    "date_update": "2026-02-14T22:17:37.2154533+00:00",
    "date_delivery": "2026-02-14T22:17:37.2154533+00:00",
    "confirmed_date_delivery": "2026-02-14T22:17:37.2154533+00:00",
    "delivery_db_address_id": "2867190f-9b11-4900-b7dc-cd3fcd10fb5a",
    "approved_by_user_id": "5f60e838-1d3a-47b0-bb56-c33cb5d8e333",
    "approved_by_user_code": "sample string 18",
    "technical_user_id": "d0d7611a-2d5b-40e7-9f87-d3fa564cf4fd",
    "technical_user_code": "sample string 20",
    "purchase_order_status_id": "54c80b8e-e6aa-4d53-bc66-105ab014b69f",
    "purchase_order_status_code": "sample string 22",
    "article_stock_location_id": "6d54717b-a563-431f-8aee-d08d20309517",
    "is_pickup": true,
    "reference_back_office": "sample string 25",
    "modified_dateutc": "2026-02-14T22:17:37.2154533+00:00"
  },
  "article_id": "60de7da6-ecb8-4e59-aa72-97cf07919e2c",
  "article_code": "sample string 5",
  "article": {
    "id": "b4291da6-a24c-400b-8743-d77c0e314f8d",
    "article_category_id": "194c713f-8efb-4181-b83f-897cde1c4dcd",
    "article_category": {
      "id": "f6a16fe0-f835-47ba-b054-c6b6d2e63488",
      "parent_id": "8444859e-da73-415a-8c20-2d67a1a6a864",
      "parent_code": "sample string 3",
      "code": "sample string 4",
      "name": "sample string 5",
      "modified_dateutc": "2026-02-14T22:17:37.2154533+00:00"
    },
    "article_category_code": "sample string 3",
    "article_group_1_id": "c86594c8-ab92-4c3f-bae6-ad228b08af17",
    "article_group_1_code": "sample string 5",
    "article_group_2_id": "a203afe6-7df6-4e35-87a2-e0bca1700e94",
    "article_group_2_code": "sample string 7",
    "article_group_3_id": "d277a86d-e894-45a9-b8f4-d2466f92ecdf",
    "article_group_3_code": "sample string 9",
    "article_group_4_id": "ee1f177d-3025-493d-93f8-b359b62025bc",
    "article_group_4_code": "sample string 11",
    "article_group_5_id": "9b0283f5-d767-45ad-abd3-a9ff657530a0",
    "article_group_5_code": "sample string 13",
    "article_group_6_id": "03eaaf49-b9fd-4b44-b721-f62cba90414a",
    "article_group_6_code": "sample string 15",
    "physical_stock": 16,
    "back_order_client": 17,
    "back_order_supplier": 18,
    "expected_delivery_date_bo_supplier": "2026-02-14T22:17:37.2154533+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-02-14T22:17:37.2154533+00:00",
    "date_update": "2026-02-14T22:17:37.2154533+00:00",
    "modified_dateutc": "2026-02-14T22:17:37.2154533+00:00",
    "article_color_id": "d6c48333-e1a4-4826-b688-63c989d67059",
    "article_color_code": "sample string 38",
    "article_color": {
      "id": "682d7ece-af54-40cc-9db9-3bf595974176",
      "name": "sample string 2",
      "code": "sample string 3",
      "modified_dateutc": "2026-02-14T22:17:37.2154533+00:00"
    },
    "warranty_period_nb_months": 39,
    "use_serial": true,
    "_replace_id": "8f973967-c973-4109-9357-03664f16cdae",
    "replace_article_code": "sample string 42",
    "db_unit_of_measure_id_selling": "5d274eda-767d-4167-b254-1824c9b70c82",
    "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-02-14T22:17:37.2154533+00:00"
}