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": "d1e6dbf5-0af0-4707-8114-2eb4ec195b04",
  "purchase_order_id": "d7a65a6f-6085-4d93-90da-25165d19ad26",
  "purchase_order_reference_back_office": "sample string 3",
  "purchase_order": {
    "id": "de585e92-13b9-4b2e-afc5-65c052d84ba5",
    "id2": 2,
    "jobs_id": "251147a1-8b26-4a4f-ae66-20673752411d",
    "jobs_reference_back_office": "sample string 4",
    "supplier_company_id": "d919f046-104b-458d-b57e-02978cbb14c4",
    "supplier_company_code": "sample string 6",
    "user_id": "bf383674-c998-4781-8447-24103c3abeb7",
    "user_code": "sample string 8",
    "description": "sample string 9",
    "memo": "sample string 10",
    "total_lines": 11,
    "date_create": "2026-12-02T04:52:20.774377+00:00",
    "date_update": "2026-12-02T04:52:20.774377+00:00",
    "date_delivery": "2026-12-02T04:52:20.774377+00:00",
    "confirmed_date_delivery": "2026-12-02T04:52:20.774377+00:00",
    "delivery_db_address_id": "703d1564-fd82-4243-9a86-8af008729566",
    "approved_by_user_id": "2d242479-c63e-4064-a2b5-0e09ce4a05ca",
    "approved_by_user_code": "sample string 18",
    "technical_user_id": "65fa5b1f-842c-4ccb-9b72-7a2397b4dd7b",
    "technical_user_code": "sample string 20",
    "purchase_order_status_id": "b3357bd8-8ffc-4bd9-87a2-26300b0b55b4",
    "purchase_order_status_code": "sample string 22",
    "article_stock_location_id": "a8052260-3322-44ba-ab16-c5b390c1f16c",
    "is_pickup": true,
    "reference_back_office": "sample string 25",
    "modified_dateutc": "2026-12-02T04:52:20.774377+00:00"
  },
  "article_id": "255c9c34-1bad-4178-9e21-8443644b512c",
  "article_code": "sample string 5",
  "article": {
    "id": "362cc62b-41f2-4f77-bd6b-8c15fb1f5067",
    "article_category_id": "b09c9e39-8793-4fa4-ae3e-60fe302b2974",
    "article_category": {
      "id": "4a7ec3b3-356b-4b50-83c1-800bfb5dab3a",
      "parent_id": "1a9f2711-9ea2-43f1-aeac-ad205faacac7",
      "parent_code": "sample string 3",
      "code": "sample string 4",
      "name": "sample string 5",
      "modified_dateutc": "2026-12-02T04:52:20.774377+00:00"
    },
    "article_category_code": "sample string 3",
    "article_group_1_id": "e6856ac6-b13a-4e64-8986-7a228b34bb1c",
    "article_group_1_code": "sample string 5",
    "article_group_2_id": "946cf3f7-2b33-4200-b9f4-41844d5313ee",
    "article_group_2_code": "sample string 7",
    "article_group_3_id": "0f95fa5a-a18c-49fd-8f1f-e4d5cbeb240b",
    "article_group_3_code": "sample string 9",
    "article_group_4_id": "1fd879f4-8aab-42e6-8ef9-91daa90de1f5",
    "article_group_4_code": "sample string 11",
    "article_group_5_id": "a398a460-35d6-43fa-91a9-a664b9e77884",
    "article_group_5_code": "sample string 13",
    "article_group_6_id": "4db795a4-b7b4-4ef9-b30d-c6233fc33251",
    "article_group_6_code": "sample string 15",
    "physical_stock": 16,
    "back_order_client": 17,
    "back_order_supplier": 18,
    "expected_delivery_date_bo_supplier": "2026-12-02T04:52:20.774377+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-12-02T04:52:20.774377+00:00",
    "date_update": "2026-12-02T04:52:20.774377+00:00",
    "modified_dateutc": "2026-12-02T04:52:20.774377+00:00",
    "article_color_id": "b8f5ba48-688f-4ca4-80a8-5c6d3799129f",
    "article_color_code": "sample string 38",
    "article_color": {
      "id": "4f6103f6-b20f-4630-bcc6-16f2029ddc49",
      "name": "sample string 2",
      "code": "sample string 3",
      "modified_dateutc": "2026-12-02T04:52:20.774377+00:00"
    },
    "warranty_period_nb_months": 39,
    "use_serial": true,
    "_replace_id": "e4023f38-57f2-44d3-ae5c-f8e1c53c5b89",
    "replace_article_code": "sample string 42",
    "db_unit_of_measure_id_selling": "07744417-656a-4dd7-b759-688780208795",
    "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-12-02T04:52:20.774377+00:00"
}