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": "b05295ef-faf1-4903-bb17-208d5a2d6552",
  "purchase_order_id": "7077d5e5-5344-4945-85ce-52856121cc95",
  "purchase_order_reference_back_office": "sample string 3",
  "purchase_order": {
    "id": "19f3ae68-ad4c-4c28-b0ff-4a0eaa647941",
    "id2": 2,
    "jobs_id": "0d45921b-996a-40ef-b7bc-1d9710af26c3",
    "jobs_reference_back_office": "sample string 4",
    "supplier_company_id": "6bfe71a4-cfaa-4c0a-b603-a44ebe0bb6e9",
    "supplier_company_code": "sample string 6",
    "user_id": "c2a17bc1-5cc7-4d5d-9aa3-d2c350c6f027",
    "user_code": "sample string 8",
    "description": "sample string 9",
    "memo": "sample string 10",
    "total_lines": 11,
    "date_create": "2026-05-29T17:36:32.412225+00:00",
    "date_update": "2026-05-29T17:36:32.412225+00:00",
    "date_delivery": "2026-05-29T17:36:32.412225+00:00",
    "confirmed_date_delivery": "2026-05-29T17:36:32.412225+00:00",
    "delivery_db_address_id": "d5e92bd4-1c9b-4803-bce1-cff70e78e194",
    "approved_by_user_id": "1bf79757-f5ed-4611-9dd7-678948a58ea6",
    "approved_by_user_code": "sample string 18",
    "technical_user_id": "4f7e1d39-db62-48a3-a1c6-630086bfe14a",
    "technical_user_code": "sample string 20",
    "purchase_order_status_id": "3b30c03b-4c37-48a7-a36d-20181ad330b5",
    "purchase_order_status_code": "sample string 22",
    "article_stock_location_id": "de18ba28-adc6-4fe1-9f6e-9c9278183389",
    "is_pickup": true,
    "reference_back_office": "sample string 25",
    "modified_dateutc": "2026-05-29T17:36:32.412225+00:00"
  },
  "article_id": "393e86f3-4d27-48f9-97e4-ad71b549ac77",
  "article_code": "sample string 5",
  "article": {
    "id": "5e99e2c3-a525-4a9f-a856-121d20838d5b",
    "article_category_id": "dc25ffa1-c5b3-44fc-954e-743872f2a228",
    "article_category": {
      "id": "6e3f6a46-be36-410d-a040-b811dde75ca7",
      "parent_id": "fdd6c6b7-4af5-45d2-83f6-0a0c4f584241",
      "parent_code": "sample string 3",
      "code": "sample string 4",
      "name": "sample string 5",
      "modified_dateutc": "2026-05-29T17:36:32.412225+00:00"
    },
    "article_category_code": "sample string 3",
    "article_group_1_id": "f63cf0e4-618d-41af-9bbc-866bdb997637",
    "article_group_1_code": "sample string 5",
    "article_group_2_id": "51d6bd6f-8144-4b29-b035-ed7462f3ff07",
    "article_group_2_code": "sample string 7",
    "article_group_3_id": "3d8739d4-72e2-433d-8a8d-9c9f896865c3",
    "article_group_3_code": "sample string 9",
    "article_group_4_id": "954d1280-b4cf-4e9e-ba58-cbfbfc98a07f",
    "article_group_4_code": "sample string 11",
    "article_group_5_id": "6a8185af-e3da-4a20-908b-3d235f7dfc78",
    "article_group_5_code": "sample string 13",
    "article_group_6_id": "076b6103-d24e-4dd9-be4a-ed6c97efddd7",
    "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-29T17:36:32.412225+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-29T17:36:32.412225+00:00",
    "date_update": "2026-05-29T17:36:32.412225+00:00",
    "modified_dateutc": "2026-05-29T17:36:32.412225+00:00",
    "article_color_id": "88948afb-ea6c-4195-9b1c-1624ea9d5de1",
    "article_color_code": "sample string 38",
    "article_color": {
      "id": "51595623-35c8-4120-96c3-a6bf0776f774",
      "name": "sample string 2",
      "code": "sample string 3",
      "modified_dateutc": "2026-05-29T17:36:32.412225+00:00"
    },
    "warranty_period_nb_months": 39,
    "use_serial": true,
    "_replace_id": "5753b5c0-b2d8-4800-8ef9-4032f421c91e",
    "replace_article_code": "sample string 42",
    "db_unit_of_measure_id_selling": "22534ed9-bba1-4c07-b062-2f55b9877dea",
    "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-29T17:36:32.412225+00:00"
}