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": "c71ee262-a997-442f-b605-b829f41d1756",
  "purchase_order_id": "f232b127-2e92-45ff-b9d9-e7c4a088e780",
  "purchase_order_reference_back_office": "sample string 3",
  "purchase_order": {
    "id": "3f50ec29-60fd-444e-8a6e-6614862a2121",
    "id2": 2,
    "jobs_id": "92032a36-eb4b-4b54-80de-7e561f70dc99",
    "jobs_reference_back_office": "sample string 4",
    "supplier_company_id": "dd60c195-db39-4485-8571-904070683f94",
    "supplier_company_code": "sample string 6",
    "user_id": "d55b7ae8-aa3a-4dca-b2db-3d6bea185b80",
    "user_code": "sample string 8",
    "description": "sample string 9",
    "memo": "sample string 10",
    "total_lines": 11,
    "date_create": "2026-11-21T16:30:39.8927615+00:00",
    "date_update": "2026-11-21T16:30:39.8927615+00:00",
    "date_delivery": "2026-11-21T16:30:39.8927615+00:00",
    "confirmed_date_delivery": "2026-11-21T16:30:39.8927615+00:00",
    "delivery_db_address_id": "48c23aa3-6c50-4084-87ed-04ebaa543da2",
    "approved_by_user_id": "1f79bdc5-001b-45c5-8283-8df25976d588",
    "approved_by_user_code": "sample string 18",
    "technical_user_id": "5fdbe4a5-74c8-4a14-9148-0c7fb58a77d6",
    "technical_user_code": "sample string 20",
    "purchase_order_status_id": "41a308ad-8236-4df1-8f40-79945fd926d7",
    "purchase_order_status_code": "sample string 22",
    "article_stock_location_id": "25192836-aed0-4aa2-b474-1b0a50c68d69",
    "is_pickup": true,
    "reference_back_office": "sample string 25",
    "modified_dateutc": "2026-11-21T16:30:39.8927615+00:00"
  },
  "article_id": "9e05b166-ec72-4100-b59e-7aa6d93d04d8",
  "article_code": "sample string 5",
  "article": {
    "id": "b603ff45-0fbd-405b-9266-a94b5c5e9d97",
    "article_category_id": "cfefc6c1-e58a-480c-a155-8af67a1870ff",
    "article_category": {
      "id": "26754b98-9fd0-422f-93d4-90118bf72bc0",
      "parent_id": "cd909c9d-b3e3-42f5-9445-4b5541b92621",
      "parent_code": "sample string 3",
      "code": "sample string 4",
      "name": "sample string 5",
      "modified_dateutc": "2026-11-21T16:30:39.8927615+00:00"
    },
    "article_category_code": "sample string 3",
    "article_group_1_id": "f100f942-5f47-4fdd-87ee-0eeedd5b4d46",
    "article_group_1_code": "sample string 5",
    "article_group_2_id": "0c9dc84d-b5ca-49fd-9deb-a5b5be740aae",
    "article_group_2_code": "sample string 7",
    "article_group_3_id": "1da1e0bb-6c7e-4607-a845-5a800968ad8b",
    "article_group_3_code": "sample string 9",
    "article_group_4_id": "6e82943e-68dd-4c49-9ebc-ecf850f942f1",
    "article_group_4_code": "sample string 11",
    "article_group_5_id": "67234313-1269-4e24-9888-f56d4f1c310c",
    "article_group_5_code": "sample string 13",
    "article_group_6_id": "5030029c-11ec-4ce2-90f8-1bcc7b369969",
    "article_group_6_code": "sample string 15",
    "physical_stock": 16,
    "back_order_client": 17,
    "back_order_supplier": 18,
    "expected_delivery_date_bo_supplier": "2026-11-21T16:30:39.8927615+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-11-21T16:30:39.9064288+00:00",
    "date_update": "2026-11-21T16:30:39.9064288+00:00",
    "modified_dateutc": "2026-11-21T16:30:39.9064288+00:00",
    "article_color_id": "f961c28e-dfeb-448a-a2f8-2cbe9a350795",
    "article_color_code": "sample string 38",
    "article_color": {
      "id": "9f5202b2-5c1d-4297-807f-a3bd741b8336",
      "name": "sample string 2",
      "code": "sample string 3",
      "modified_dateutc": "2026-11-21T16:30:39.9064288+00:00"
    },
    "warranty_period_nb_months": 39,
    "use_serial": true,
    "_replace_id": "1a8292ab-3b9c-47d6-ba75-0df88a112876",
    "replace_article_code": "sample string 42",
    "db_unit_of_measure_id_selling": "9fae614f-ac2d-4093-aa46-22a460bd8ef2",
    "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-11-21T16:30:39.9225748+00:00"
}