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": "ad34d793-b383-4c35-8eae-2190655f0c50",
  "purchase_order_id": "d42c12b2-1637-4617-8cc6-ae189e059d16",
  "purchase_order_reference_back_office": "sample string 3",
  "purchase_order": {
    "id": "afcf53a9-fb9a-4c81-9600-4344dce0607c",
    "id2": 2,
    "jobs_id": "e3f53574-0de8-4a25-a22e-7670972055cc",
    "jobs_reference_back_office": "sample string 4",
    "supplier_company_id": "b81f8502-880c-48c5-8a05-74b8c275361c",
    "supplier_company_code": "sample string 6",
    "user_id": "18be033c-a531-4608-a165-9d5ea26bb330",
    "user_code": "sample string 8",
    "description": "sample string 9",
    "memo": "sample string 10",
    "total_lines": 11,
    "date_create": "2026-10-13T02:26:51.6054397+00:00",
    "date_update": "2026-10-13T02:26:51.618747+00:00",
    "date_delivery": "2026-10-13T02:26:51.618747+00:00",
    "confirmed_date_delivery": "2026-10-13T02:26:51.618747+00:00",
    "delivery_db_address_id": "ab6b9201-ba61-429c-88a6-fd94017b757e",
    "approved_by_user_id": "e42127df-0c29-4d1a-a9c7-44f6fc73ac7d",
    "approved_by_user_code": "sample string 18",
    "technical_user_id": "a5d9aaa9-9d72-4367-810e-5ece0f5f4f07",
    "technical_user_code": "sample string 20",
    "purchase_order_status_id": "55a86646-20db-4ded-b806-cb2c93832ff0",
    "purchase_order_status_code": "sample string 22",
    "article_stock_location_id": "bb39344d-056e-4402-94c3-226f1ac3a63c",
    "is_pickup": true,
    "reference_back_office": "sample string 25",
    "modified_dateutc": "2026-10-13T02:26:51.618747+00:00"
  },
  "article_id": "c832e8dc-58ae-4dc8-944c-ecf4999f0ec2",
  "article_code": "sample string 5",
  "article": {
    "id": "f76ca324-59b9-4a80-91a4-8c82719bc6f8",
    "article_category_id": "ca92d7ed-10d2-4a09-a5c9-fa8c46be118b",
    "article_category": {
      "id": "13438a57-048f-4595-b9c7-f19418a75355",
      "parent_id": "0b587fba-414f-40b0-81cb-85122f1bf849",
      "parent_code": "sample string 3",
      "code": "sample string 4",
      "name": "sample string 5",
      "modified_dateutc": "2026-10-13T02:26:51.618747+00:00"
    },
    "article_category_code": "sample string 3",
    "article_group_1_id": "c62b2978-18cd-4b13-9290-965559107086",
    "article_group_1_code": "sample string 5",
    "article_group_2_id": "1aa51110-9b08-4d04-b4ba-05900e8e43bd",
    "article_group_2_code": "sample string 7",
    "article_group_3_id": "00d08cea-098c-46a5-b427-6ac8a8fb48c2",
    "article_group_3_code": "sample string 9",
    "article_group_4_id": "61e6f701-37a8-4d7b-9393-ef87a57bb73d",
    "article_group_4_code": "sample string 11",
    "article_group_5_id": "6106ba71-30fc-4b19-9834-356e054f73a0",
    "article_group_5_code": "sample string 13",
    "article_group_6_id": "7a76c58e-b79a-449e-a154-92b43f0ce7cc",
    "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-13T02:26:51.618747+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-13T02:26:51.618747+00:00",
    "date_update": "2026-10-13T02:26:51.618747+00:00",
    "modified_dateutc": "2026-10-13T02:26:51.618747+00:00",
    "article_color_id": "09ef0b57-46e5-4fd0-9771-617daa9bc4f6",
    "article_color_code": "sample string 38",
    "article_color": {
      "id": "30ce8ece-c40b-48d0-a0d1-7ee79d4e72af",
      "name": "sample string 2",
      "code": "sample string 3",
      "modified_dateutc": "2026-10-13T02:26:51.618747+00:00"
    },
    "warranty_period_nb_months": 39,
    "use_serial": true,
    "_replace_id": "7eddc504-f8c4-4e1c-a427-8d3fe63638fb",
    "replace_article_code": "sample string 42",
    "db_unit_of_measure_id_selling": "75fc6f5b-1c33-461f-91e3-8504f2b8e90d",
    "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-13T02:26:51.618747+00:00"
}