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": "15f687c2-e446-4b00-9002-5c174498b449",
  "purchase_order_id": "102d8503-7592-401f-b1da-da9553fc3e9c",
  "purchase_order_reference_back_office": "sample string 3",
  "purchase_order": {
    "id": "457b72e2-1b80-4d6d-8e9f-cf3d25a0a190",
    "id2": 2,
    "jobs_id": "e6d4c389-e08e-44e9-b360-ec31570fb737",
    "jobs_reference_back_office": "sample string 4",
    "supplier_company_id": "34faa0f6-ae0c-4991-8f28-b1ad8ab63e96",
    "supplier_company_code": "sample string 6",
    "user_id": "5ebbd28a-9097-40bf-b651-8c53506f7513",
    "user_code": "sample string 8",
    "description": "sample string 9",
    "memo": "sample string 10",
    "total_lines": 11,
    "date_create": "2026-03-23T04:14:38.0257591+00:00",
    "date_update": "2026-03-23T04:14:38.0257591+00:00",
    "date_delivery": "2026-03-23T04:14:38.0257591+00:00",
    "confirmed_date_delivery": "2026-03-23T04:14:38.0257591+00:00",
    "delivery_db_address_id": "b7f03ff9-1dae-4aad-9126-b3bd08302fc2",
    "approved_by_user_id": "e0cbc75a-29cb-4e34-bd2e-d175e77680d7",
    "approved_by_user_code": "sample string 18",
    "technical_user_id": "e1a9d941-584b-4581-816f-b333f29b939e",
    "technical_user_code": "sample string 20",
    "purchase_order_status_id": "8ac9099b-e5f4-4a35-840d-f06205cbd30e",
    "purchase_order_status_code": "sample string 22",
    "article_stock_location_id": "4d4b1161-3ba6-4b15-bd43-397ccbf0231d",
    "is_pickup": true,
    "reference_back_office": "sample string 25",
    "modified_dateutc": "2026-03-23T04:14:38.0257591+00:00"
  },
  "article_id": "0ecd43cf-b259-47c2-92db-f9ea974ddc7b",
  "article_code": "sample string 5",
  "article": {
    "id": "f9980bb7-e665-418e-bd67-a055d977e325",
    "article_category_id": "58b24555-6659-47b3-a941-5df20b75eab3",
    "article_category": {
      "id": "7c773e25-c2e4-4f84-aed6-8fa424fca8b1",
      "parent_id": "dd1443df-ef97-4afe-988b-422712df5e0a",
      "parent_code": "sample string 3",
      "code": "sample string 4",
      "name": "sample string 5",
      "modified_dateutc": "2026-03-23T04:14:38.0257591+00:00"
    },
    "article_category_code": "sample string 3",
    "article_group_1_id": "411ec9a5-1d63-42a6-a245-7cb6659ceb09",
    "article_group_1_code": "sample string 5",
    "article_group_2_id": "be6d1f5a-8be4-441a-bc21-2517de0c1c2e",
    "article_group_2_code": "sample string 7",
    "article_group_3_id": "32ade869-e298-4443-96f2-bb00627fae24",
    "article_group_3_code": "sample string 9",
    "article_group_4_id": "04a505d6-88f7-42a6-b5d0-fdfb8371de48",
    "article_group_4_code": "sample string 11",
    "article_group_5_id": "f5459313-757d-4936-998a-5333db8ac3e4",
    "article_group_5_code": "sample string 13",
    "article_group_6_id": "3a7fbb97-1ecf-40a7-8946-13386f23ecbd",
    "article_group_6_code": "sample string 15",
    "physical_stock": 16,
    "back_order_client": 17,
    "back_order_supplier": 18,
    "expected_delivery_date_bo_supplier": "2026-03-23T04:14:38.0257591+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-03-23T04:14:38.041383+00:00",
    "date_update": "2026-03-23T04:14:38.041383+00:00",
    "modified_dateutc": "2026-03-23T04:14:38.041383+00:00",
    "article_color_id": "ab6b3065-6bd8-478d-9649-ffc0aa381fb7",
    "article_color_code": "sample string 38",
    "article_color": {
      "id": "48f8e30b-5177-4fb4-bd46-f55cd458d72e",
      "name": "sample string 2",
      "code": "sample string 3",
      "modified_dateutc": "2026-03-23T04:14:38.041383+00:00"
    },
    "warranty_period_nb_months": 39,
    "use_serial": true,
    "_replace_id": "e4b16f3a-5e15-4b24-8619-2c91258b53ed",
    "replace_article_code": "sample string 42",
    "db_unit_of_measure_id_selling": "a78e3f81-daff-4ea9-a2d5-1256f49f790d",
    "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-03-23T04:14:38.041383+00:00"
}