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": "fffc2ca3-6ab7-43b8-b53e-f07bf17fb9da",
  "purchase_order_id": "9112b7cf-8cfa-4bee-9f70-828cd9daddf5",
  "purchase_order_reference_back_office": "sample string 3",
  "purchase_order": {
    "id": "918b2065-8357-4f28-bd2e-83577aaf6293",
    "id2": 2,
    "jobs_id": "980cba58-c6f3-4aab-99d1-1559d2670b2f",
    "jobs_reference_back_office": "sample string 4",
    "supplier_company_id": "f1daa117-3962-40a6-aa5f-037ede7e6b28",
    "supplier_company_code": "sample string 6",
    "user_id": "998ce19a-a821-4e63-8c8f-732c31f54267",
    "user_code": "sample string 8",
    "description": "sample string 9",
    "memo": "sample string 10",
    "total_lines": 11,
    "date_create": "2025-09-18T06:09:31.7765085+00:00",
    "date_update": "2025-09-18T06:09:31.7765085+00:00",
    "date_delivery": "2025-09-18T06:09:31.7765085+00:00",
    "confirmed_date_delivery": "2025-09-18T06:09:31.7765085+00:00",
    "delivery_db_address_id": "3f29f591-bc6e-4e6d-8b54-2f1cd90eb3a2",
    "approved_by_user_id": "33edd7f9-f980-48b3-96b7-cfdbd2f10e3b",
    "approved_by_user_code": "sample string 18",
    "technical_user_id": "7886cb5c-94ae-487a-a212-945ae35213e1",
    "technical_user_code": "sample string 20",
    "purchase_order_status_id": "be0e4403-f728-475e-8829-91c67754a5e6",
    "purchase_order_status_code": "sample string 22",
    "article_stock_location_id": "0ca96148-ca07-4a3e-9fe4-4a6bf836d64c",
    "is_pickup": true,
    "reference_back_office": "sample string 25",
    "modified_dateutc": "2025-09-18T06:09:31.7765085+00:00"
  },
  "article_id": "dbacde18-7247-4bfd-b88a-091a45bb1994",
  "article_code": "sample string 5",
  "article": {
    "id": "96eb8840-cfdd-49e3-85a5-c7153ca1596d",
    "article_category_id": "acb52e82-e322-43f3-bdd8-ae1be78fdb4f",
    "article_category": {
      "id": "b18f36c9-9379-481f-97ff-550f507131a0",
      "parent_id": "c85276f7-077a-4b7e-9585-0d43f198bb9b",
      "parent_code": "sample string 3",
      "code": "sample string 4",
      "name": "sample string 5",
      "modified_dateutc": "2025-09-18T06:09:31.7765085+00:00"
    },
    "article_category_code": "sample string 3",
    "article_group_1_id": "d4af30af-3a4a-425f-97ea-2840491320ef",
    "article_group_1_code": "sample string 5",
    "article_group_2_id": "d68499ac-2fbb-424d-a22d-4f55a409de51",
    "article_group_2_code": "sample string 7",
    "article_group_3_id": "46c93e1b-54c9-4eb3-95be-46b75672b753",
    "article_group_3_code": "sample string 9",
    "article_group_4_id": "e997681f-c734-4414-81f7-6b5376b3e8d8",
    "article_group_4_code": "sample string 11",
    "article_group_5_id": "cb7d41c0-fb06-431c-b3f5-b2ee7cf7090c",
    "article_group_5_code": "sample string 13",
    "article_group_6_id": "5ede0c90-263e-4975-8bc4-d790e42fcf96",
    "article_group_6_code": "sample string 15",
    "physical_stock": 16,
    "back_order_client": 17,
    "back_order_supplier": 18,
    "expected_delivery_date_bo_supplier": "2025-09-18T06:09:31.7765085+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": "2025-09-18T06:09:31.7765085+00:00",
    "date_update": "2025-09-18T06:09:31.7765085+00:00",
    "modified_dateutc": "2025-09-18T06:09:31.7765085+00:00",
    "article_color_id": "7e8ddb2f-6761-43ce-9edf-977102e2324e",
    "article_color_code": "sample string 38",
    "article_color": {
      "id": "ce0d2569-9224-4544-b1b5-76d3dfefdf38",
      "name": "sample string 2",
      "code": "sample string 3",
      "modified_dateutc": "2025-09-18T06:09:31.7765085+00:00"
    },
    "warranty_period_nb_months": 39,
    "use_serial": true,
    "_replace_id": "65b36244-06c5-495d-984d-39e0ffbdf915",
    "replace_article_code": "sample string 42",
    "db_unit_of_measure_id_selling": "ed1c5214-ec3b-4860-9e6a-4147c5f46650",
    "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": "2025-09-18T06:09:31.7765085+00:00"
}