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": "f81c860d-0be2-4dee-bdd7-c16144ec37f7",
  "purchase_order_id": "094abe10-1e2f-45cb-be08-60823ff2c17d",
  "purchase_order_reference_back_office": "sample string 3",
  "purchase_order": {
    "id": "f16364f6-93e7-42fa-bba1-58a2b1f9b638",
    "id2": 2,
    "jobs_id": "34fa4c38-198f-4204-aca5-7fdb93eb14ad",
    "jobs_reference_back_office": "sample string 4",
    "supplier_company_id": "685f0ec2-aa45-4da5-ba9f-707d4b23a938",
    "supplier_company_code": "sample string 6",
    "user_id": "a18beeac-30b0-4340-98ff-4efc953bf056",
    "user_code": "sample string 8",
    "description": "sample string 9",
    "memo": "sample string 10",
    "total_lines": 11,
    "date_create": "2025-12-05T21:09:34.1461805+00:00",
    "date_update": "2025-12-05T21:09:34.1461805+00:00",
    "date_delivery": "2025-12-05T21:09:34.1461805+00:00",
    "confirmed_date_delivery": "2025-12-05T21:09:34.1461805+00:00",
    "delivery_db_address_id": "473b8947-2a20-42f5-b4e0-f633d3579c62",
    "approved_by_user_id": "c2a75b03-9a6c-4ec5-bff3-bd408075b9df",
    "approved_by_user_code": "sample string 18",
    "technical_user_id": "ed91e091-084e-4571-a325-c55d8a11ffe4",
    "technical_user_code": "sample string 20",
    "purchase_order_status_id": "6245ac21-135c-4b26-8eb2-79173b31f58a",
    "purchase_order_status_code": "sample string 22",
    "article_stock_location_id": "e743adec-a8ae-40e8-be65-5606a9ca1b59",
    "is_pickup": true,
    "reference_back_office": "sample string 25",
    "modified_dateutc": "2025-12-05T21:09:34.1461805+00:00"
  },
  "article_id": "602632a8-7463-46cc-8fae-9a440ade0e7e",
  "article_code": "sample string 5",
  "article": {
    "id": "9b73de4e-f753-484b-88d9-74ca7c7802d6",
    "article_category_id": "07bae6f4-16d9-4545-a8bd-2730d047db3c",
    "article_category": {
      "id": "591fc4ba-f567-4756-9b55-07e5ac1e8996",
      "parent_id": "11fd243e-c92f-4fef-a1ee-ef3c7ec13e46",
      "parent_code": "sample string 3",
      "code": "sample string 4",
      "name": "sample string 5",
      "modified_dateutc": "2025-12-05T21:09:34.1461805+00:00"
    },
    "article_category_code": "sample string 3",
    "article_group_1_id": "44ec885c-872c-45f9-a000-2c802976439b",
    "article_group_1_code": "sample string 5",
    "article_group_2_id": "d4fe4f3c-0291-4d82-b99e-9a0c1f14beb4",
    "article_group_2_code": "sample string 7",
    "article_group_3_id": "8ad9bd8c-a749-40b4-b9bb-68d9e0de1dd2",
    "article_group_3_code": "sample string 9",
    "article_group_4_id": "34fe25bd-a57e-4f1e-80f3-96e0bd500f8a",
    "article_group_4_code": "sample string 11",
    "article_group_5_id": "b8f4810a-dca6-4d93-891c-b6dc9f4a4d86",
    "article_group_5_code": "sample string 13",
    "article_group_6_id": "ab706b6d-545e-4b0a-be45-980a141a6965",
    "article_group_6_code": "sample string 15",
    "physical_stock": 16,
    "back_order_client": 17,
    "back_order_supplier": 18,
    "expected_delivery_date_bo_supplier": "2025-12-05T21:09:34.1461805+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": "2025-12-05T21:09:34.1461805+00:00",
    "date_update": "2025-12-05T21:09:34.1461805+00:00",
    "modified_dateutc": "2025-12-05T21:09:34.1461805+00:00",
    "article_color_id": "ce25f262-b708-4a46-a70e-97295118dc74",
    "article_color_code": "sample string 38",
    "article_color": {
      "id": "d7b80600-cd3a-4284-9d2c-1ff532f4cfa8",
      "name": "sample string 2",
      "code": "sample string 3",
      "modified_dateutc": "2025-12-05T21:09:34.1461805+00:00"
    },
    "warranty_period_nb_months": 39,
    "use_serial": true,
    "_replace_id": "af48167c-6bc2-4a39-be02-e6d911906968",
    "replace_article_code": "sample string 42",
    "db_unit_of_measure_id_selling": "05488bd4-46ed-4ab8-a4e9-b5b641f37d4c",
    "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": "2025-12-05T21:09:34.1461805+00:00"
}