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": "ddadddfc-f689-47c6-8c27-95c3443394f3",
  "purchase_order_id": "5f64665a-d487-40bb-86fa-caa5b795b13f",
  "purchase_order_reference_back_office": "sample string 3",
  "purchase_order": {
    "id": "d6b58d44-d2d2-4410-a43e-4652a6ade130",
    "id2": 2,
    "jobs_id": "bc01923f-a9d9-4ff4-9e9a-5b4b1a688270",
    "jobs_reference_back_office": "sample string 4",
    "supplier_company_id": "f6ffcdf7-2837-4850-8149-069dbc090559",
    "supplier_company_code": "sample string 6",
    "user_id": "82a23858-4ca2-480d-96a2-903f075d594b",
    "user_code": "sample string 8",
    "description": "sample string 9",
    "memo": "sample string 10",
    "total_lines": 11,
    "date_create": "2026-09-06T12:20:08.5871557+00:00",
    "date_update": "2026-09-06T12:20:08.5871557+00:00",
    "date_delivery": "2026-09-06T12:20:08.5871557+00:00",
    "confirmed_date_delivery": "2026-09-06T12:20:08.5871557+00:00",
    "delivery_db_address_id": "cbecbcdc-bd5d-4162-914a-dbd3ca706538",
    "approved_by_user_id": "97bb6591-dc1b-441b-8c7e-cdd1ff1bc41c",
    "approved_by_user_code": "sample string 18",
    "technical_user_id": "78d4ed3b-9fb4-4141-aa06-5de534389daa",
    "technical_user_code": "sample string 20",
    "purchase_order_status_id": "ee58b4c1-8738-490c-8d6c-ae5a0ca88db6",
    "purchase_order_status_code": "sample string 22",
    "article_stock_location_id": "c73ab96e-5411-44ec-9a0e-a0278f79f280",
    "is_pickup": true,
    "reference_back_office": "sample string 25",
    "modified_dateutc": "2026-09-06T12:20:08.5871557+00:00"
  },
  "article_id": "808d9227-2584-41a9-8632-392a89c25c7c",
  "article_code": "sample string 5",
  "article": {
    "id": "bb5cceea-036d-4ecb-9973-899c2ef24315",
    "article_category_id": "4cc95c4f-b710-4229-bee5-5c13a80bc4ba",
    "article_category": {
      "id": "c8fc74e9-e3a5-499e-ab4e-834905e775db",
      "parent_id": "2662fc66-1c37-4a1e-8cd3-6c1275fb9995",
      "parent_code": "sample string 3",
      "code": "sample string 4",
      "name": "sample string 5",
      "modified_dateutc": "2026-09-06T12:20:08.5871557+00:00"
    },
    "article_category_code": "sample string 3",
    "article_group_1_id": "35736b81-64b4-4a92-8d03-20a44f227a19",
    "article_group_1_code": "sample string 5",
    "article_group_2_id": "128429ed-07b0-4828-892b-6fb5de934583",
    "article_group_2_code": "sample string 7",
    "article_group_3_id": "2f0f3ee1-ccdc-4a12-85d4-f9169f89a59e",
    "article_group_3_code": "sample string 9",
    "article_group_4_id": "00466210-99d9-425c-8384-cb4dfa9a0a1c",
    "article_group_4_code": "sample string 11",
    "article_group_5_id": "308962c5-7dd8-4e10-88d4-b72521bafc4c",
    "article_group_5_code": "sample string 13",
    "article_group_6_id": "cf05b04c-d945-44ee-aa9b-3993c3d01326",
    "article_group_6_code": "sample string 15",
    "physical_stock": 16,
    "back_order_client": 17,
    "back_order_supplier": 18,
    "expected_delivery_date_bo_supplier": "2026-09-06T12:20:08.5871557+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-09-06T12:20:08.5871557+00:00",
    "date_update": "2026-09-06T12:20:08.5871557+00:00",
    "modified_dateutc": "2026-09-06T12:20:08.5871557+00:00",
    "article_color_id": "03203fb5-96dc-42a2-a373-ddc1f7ef487a",
    "article_color_code": "sample string 38",
    "article_color": {
      "id": "46b6fa73-64c5-4ec4-818b-34417b0549eb",
      "name": "sample string 2",
      "code": "sample string 3",
      "modified_dateutc": "2026-09-06T12:20:08.5871557+00:00"
    },
    "warranty_period_nb_months": 39,
    "use_serial": true,
    "_replace_id": "ee961413-f5d0-485b-b266-cff26d4c69aa",
    "replace_article_code": "sample string 42",
    "db_unit_of_measure_id_selling": "37d163c5-6f7f-4cff-8c86-b5ecdec4ec68",
    "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-09-06T12:20:08.5871557+00:00"
}