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": "9b1ef13f-5cc6-4a0e-955c-503ed854d763",
  "purchase_order_id": "cf3f5ba2-84b6-40c6-a22f-646e5a983445",
  "purchase_order_reference_back_office": "sample string 3",
  "purchase_order": {
    "id": "06d985b3-8d4b-4214-881c-aee2918e3784",
    "id2": 2,
    "jobs_id": "66e5057d-13d4-4bb7-8c51-2044d53db923",
    "jobs_reference_back_office": "sample string 4",
    "supplier_company_id": "22f1ab24-9036-4eeb-8e9a-468194fa773f",
    "supplier_company_code": "sample string 6",
    "user_id": "20424fb1-e86a-4da3-b80e-299abfbd1565",
    "user_code": "sample string 8",
    "description": "sample string 9",
    "memo": "sample string 10",
    "total_lines": 11,
    "date_create": "2026-09-25T00:14:18.6213645+00:00",
    "date_update": "2026-09-25T00:14:18.6213645+00:00",
    "date_delivery": "2026-09-25T00:14:18.6213645+00:00",
    "confirmed_date_delivery": "2026-09-25T00:14:18.6213645+00:00",
    "delivery_db_address_id": "093fe90e-25f5-4d46-bdd5-746bb9bc4261",
    "approved_by_user_id": "c3f10fff-b990-420d-8af8-b40dd9523cc0",
    "approved_by_user_code": "sample string 18",
    "technical_user_id": "9cdb548c-24d9-4397-93ad-bc9daa7bab37",
    "technical_user_code": "sample string 20",
    "purchase_order_status_id": "79bcc4de-b61b-4312-b2c3-0d3e37671105",
    "purchase_order_status_code": "sample string 22",
    "article_stock_location_id": "6e49682a-eb7f-43ae-8f59-d716a96016ff",
    "is_pickup": true,
    "reference_back_office": "sample string 25",
    "modified_dateutc": "2026-09-25T00:14:18.6213645+00:00"
  },
  "article_id": "7b8abf64-c800-4627-81a8-c64cac9ab930",
  "article_code": "sample string 5",
  "article": {
    "id": "08bc52bf-1f8e-43f2-93c6-734d8b207d3f",
    "article_category_id": "197cc411-9571-40fa-bc54-0ff27675a7c4",
    "article_category": {
      "id": "624e01bc-233c-472b-bece-0f8af9583eb2",
      "parent_id": "c8fa7328-63d7-4a6e-b827-c47dd3bfb465",
      "parent_code": "sample string 3",
      "code": "sample string 4",
      "name": "sample string 5",
      "modified_dateutc": "2026-09-25T00:14:18.6213645+00:00"
    },
    "article_category_code": "sample string 3",
    "article_group_1_id": "7c1c979c-03c2-4037-96ff-78587e207010",
    "article_group_1_code": "sample string 5",
    "article_group_2_id": "7b5cc9bc-add6-4848-84c5-4631f84817c8",
    "article_group_2_code": "sample string 7",
    "article_group_3_id": "b05d6bc8-958a-4914-bec0-e9782b32a4d5",
    "article_group_3_code": "sample string 9",
    "article_group_4_id": "e927a498-0e90-45f9-a5a6-d99a2962207a",
    "article_group_4_code": "sample string 11",
    "article_group_5_id": "6900fb5b-bf61-4c3c-a2ed-e7e42576241a",
    "article_group_5_code": "sample string 13",
    "article_group_6_id": "8c5b4e78-eead-4e5f-8265-2ce381036163",
    "article_group_6_code": "sample string 15",
    "physical_stock": 16,
    "back_order_client": 17,
    "back_order_supplier": 18,
    "expected_delivery_date_bo_supplier": "2026-09-25T00:14:18.6213645+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-09-25T00:14:18.6213645+00:00",
    "date_update": "2026-09-25T00:14:18.6213645+00:00",
    "modified_dateutc": "2026-09-25T00:14:18.6213645+00:00",
    "article_color_id": "16409120-c942-4dd0-9995-d734f5822037",
    "article_color_code": "sample string 38",
    "article_color": {
      "id": "e2507b55-1740-4a17-b2f3-f923840f95fe",
      "name": "sample string 2",
      "code": "sample string 3",
      "modified_dateutc": "2026-09-25T00:14:18.6213645+00:00"
    },
    "warranty_period_nb_months": 39,
    "use_serial": true,
    "_replace_id": "7430cd21-ab98-4d9f-a0e9-56d79260276a",
    "replace_article_code": "sample string 42",
    "db_unit_of_measure_id_selling": "3d14d93d-b399-4ae5-98e8-a9afc201ef72",
    "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-09-25T00:14:18.6213645+00:00"
}