Retrieves all the purchase order order lines

Request Information

URI Parameters :

None.

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": "7ed6c994-866a-402a-abf7-2cbb2a4581eb",
  "purchase_order_id": "b1ecadd7-7d75-4af0-a1ba-dc1e3b9c0061",
  "purchase_order_reference_back_office": "sample string 3",
  "purchase_order": {
    "id": "073e47b2-2b1d-4e6e-9a7b-0da41f8ef059",
    "id2": 2,
    "jobs_id": "0b2c1d64-ca81-4d91-beec-d52a47fb84eb",
    "jobs_reference_back_office": "sample string 4",
    "supplier_company_id": "e5c6f66c-49e5-4132-b412-faa5535c36cc",
    "supplier_company_code": "sample string 6",
    "user_id": "00582cc3-f392-4518-aa2a-1b877c75ddbe",
    "user_code": "sample string 8",
    "description": "sample string 9",
    "memo": "sample string 10",
    "total_lines": 11,
    "date_create": "2026-10-08T16:02:08.799026+00:00",
    "date_update": "2026-10-08T16:02:08.799026+00:00",
    "date_delivery": "2026-10-08T16:02:08.799026+00:00",
    "confirmed_date_delivery": "2026-10-08T16:02:08.799026+00:00",
    "delivery_db_address_id": "28dbff33-a882-49fc-a364-15efc938fc4a",
    "approved_by_user_id": "b5a29686-6177-41bd-8896-f0e206790010",
    "approved_by_user_code": "sample string 18",
    "technical_user_id": "175e2160-6361-4ed2-8189-e9f2b1fd948d",
    "technical_user_code": "sample string 20",
    "purchase_order_status_id": "c8b84694-a8cd-4166-91c5-4564213712e6",
    "purchase_order_status_code": "sample string 22",
    "article_stock_location_id": "4456deb8-559c-4188-8ebd-e380a4de461f",
    "is_pickup": true,
    "reference_back_office": "sample string 25",
    "modified_dateutc": "2026-10-08T16:02:08.799026+00:00"
  },
  "article_id": "062a47c1-3997-4d00-8ad3-35237d71f648",
  "article_code": "sample string 5",
  "article": {
    "id": "39d2843b-d82e-46ea-b9a4-a603adb9c20c",
    "article_category_id": "6c6a6aac-b617-4c39-9498-25b19e93f975",
    "article_category": {
      "id": "61d0f8a8-340d-4527-90ea-0a557e171746",
      "parent_id": "8d7a72ff-fef5-4085-aec0-b12c92ae78a8",
      "parent_code": "sample string 3",
      "code": "sample string 4",
      "name": "sample string 5",
      "modified_dateutc": "2026-10-08T16:02:08.799026+00:00"
    },
    "article_category_code": "sample string 3",
    "article_group_1_id": "d5b0c03c-66d2-4da7-8918-0c1b4eeb10e1",
    "article_group_1_code": "sample string 5",
    "article_group_2_id": "c4efe578-3642-431d-b43c-e6f0f9527ed5",
    "article_group_2_code": "sample string 7",
    "article_group_3_id": "e2becc05-05f1-4a8b-a811-50ec21ac8279",
    "article_group_3_code": "sample string 9",
    "article_group_4_id": "eef8f21e-bd6f-45db-a1db-9ba58cf4b61a",
    "article_group_4_code": "sample string 11",
    "article_group_5_id": "04cc2f9f-5aba-426c-aead-264903887d7b",
    "article_group_5_code": "sample string 13",
    "article_group_6_id": "4d915705-f496-40d0-a19f-f03af03b8694",
    "article_group_6_code": "sample string 15",
    "physical_stock": 16,
    "back_order_client": 17,
    "back_order_supplier": 18,
    "expected_delivery_date_bo_supplier": "2026-10-08T16:02:08.799026+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-10-08T16:02:08.799026+00:00",
    "date_update": "2026-10-08T16:02:08.799026+00:00",
    "modified_dateutc": "2026-10-08T16:02:08.799026+00:00",
    "article_color_id": "3db382e7-9cb2-48ba-ad10-377a3e993739",
    "article_color_code": "sample string 38",
    "article_color": {
      "id": "5f4635ab-3e16-4990-9468-2b0860bd80ba",
      "name": "sample string 2",
      "code": "sample string 3",
      "modified_dateutc": "2026-10-08T16:02:08.799026+00:00"
    },
    "warranty_period_nb_months": 39,
    "use_serial": true,
    "_replace_id": "84baf9ec-8158-47b3-acdb-091d9b0ea528",
    "replace_article_code": "sample string 42",
    "db_unit_of_measure_id_selling": "f2c5cffa-6483-4f55-8035-fd5cf41f5b36",
    "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-10-08T16:02:08.799026+00:00"
}