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": "c2dd8f24-e276-4aea-bebb-fe5563ae88ba",
  "purchase_order_id": "5bf8aed3-5a1f-4236-81bd-4ea71ae755b1",
  "purchase_order_reference_back_office": "sample string 3",
  "purchase_order": {
    "id": "788dfba3-f108-4239-82f7-d5b71702f165",
    "id2": 2,
    "jobs_id": "5c1bdf35-5a89-46cb-b985-a162859500c9",
    "jobs_reference_back_office": "sample string 4",
    "supplier_company_id": "fd162fa3-d59f-4182-82d5-3fde6f3e542d",
    "supplier_company_code": "sample string 6",
    "user_id": "810d169e-15a8-4000-8082-9005360d9e3f",
    "user_code": "sample string 8",
    "description": "sample string 9",
    "memo": "sample string 10",
    "total_lines": 11,
    "date_create": "2026-08-10T01:10:46.2051624+00:00",
    "date_update": "2026-08-10T01:10:46.2051624+00:00",
    "date_delivery": "2026-08-10T01:10:46.2051624+00:00",
    "confirmed_date_delivery": "2026-08-10T01:10:46.2051624+00:00",
    "delivery_db_address_id": "87fb8131-4df6-4380-9e27-92c314a8a40d",
    "approved_by_user_id": "b292e953-0f3b-4ef7-9860-85a3a5fa8a22",
    "approved_by_user_code": "sample string 18",
    "technical_user_id": "e8ed01f1-504e-4857-a058-1a2c44935691",
    "technical_user_code": "sample string 20",
    "purchase_order_status_id": "522a7d21-5d02-41fb-851f-d8a03bb775cc",
    "purchase_order_status_code": "sample string 22",
    "article_stock_location_id": "874e3eeb-b257-45c7-ac22-d0d99af53628",
    "is_pickup": true,
    "reference_back_office": "sample string 25",
    "modified_dateutc": "2026-08-10T01:10:46.2051624+00:00"
  },
  "article_id": "14043bd3-2193-4246-a3b0-a44b3e330574",
  "article_code": "sample string 5",
  "article": {
    "id": "a28d126d-f505-45af-beff-6868e86e08c5",
    "article_category_id": "b7f8b681-ed25-4e31-85dc-832305970322",
    "article_category": {
      "id": "6a163ab0-8f12-49ea-a048-e69fa1026261",
      "parent_id": "c982d36a-514d-4d70-8f4e-1f1af85bf51b",
      "parent_code": "sample string 3",
      "code": "sample string 4",
      "name": "sample string 5",
      "modified_dateutc": "2026-08-10T01:10:46.2051624+00:00"
    },
    "article_category_code": "sample string 3",
    "article_group_1_id": "46514c16-4cfa-402b-a3e9-afe04161887b",
    "article_group_1_code": "sample string 5",
    "article_group_2_id": "be4b65e1-ec9d-4a29-8175-8b09f6bceedf",
    "article_group_2_code": "sample string 7",
    "article_group_3_id": "6389e83c-0b61-4467-9a7d-9d810a922578",
    "article_group_3_code": "sample string 9",
    "article_group_4_id": "2b0dbfad-1da7-42ae-aa30-05b2b397cc60",
    "article_group_4_code": "sample string 11",
    "article_group_5_id": "8506fc87-d8f6-489c-9a71-173080749250",
    "article_group_5_code": "sample string 13",
    "article_group_6_id": "4e9979e7-9e55-4e5f-b9af-9cdfd03fc0bd",
    "article_group_6_code": "sample string 15",
    "physical_stock": 16,
    "back_order_client": 17,
    "back_order_supplier": 18,
    "expected_delivery_date_bo_supplier": "2026-08-10T01:10:46.2051624+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-08-10T01:10:46.2051624+00:00",
    "date_update": "2026-08-10T01:10:46.2051624+00:00",
    "modified_dateutc": "2026-08-10T01:10:46.2051624+00:00",
    "article_color_id": "830b1a13-070e-4551-ad2d-13728b1a0097",
    "article_color_code": "sample string 38",
    "article_color": {
      "id": "2d8cf837-f67c-46cc-ab19-31b8e4bcdc73",
      "name": "sample string 2",
      "code": "sample string 3",
      "modified_dateutc": "2026-08-10T01:10:46.2051624+00:00"
    },
    "warranty_period_nb_months": 39,
    "use_serial": true,
    "_replace_id": "9ef2894a-59d0-4e9a-8d0e-f1efe1062ff6",
    "replace_article_code": "sample string 42",
    "db_unit_of_measure_id_selling": "b8805150-25eb-4a30-86aa-85df6a7c30ea",
    "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-08-10T01:10:46.2051624+00:00"
}