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": "b0424a5a-c44d-47b0-8b4a-1801356482c7",
  "purchase_order_id": "dd9efdac-df7c-45f9-bc2b-08b392501001",
  "purchase_order_reference_back_office": "sample string 3",
  "purchase_order": {
    "id": "d2b5f97c-0978-4f28-8ba9-555c1ddd6661",
    "id2": 2,
    "jobs_id": "6c5c366f-50f0-4c07-b6e1-58dca10dc632",
    "jobs_reference_back_office": "sample string 4",
    "supplier_company_id": "e42500b1-3412-421e-9ad4-83d84aa87eff",
    "supplier_company_code": "sample string 6",
    "user_id": "e932572e-3507-40f0-ad1a-8a8c61a9c558",
    "user_code": "sample string 8",
    "description": "sample string 9",
    "memo": "sample string 10",
    "total_lines": 11,
    "date_create": "2026-08-01T03:22:09.9426837+00:00",
    "date_update": "2026-08-01T03:22:09.9426837+00:00",
    "date_delivery": "2026-08-01T03:22:09.9426837+00:00",
    "confirmed_date_delivery": "2026-08-01T03:22:09.9426837+00:00",
    "delivery_db_address_id": "c9058487-bc8a-437a-a713-09fae13bca21",
    "approved_by_user_id": "33cb345d-7d82-45f4-bbd8-f7d65eaa52b2",
    "approved_by_user_code": "sample string 18",
    "technical_user_id": "f49c352e-046f-4af3-8d11-15c2ae6095a9",
    "technical_user_code": "sample string 20",
    "purchase_order_status_id": "76438a49-e2a5-44e5-b5b0-593bd59df06b",
    "purchase_order_status_code": "sample string 22",
    "article_stock_location_id": "2167bda8-5f91-4077-b3d3-b1edff644767",
    "is_pickup": true,
    "reference_back_office": "sample string 25",
    "modified_dateutc": "2026-08-01T03:22:09.9426837+00:00"
  },
  "article_id": "55dd2eee-d7c4-499a-81bd-c3cacb2e69c6",
  "article_code": "sample string 5",
  "article": {
    "id": "dbdba796-78ec-469b-86d4-f18991b390b2",
    "article_category_id": "cbb97fd8-efbd-4f9f-9b76-a570a5d35757",
    "article_category": {
      "id": "e451ff01-2b96-4f11-b6f2-46e3d3adc639",
      "parent_id": "4a105c70-b76f-4300-a209-80751a505e8b",
      "parent_code": "sample string 3",
      "code": "sample string 4",
      "name": "sample string 5",
      "modified_dateutc": "2026-08-01T03:22:09.9426837+00:00"
    },
    "article_category_code": "sample string 3",
    "article_group_1_id": "64f2aba6-5396-48ce-84d6-e519f01cc79c",
    "article_group_1_code": "sample string 5",
    "article_group_2_id": "5e50f59d-b04f-4377-9dd9-951d1c032aa6",
    "article_group_2_code": "sample string 7",
    "article_group_3_id": "4f758f8e-3434-4627-b54b-062257773dcc",
    "article_group_3_code": "sample string 9",
    "article_group_4_id": "a4a3129a-0566-4a19-9d52-383e530e0b71",
    "article_group_4_code": "sample string 11",
    "article_group_5_id": "f0974a7c-a456-4be0-a4f5-58b56cd2301c",
    "article_group_5_code": "sample string 13",
    "article_group_6_id": "8964c3d1-fee5-400f-8ce8-6fa33d76a2af",
    "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-01T03:22:09.9426837+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-01T03:22:09.9426837+00:00",
    "date_update": "2026-08-01T03:22:09.9426837+00:00",
    "modified_dateutc": "2026-08-01T03:22:09.9426837+00:00",
    "article_color_id": "2235f7f6-8d1e-4e64-851d-b69a9cdf4b0e",
    "article_color_code": "sample string 38",
    "article_color": {
      "id": "e8c466f1-e34f-4c51-ae0c-6a6b48cf5c7c",
      "name": "sample string 2",
      "code": "sample string 3",
      "modified_dateutc": "2026-08-01T03:22:09.9426837+00:00"
    },
    "warranty_period_nb_months": 39,
    "use_serial": true,
    "_replace_id": "f2a57525-679b-4960-8970-5f08e7d201b6",
    "replace_article_code": "sample string 42",
    "db_unit_of_measure_id_selling": "c98edc5d-1603-4f23-8868-01f5634feb2e",
    "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-01T03:22:09.9426837+00:00"
}