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": "afa68ab1-7778-462a-af19-f9f362ced590",
  "purchase_order_id": "a66d12f3-40a1-4fc2-8e2e-6b3a89118ab6",
  "purchase_order_reference_back_office": "sample string 3",
  "purchase_order": {
    "id": "93707df4-2a9e-4ee6-ab37-5f19cd17beee",
    "id2": 2,
    "jobs_id": "2892effb-728c-4dc0-93c5-b2b2713d5f7b",
    "jobs_reference_back_office": "sample string 4",
    "supplier_company_id": "f4a9b932-fd8e-4246-aac9-7f3274c26833",
    "supplier_company_code": "sample string 6",
    "user_id": "02a18549-2887-490b-bb4a-f6ea0f6ace40",
    "user_code": "sample string 8",
    "description": "sample string 9",
    "memo": "sample string 10",
    "total_lines": 11,
    "date_create": "2026-07-14T05:59:03.1374536+00:00",
    "date_update": "2026-07-14T05:59:03.1374536+00:00",
    "date_delivery": "2026-07-14T05:59:03.1374536+00:00",
    "confirmed_date_delivery": "2026-07-14T05:59:03.1374536+00:00",
    "delivery_db_address_id": "41c190cb-4475-4621-9391-02fde5a64351",
    "approved_by_user_id": "0163af94-6cea-4d47-af7f-3ef375783ffe",
    "approved_by_user_code": "sample string 18",
    "technical_user_id": "73550249-7910-4727-ab2b-ca75d34e7526",
    "technical_user_code": "sample string 20",
    "purchase_order_status_id": "65287277-f0f3-4cdb-b0d5-4416619b19c3",
    "purchase_order_status_code": "sample string 22",
    "article_stock_location_id": "c42fd6fa-b30e-4110-a762-808cd23e194d",
    "is_pickup": true,
    "reference_back_office": "sample string 25",
    "modified_dateutc": "2026-07-14T05:59:03.1374536+00:00"
  },
  "article_id": "e80c0f20-df69-4b0a-af4b-2c5210a936d4",
  "article_code": "sample string 5",
  "article": {
    "id": "d44e1037-dac6-4c9f-bbb2-78a0c51bdc84",
    "article_category_id": "0bf4e965-1c7f-463d-8566-13a0b7c408f2",
    "article_category": {
      "id": "9ec370d5-3dc5-4d79-81f2-1281d7a1ddec",
      "parent_id": "09f09987-440a-423a-b8af-4e01c1f7f551",
      "parent_code": "sample string 3",
      "code": "sample string 4",
      "name": "sample string 5",
      "modified_dateutc": "2026-07-14T05:59:03.1374536+00:00"
    },
    "article_category_code": "sample string 3",
    "article_group_1_id": "68e4fa8f-2f50-47e6-99c8-091700f7c1d7",
    "article_group_1_code": "sample string 5",
    "article_group_2_id": "9f8a930f-d58c-4be8-b6da-dd18d050de99",
    "article_group_2_code": "sample string 7",
    "article_group_3_id": "ad067f61-eb9e-4841-a5b8-38c930d2005b",
    "article_group_3_code": "sample string 9",
    "article_group_4_id": "3b1c67fc-d928-4c23-b757-d05515d04b7c",
    "article_group_4_code": "sample string 11",
    "article_group_5_id": "e1df0200-4204-4937-9d6b-526fa53701d4",
    "article_group_5_code": "sample string 13",
    "article_group_6_id": "670d1b95-12fc-4443-b730-780caebceb0a",
    "article_group_6_code": "sample string 15",
    "physical_stock": 16,
    "back_order_client": 17,
    "back_order_supplier": 18,
    "expected_delivery_date_bo_supplier": "2026-07-14T05:59:03.1530769+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-07-14T05:59:03.1530769+00:00",
    "date_update": "2026-07-14T05:59:03.1530769+00:00",
    "modified_dateutc": "2026-07-14T05:59:03.1530769+00:00",
    "article_color_id": "1d431220-3d4d-4997-8767-59c102c9b2e0",
    "article_color_code": "sample string 38",
    "article_color": {
      "id": "358a827e-149c-4e40-8dc3-b43a53b9542f",
      "name": "sample string 2",
      "code": "sample string 3",
      "modified_dateutc": "2026-07-14T05:59:03.1530769+00:00"
    },
    "warranty_period_nb_months": 39,
    "use_serial": true,
    "_replace_id": "dc75dee0-fcc5-4ef9-ad89-1ab5072a10cc",
    "replace_article_code": "sample string 42",
    "db_unit_of_measure_id_selling": "827dcd58-4f52-4f09-881e-b46361bee144",
    "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-07-14T05:59:03.1530769+00:00"
}