GET api/GetOpenPurchaseOrders?supplierno={supplierno}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
supplierno

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of OpenPurchaseOrdersData
NameDescriptionTypeAdditional information
DocNo

integer

None.

DocType

string

None.

DocLine

integer

None.

RefDocNo

string

None.

RefDocType

string

None.

RefDocLine

integer

None.

SupplierNo

integer

None.

SupplierName

string

None.

OrderDate

date

None.

PromisedDate

date

None.

LineType

string

None.

ItemNo

string

None.

ItemDesc1

string

None.

ItemDesc2

string

None.

Branch

string

None.

Location

string

None.

UOM

string

None.

OrderQty

decimal number

None.

OpenQty

decimal number

None.

Currency

string

None.

UnitCost

decimal number

None.

ItemAmount

decimal number

None.

TaxPercentage

decimal number

None.

VAT

decimal number

None.

AmountWithVAT

decimal number

None.

Internal_Attachment

string

None.

AcknowledgeDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DocNo": 1,
    "DocType": "sample string 2",
    "DocLine": 3,
    "RefDocNo": "sample string 4",
    "RefDocType": "sample string 5",
    "RefDocLine": 6,
    "SupplierNo": 7,
    "SupplierName": "sample string 8",
    "OrderDate": "2024-09-19T20:32:21.8094537+03:00",
    "PromisedDate": "2024-09-19T20:32:21.8094537+03:00",
    "LineType": "sample string 11",
    "ItemNo": "sample string 12",
    "ItemDesc1": "sample string 13",
    "ItemDesc2": "sample string 14",
    "Branch": "sample string 15",
    "Location": "sample string 16",
    "UOM": "sample string 17",
    "OrderQty": 18.1,
    "OpenQty": 19.1,
    "Currency": "sample string 20",
    "UnitCost": 21.1,
    "ItemAmount": 22.1,
    "TaxPercentage": 23.1,
    "VAT": 24.1,
    "AmountWithVAT": 25.1,
    "Internal_Attachment": "sample string 26",
    "AcknowledgeDate": "2024-09-19T20:32:21.8094537+03:00"
  },
  {
    "DocNo": 1,
    "DocType": "sample string 2",
    "DocLine": 3,
    "RefDocNo": "sample string 4",
    "RefDocType": "sample string 5",
    "RefDocLine": 6,
    "SupplierNo": 7,
    "SupplierName": "sample string 8",
    "OrderDate": "2024-09-19T20:32:21.8094537+03:00",
    "PromisedDate": "2024-09-19T20:32:21.8094537+03:00",
    "LineType": "sample string 11",
    "ItemNo": "sample string 12",
    "ItemDesc1": "sample string 13",
    "ItemDesc2": "sample string 14",
    "Branch": "sample string 15",
    "Location": "sample string 16",
    "UOM": "sample string 17",
    "OrderQty": 18.1,
    "OpenQty": 19.1,
    "Currency": "sample string 20",
    "UnitCost": 21.1,
    "ItemAmount": 22.1,
    "TaxPercentage": 23.1,
    "VAT": 24.1,
    "AmountWithVAT": 25.1,
    "Internal_Attachment": "sample string 26",
    "AcknowledgeDate": "2024-09-19T20:32:21.8094537+03:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfOpenPurchaseOrdersData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PurchaseOrders.Models">
  <OpenPurchaseOrdersData>
    <AcknowledgeDate>2024-09-19T20:32:21.8094537+03:00</AcknowledgeDate>
    <AmountWithVAT>25.1</AmountWithVAT>
    <Branch>sample string 15</Branch>
    <Currency>sample string 20</Currency>
    <DocLine>3</DocLine>
    <DocNo>1</DocNo>
    <DocType>sample string 2</DocType>
    <Internal_Attachment>sample string 26</Internal_Attachment>
    <ItemAmount>22.1</ItemAmount>
    <ItemDesc1>sample string 13</ItemDesc1>
    <ItemDesc2>sample string 14</ItemDesc2>
    <ItemNo>sample string 12</ItemNo>
    <LineType>sample string 11</LineType>
    <Location>sample string 16</Location>
    <OpenQty>19.1</OpenQty>
    <OrderDate>2024-09-19T20:32:21.8094537+03:00</OrderDate>
    <OrderQty>18.1</OrderQty>
    <PromisedDate>2024-09-19T20:32:21.8094537+03:00</PromisedDate>
    <RefDocLine>6</RefDocLine>
    <RefDocNo>sample string 4</RefDocNo>
    <RefDocType>sample string 5</RefDocType>
    <SupplierName>sample string 8</SupplierName>
    <SupplierNo>7</SupplierNo>
    <TaxPercentage>23.1</TaxPercentage>
    <UOM>sample string 17</UOM>
    <UnitCost>21.1</UnitCost>
    <VAT>24.1</VAT>
  </OpenPurchaseOrdersData>
  <OpenPurchaseOrdersData>
    <AcknowledgeDate>2024-09-19T20:32:21.8094537+03:00</AcknowledgeDate>
    <AmountWithVAT>25.1</AmountWithVAT>
    <Branch>sample string 15</Branch>
    <Currency>sample string 20</Currency>
    <DocLine>3</DocLine>
    <DocNo>1</DocNo>
    <DocType>sample string 2</DocType>
    <Internal_Attachment>sample string 26</Internal_Attachment>
    <ItemAmount>22.1</ItemAmount>
    <ItemDesc1>sample string 13</ItemDesc1>
    <ItemDesc2>sample string 14</ItemDesc2>
    <ItemNo>sample string 12</ItemNo>
    <LineType>sample string 11</LineType>
    <Location>sample string 16</Location>
    <OpenQty>19.1</OpenQty>
    <OrderDate>2024-09-19T20:32:21.8094537+03:00</OrderDate>
    <OrderQty>18.1</OrderQty>
    <PromisedDate>2024-09-19T20:32:21.8094537+03:00</PromisedDate>
    <RefDocLine>6</RefDocLine>
    <RefDocNo>sample string 4</RefDocNo>
    <RefDocType>sample string 5</RefDocType>
    <SupplierName>sample string 8</SupplierName>
    <SupplierNo>7</SupplierNo>
    <TaxPercentage>23.1</TaxPercentage>
    <UOM>sample string 17</UOM>
    <UnitCost>21.1</UnitCost>
    <VAT>24.1</VAT>
  </OpenPurchaseOrdersData>
</ArrayOfOpenPurchaseOrdersData>