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

article_id

Foreign key of article

globally unique identifier

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

unit

string
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

is_dummy

boolean
modified_dateutc

Readonly system field managed by database, filled with GetUtcDate when adding,updating

date

Response Formats

application/json, text/json

Sample:
{
  "id": "fd8dc685-7f67-4947-8db6-1365ec310116",
  "purchase_order_id": "361cbd35-3289-408a-9464-145890560cbe",
  "article_id": "00eab0ab-7e03-4454-9522-3b0847c25bf2",
  "line_number": 4,
  "code": "sample string 5",
  "supplier_code": "sample string 6",
  "name": "sample string 7",
  "description": "sample string 8",
  "price": 9.0,
  "quantity": 10.0,
  "unit": "sample string 11",
  "memo": "sample string 12",
  "cost_price": 13.0,
  "reference_back_office": "sample string 14",
  "is_dummy": true,
  "modified_dateutc": "2026-01-12T00:18:37.6787604+00:00"
}

application/xml, text/xml

Sample:
<purchase_order_details xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <article_id>00eab0ab-7e03-4454-9522-3b0847c25bf2</article_id>
  <code>sample string 5</code>
  <cost_price>13</cost_price>
  <description>sample string 8</description>
  <id>fd8dc685-7f67-4947-8db6-1365ec310116</id>
  <is_dummy>true</is_dummy>
  <line_number>4</line_number>
  <memo>sample string 12</memo>
  <modified_dateutc>2026-01-12T00:18:37.678Z</modified_dateutc>
  <name>sample string 7</name>
  <price>9</price>
  <purchase_order_id>361cbd35-3289-408a-9464-145890560cbe</purchase_order_id>
  <quantity>10</quantity>
  <reference_back_office>sample string 14</reference_back_office>
  <supplier_code>sample string 6</supplier_code>
  <unit>sample string 11</unit>
</purchase_order_details>