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": "7f1c833d-0eb8-4eaf-bbac-fdd01665110d",
  "purchase_order_id": "1745e234-75dc-4013-8d61-fecc6b6d0844",
  "purchase_order_reference_back_office": "sample string 3",
  "purchase_order": {
    "id": "c1bd9ca9-3f47-4174-9928-3dcfff75bbcb",
    "id2": 2,
    "jobs_id": "af535456-bc06-457c-9489-9795a1bfa752",
    "jobs_reference_back_office": "sample string 4",
    "supplier_company_id": "4dda80d2-8e9c-4c9a-9f87-7d72427c32a8",
    "supplier_company_code": "sample string 6",
    "user_id": "a5bf836f-a240-4bb1-b1ab-59b9444f5743",
    "user_code": "sample string 8",
    "description": "sample string 9",
    "memo": "sample string 10",
    "total_lines": 11,
    "date_create": "2026-01-29T14:12:08.6246561+00:00",
    "date_update": "2026-01-29T14:12:08.6246561+00:00",
    "date_delivery": "2026-01-29T14:12:08.6246561+00:00",
    "confirmed_date_delivery": "2026-01-29T14:12:08.6246561+00:00",
    "delivery_db_address_id": "c415c66e-59ce-4242-9bd4-d0131d918c38",
    "approved_by_user_id": "2931766a-caaf-4c03-9020-5c8c56aeae59",
    "approved_by_user_code": "sample string 18",
    "technical_user_id": "575d0923-2303-4f39-acb1-04858ddec2dd",
    "technical_user_code": "sample string 20",
    "purchase_order_status_id": "96d036a2-5949-44b2-81e9-32fadd71263d",
    "purchase_order_status_code": "sample string 22",
    "article_stock_location_id": "fb8b8a6d-8238-44a1-a6f4-fca83ef30076",
    "is_pickup": true,
    "reference_back_office": "sample string 25",
    "modified_dateutc": "2026-01-29T14:12:08.6246561+00:00"
  },
  "article_id": "3248b4d1-35f2-43eb-9729-ce6a8909fbe2",
  "article_code": "sample string 5",
  "article": {
    "id": "a177c3a0-db4d-4885-9268-6b2763844c60",
    "article_category_id": "9fcf1f72-b111-4ab7-b1fc-abd2ae1a83ab",
    "article_category": {
      "id": "26e659a9-9116-4a5e-bd02-807bda84a413",
      "parent_id": "c319acfb-dc7f-4463-8dc4-9f7520c06228",
      "parent_code": "sample string 3",
      "code": "sample string 4",
      "name": "sample string 5",
      "modified_dateutc": "2026-01-29T14:12:08.6246561+00:00"
    },
    "article_category_code": "sample string 3",
    "article_group_1_id": "6ffd50eb-b56b-4ff1-b218-ae0acff27678",
    "article_group_1_code": "sample string 5",
    "article_group_2_id": "71f0f6fc-88a0-4244-9dd2-8e853c1b1355",
    "article_group_2_code": "sample string 7",
    "article_group_3_id": "29bc7dc1-f0eb-4f6c-8f27-2b5dc1bd84cb",
    "article_group_3_code": "sample string 9",
    "article_group_4_id": "5985df66-19dd-4bec-ba37-428c397853e0",
    "article_group_4_code": "sample string 11",
    "article_group_5_id": "21082b2a-e62d-4396-b994-bb0491a857ad",
    "article_group_5_code": "sample string 13",
    "article_group_6_id": "b3d658f5-d302-44ca-b55e-7752d22cf00e",
    "article_group_6_code": "sample string 15",
    "physical_stock": 16,
    "back_order_client": 17,
    "back_order_supplier": 18,
    "expected_delivery_date_bo_supplier": "2026-01-29T14:12:08.6246561+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-01-29T14:12:08.6246561+00:00",
    "date_update": "2026-01-29T14:12:08.6246561+00:00",
    "modified_dateutc": "2026-01-29T14:12:08.6246561+00:00",
    "article_color_id": "ad07e057-2d07-4359-a60d-950efa261432",
    "article_color_code": "sample string 38",
    "article_color": {
      "id": "7c433455-f00e-403d-97ee-2fd3f5d69471",
      "name": "sample string 2",
      "code": "sample string 3",
      "modified_dateutc": "2026-01-29T14:12:08.6246561+00:00"
    },
    "warranty_period_nb_months": 39,
    "use_serial": true,
    "_replace_id": "a0e24dbd-91d4-4eda-87da-14dee17c82e5",
    "replace_article_code": "sample string 42",
    "db_unit_of_measure_id_selling": "1c2d3aac-c857-4ef8-85a0-9d0f05e0c905",
    "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-01-29T14:12:08.6246561+00:00"
}