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": "43a95f0b-3d01-429b-87d6-2d28cf48317e",
  "purchase_order_id": "00e45524-31d4-469c-8f83-b901c9122a8e",
  "purchase_order_reference_back_office": "sample string 3",
  "purchase_order": {
    "id": "38fd9f6c-5295-4a7d-8328-25dbdd9e4b47",
    "id2": 2,
    "jobs_id": "1b929850-799a-47ea-9789-b52d514f3f56",
    "jobs_reference_back_office": "sample string 4",
    "supplier_company_id": "5631443c-6bf3-4ac4-8b17-c70990c92020",
    "supplier_company_code": "sample string 6",
    "user_id": "2ffd2625-2f0e-4716-8634-e600cf223f8a",
    "user_code": "sample string 8",
    "description": "sample string 9",
    "memo": "sample string 10",
    "total_lines": 11,
    "date_create": "2026-04-18T12:23:39.7102789+00:00",
    "date_update": "2026-04-18T12:23:39.7102789+00:00",
    "date_delivery": "2026-04-18T12:23:39.7102789+00:00",
    "confirmed_date_delivery": "2026-04-18T12:23:39.7102789+00:00",
    "delivery_db_address_id": "61b7ddc9-c684-404a-9ecf-9dc92067f476",
    "approved_by_user_id": "8a9e2f63-b632-4596-8711-b522a4dc734d",
    "approved_by_user_code": "sample string 18",
    "technical_user_id": "93e359e6-5c7e-426c-8b48-1953af17a643",
    "technical_user_code": "sample string 20",
    "purchase_order_status_id": "e1f6dea5-fa02-4792-8f13-3daadbe40c20",
    "purchase_order_status_code": "sample string 22",
    "article_stock_location_id": "044d1000-efe6-45da-bb66-ab91ec7ccee6",
    "is_pickup": true,
    "reference_back_office": "sample string 25",
    "modified_dateutc": "2026-04-18T12:23:39.7102789+00:00"
  },
  "article_id": "8faf87e8-6173-47f0-b7f3-6a19a9f4a129",
  "article_code": "sample string 5",
  "article": {
    "id": "6499c84c-0b1a-4554-b9fb-ac5f0e92eb74",
    "article_category_id": "f073dd7c-0794-47f5-ad4f-06e9fa823530",
    "article_category": {
      "id": "e20bda46-6743-42b0-8c71-ce330112341b",
      "parent_id": "8962d705-c1b2-4335-aec9-1a5663b24e7b",
      "parent_code": "sample string 3",
      "code": "sample string 4",
      "name": "sample string 5",
      "modified_dateutc": "2026-04-18T12:23:39.7102789+00:00"
    },
    "article_category_code": "sample string 3",
    "article_group_1_id": "e67a082c-19d6-43fa-b731-b5db663622a2",
    "article_group_1_code": "sample string 5",
    "article_group_2_id": "63d3bea5-f6ab-45f8-b5ee-dfec95891545",
    "article_group_2_code": "sample string 7",
    "article_group_3_id": "88ae7898-102b-4a59-8d88-e4933b06e670",
    "article_group_3_code": "sample string 9",
    "article_group_4_id": "5b0d023a-5c4a-4ae5-835b-7f652fa317c0",
    "article_group_4_code": "sample string 11",
    "article_group_5_id": "8756dd50-06c2-4b18-9348-1be85c895496",
    "article_group_5_code": "sample string 13",
    "article_group_6_id": "15be98a9-dc1d-44ba-9e8f-df6124e6f773",
    "article_group_6_code": "sample string 15",
    "physical_stock": 16,
    "back_order_client": 17,
    "back_order_supplier": 18,
    "expected_delivery_date_bo_supplier": "2026-04-18T12:23:39.7102789+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-04-18T12:23:39.7102789+00:00",
    "date_update": "2026-04-18T12:23:39.7102789+00:00",
    "modified_dateutc": "2026-04-18T12:23:39.7102789+00:00",
    "article_color_id": "fd325c1f-9536-4d9e-aedb-a074c6aa7cb8",
    "article_color_code": "sample string 38",
    "article_color": {
      "id": "77913039-786c-41d8-b7ac-3e3a984d8f6d",
      "name": "sample string 2",
      "code": "sample string 3",
      "modified_dateutc": "2026-04-18T12:23:39.7102789+00:00"
    },
    "warranty_period_nb_months": 39,
    "use_serial": true,
    "_replace_id": "2288a366-2808-46ab-8c2c-a52921185e9f",
    "replace_article_code": "sample string 42",
    "db_unit_of_measure_id_selling": "cb6ead61-f3a6-4c12-9ee8-4d7c62a75a06",
    "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-04-18T12:23:39.7102789+00:00"
}