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": "acfd5cdd-4793-4194-a9e3-f92188c5d65f",
  "purchase_order_id": "ba4348ce-abd1-4e42-8df4-60bab70a022e",
  "purchase_order_reference_back_office": "sample string 3",
  "purchase_order": {
    "id": "3316b38a-8fa0-4efd-b7a9-1ee0aff7ac55",
    "id2": 2,
    "jobs_id": "6b856206-f3e9-4bda-b13f-72436eae2aa9",
    "jobs_reference_back_office": "sample string 4",
    "supplier_company_id": "7bfddce9-be81-4666-b1b7-ae92fbdd25a2",
    "supplier_company_code": "sample string 6",
    "user_id": "1143c231-aca5-42ac-a41d-43c005fc4f29",
    "user_code": "sample string 8",
    "description": "sample string 9",
    "memo": "sample string 10",
    "total_lines": 11,
    "date_create": "2026-08-16T03:21:32.9264945+00:00",
    "date_update": "2026-08-16T03:21:32.9264945+00:00",
    "date_delivery": "2026-08-16T03:21:32.9264945+00:00",
    "confirmed_date_delivery": "2026-08-16T03:21:32.9264945+00:00",
    "delivery_db_address_id": "592d8936-2364-4e2b-8709-0a97414ad119",
    "approved_by_user_id": "dc6558db-fb2e-41dd-b662-49d04a2aa285",
    "approved_by_user_code": "sample string 18",
    "technical_user_id": "3796628c-17b8-4747-b199-fce903a99865",
    "technical_user_code": "sample string 20",
    "purchase_order_status_id": "ea926d9e-7fbc-401a-b4ef-78babea8609e",
    "purchase_order_status_code": "sample string 22",
    "article_stock_location_id": "b3695175-9816-4dcd-b2c6-3f634564d5d8",
    "is_pickup": true,
    "reference_back_office": "sample string 25",
    "modified_dateutc": "2026-08-16T03:21:32.9264945+00:00"
  },
  "article_id": "c95ca52f-b3b2-4da0-bbac-ea9abd312c23",
  "article_code": "sample string 5",
  "article": {
    "id": "c5b81074-5610-4dbc-8158-7d261849da2f",
    "article_category_id": "6af25196-4074-4761-a442-fe6a47662b4c",
    "article_category": {
      "id": "13105c18-679c-4ec6-a88d-3b383122bdc9",
      "parent_id": "7208c281-8b60-47a1-9561-8cdf3e82be31",
      "parent_code": "sample string 3",
      "code": "sample string 4",
      "name": "sample string 5",
      "modified_dateutc": "2026-08-16T03:21:32.9264945+00:00"
    },
    "article_category_code": "sample string 3",
    "article_group_1_id": "f2234687-e098-47b5-ae35-df409fe04cd0",
    "article_group_1_code": "sample string 5",
    "article_group_2_id": "c9221c78-e737-4783-bb27-bf8cebf6ebc5",
    "article_group_2_code": "sample string 7",
    "article_group_3_id": "179f4e5a-eb24-4b71-a305-1169d22ad4f7",
    "article_group_3_code": "sample string 9",
    "article_group_4_id": "36e624a9-6ddd-4efe-aebd-dfb694ee1de6",
    "article_group_4_code": "sample string 11",
    "article_group_5_id": "5fe9d4fa-a4c3-4b84-8382-27065d47b5c0",
    "article_group_5_code": "sample string 13",
    "article_group_6_id": "8b2f65e3-241d-49ec-b2db-ffd27f998845",
    "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-16T03:21:32.9264945+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-16T03:21:32.9264945+00:00",
    "date_update": "2026-08-16T03:21:32.9264945+00:00",
    "modified_dateutc": "2026-08-16T03:21:32.9264945+00:00",
    "article_color_id": "ee59baa9-322d-47a1-a1d4-aed85f66b427",
    "article_color_code": "sample string 38",
    "article_color": {
      "id": "7beaa613-1d19-469f-93de-10e350dce880",
      "name": "sample string 2",
      "code": "sample string 3",
      "modified_dateutc": "2026-08-16T03:21:32.9264945+00:00"
    },
    "warranty_period_nb_months": 39,
    "use_serial": true,
    "_replace_id": "997b8aad-da4c-4765-a76f-a925f51d16bc",
    "replace_article_code": "sample string 42",
    "db_unit_of_measure_id_selling": "ba2dd355-881a-4c0e-a6f3-1131eae295b0",
    "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-16T03:21:32.9264945+00:00"
}