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": "1fba3b49-894a-40e7-b394-c6a15eb76c4e",
  "purchase_order_id": "b1ce160e-99c5-4e2c-8c80-32b084dd2bd9",
  "purchase_order_reference_back_office": "sample string 3",
  "purchase_order": {
    "id": "b5d36deb-0141-45ea-bc14-6555cb3bf406",
    "id2": 2,
    "jobs_id": "105e5d72-aff9-47ef-8685-f1ae41637feb",
    "jobs_reference_back_office": "sample string 4",
    "supplier_company_id": "706aa61e-6f11-49a1-ad47-693f47608810",
    "supplier_company_code": "sample string 6",
    "user_id": "4f82409c-9123-4b72-9b85-0c746f543cb4",
    "user_code": "sample string 8",
    "description": "sample string 9",
    "memo": "sample string 10",
    "total_lines": 11,
    "date_create": "2025-09-13T22:13:47.8634372+00:00",
    "date_update": "2025-09-13T22:13:47.8634372+00:00",
    "date_delivery": "2025-09-13T22:13:47.8634372+00:00",
    "confirmed_date_delivery": "2025-09-13T22:13:47.8634372+00:00",
    "delivery_db_address_id": "0bd1cb4b-c47f-437d-b9ce-129437e55327",
    "approved_by_user_id": "cdaa1ec2-d71b-49ff-84f2-4952a48ee8df",
    "approved_by_user_code": "sample string 18",
    "technical_user_id": "c88dc856-b122-4f17-b89f-c760f2a25cd1",
    "technical_user_code": "sample string 20",
    "purchase_order_status_id": "20ca2875-5487-434f-ab6c-64780bac19cd",
    "purchase_order_status_code": "sample string 22",
    "article_stock_location_id": "7536b744-6c64-4666-bc15-0f1c7b5ab33d",
    "is_pickup": true,
    "reference_back_office": "sample string 25",
    "modified_dateutc": "2025-09-13T22:13:47.8634372+00:00"
  },
  "article_id": "53749140-d756-4f66-9d0c-eabdafdb21cb",
  "article_code": "sample string 5",
  "article": {
    "id": "f294fe59-d2a1-48b1-8d2a-85e55a534100",
    "article_category_id": "56bf741f-9d06-40c7-852f-348478a1e489",
    "article_category": {
      "id": "a56d4fd4-873b-4a3f-8357-e27a70a7f70e",
      "parent_id": "92167fe9-349f-455d-97f6-27ce461e7751",
      "parent_code": "sample string 3",
      "code": "sample string 4",
      "name": "sample string 5",
      "modified_dateutc": "2025-09-13T22:13:47.8634372+00:00"
    },
    "article_category_code": "sample string 3",
    "article_group_1_id": "a226ffaa-7da7-4c39-9e5b-261b4872279c",
    "article_group_1_code": "sample string 5",
    "article_group_2_id": "183007b6-e2dc-4fc6-9720-26105bb6b1c5",
    "article_group_2_code": "sample string 7",
    "article_group_3_id": "22e39943-bed3-4de1-b1fd-228ca2f2ac4b",
    "article_group_3_code": "sample string 9",
    "article_group_4_id": "93d66fc6-6ff5-4f5f-a9a8-a28a9daf4394",
    "article_group_4_code": "sample string 11",
    "article_group_5_id": "0dfcdebd-e45d-436f-a705-ff55f48e4502",
    "article_group_5_code": "sample string 13",
    "article_group_6_id": "f92d8781-e371-4580-8450-4d11bf2f4f70",
    "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-13T22:13:47.8634372+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-13T22:13:47.8634372+00:00",
    "date_update": "2025-09-13T22:13:47.8634372+00:00",
    "modified_dateutc": "2025-09-13T22:13:47.8634372+00:00",
    "article_color_id": "d449059b-c50a-446e-bbb5-715058073909",
    "article_color_code": "sample string 38",
    "article_color": {
      "id": "7be538f4-046d-48c9-b415-f9c8f42f435b",
      "name": "sample string 2",
      "code": "sample string 3",
      "modified_dateutc": "2025-09-13T22:13:47.8634372+00:00"
    },
    "warranty_period_nb_months": 39,
    "use_serial": true,
    "_replace_id": "a5f6fa75-f370-42b3-bd87-9cc71438574c",
    "replace_article_code": "sample string 42",
    "db_unit_of_measure_id_selling": "741c890f-4db9-430e-9686-e816c26cb956",
    "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-13T22:13:47.8634372+00:00"
}