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": "51c30d24-9bda-41a2-9087-8a0b82421015",
  "purchase_order_id": "c0cd479f-101e-4f60-be3f-8a028a71247b",
  "purchase_order_reference_back_office": "sample string 3",
  "purchase_order": {
    "id": "fa5e56fd-ba99-4e40-9bec-f79e0b8929dc",
    "id2": 2,
    "jobs_id": "8bb623ae-99a8-4f82-bab4-4abf2160fab5",
    "jobs_reference_back_office": "sample string 4",
    "supplier_company_id": "32108a79-6d8b-4cca-8133-194c43e8b46b",
    "supplier_company_code": "sample string 6",
    "user_id": "f2ff5c76-c238-4fbe-adae-bddf212feb63",
    "user_code": "sample string 8",
    "description": "sample string 9",
    "memo": "sample string 10",
    "total_lines": 11,
    "date_create": "2025-09-04T14:38:16.1578838+00:00",
    "date_update": "2025-09-04T14:38:16.1578838+00:00",
    "date_delivery": "2025-09-04T14:38:16.1578838+00:00",
    "confirmed_date_delivery": "2025-09-04T14:38:16.1578838+00:00",
    "delivery_db_address_id": "e61892b0-2dd6-46de-b4cf-47da7e10b31b",
    "approved_by_user_id": "b5d962d1-e164-49dd-8dfe-fbfde8281ce6",
    "approved_by_user_code": "sample string 18",
    "technical_user_id": "2cb1600c-a6f9-40e8-bf3e-22b48a870c12",
    "technical_user_code": "sample string 20",
    "purchase_order_status_id": "5c65a2c9-032a-4ae6-ad37-518f6fc901d7",
    "purchase_order_status_code": "sample string 22",
    "article_stock_location_id": "3e2a5831-6150-4a1b-9b0d-fa4ef9bcabb8",
    "is_pickup": true,
    "reference_back_office": "sample string 25",
    "modified_dateutc": "2025-09-04T14:38:16.1578838+00:00"
  },
  "article_id": "bbb5bd3f-1e5e-4c84-ad78-df73389fadb6",
  "article_code": "sample string 5",
  "article": {
    "id": "a0fac704-2b2b-4178-966e-3eaf22343aeb",
    "article_category_id": "054c59b0-60e4-4089-a7c0-a4eac703a3ee",
    "article_category": {
      "id": "b7e608e2-1b27-49ca-a11f-ca6ece45e5f1",
      "parent_id": "91965b66-ac78-420d-a047-0a3daed470de",
      "parent_code": "sample string 3",
      "code": "sample string 4",
      "name": "sample string 5",
      "modified_dateutc": "2025-09-04T14:38:16.1578838+00:00"
    },
    "article_category_code": "sample string 3",
    "article_group_1_id": "6176bb4d-09b2-4c32-8e48-64311a2e96dd",
    "article_group_1_code": "sample string 5",
    "article_group_2_id": "05efacbe-849c-4530-9bb9-11f13b38f439",
    "article_group_2_code": "sample string 7",
    "article_group_3_id": "978bc385-159d-461f-bdc4-f6dea331e1e6",
    "article_group_3_code": "sample string 9",
    "article_group_4_id": "6a56a876-b9f5-46b1-901b-220f1ae56ca1",
    "article_group_4_code": "sample string 11",
    "article_group_5_id": "ce8eb89f-3ff1-4d4d-85f3-3480be92ab78",
    "article_group_5_code": "sample string 13",
    "article_group_6_id": "02c9dc7b-6f97-45e4-8c3e-acf4406d7170",
    "article_group_6_code": "sample string 15",
    "physical_stock": 16,
    "back_order_client": 17,
    "back_order_supplier": 18,
    "expected_delivery_date_bo_supplier": "2025-09-04T14:38:16.1578838+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-09-04T14:38:16.1578838+00:00",
    "date_update": "2025-09-04T14:38:16.1578838+00:00",
    "modified_dateutc": "2025-09-04T14:38:16.1578838+00:00",
    "article_color_id": "513832c6-c69f-4f3b-9071-3fca1f81892c",
    "article_color_code": "sample string 38",
    "article_color": {
      "id": "7c0f6ab9-5385-433d-9e57-789dec26979a",
      "name": "sample string 2",
      "code": "sample string 3",
      "modified_dateutc": "2025-09-04T14:38:16.1578838+00:00"
    },
    "warranty_period_nb_months": 39,
    "use_serial": true,
    "_replace_id": "5cc81759-3e22-4af3-8fc9-3b8170b02a4d",
    "replace_article_code": "sample string 42",
    "db_unit_of_measure_id_selling": "6c4d24cb-2c55-44cf-b13d-bbe7bdf48e88",
    "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-09-04T14:38:16.1578838+00:00"
}