GET api/Order?IsPromotion={IsPromotion}&idUser={idUser}&vknTckn={vknTckn}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| IsPromotion | boolean |
Default value is False |
|
| idUser | decimal number |
Default value is 0 |
|
| vknTckn | string |
Default value is |
Body Parameters
ProductItem| Name | Description | Type | Additional information |
|---|---|---|---|
| ProductName | string |
None. |
|
| ProductCode | string |
None. |
|
| Price | string |
None. |
|
| BasePrice | string |
None. |
|
| Kontor | string |
None. |
|
| IsTimeLimited | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"productNameField": "sample string 1",
"productCodeField": "sample string 2",
"priceField": "sample string 3",
"basePriceField": "sample string 4",
"kontorField": "sample string 5",
"isTimeLimited": true,
"PropertyChanged": null
}
application/xml, text/xml
Sample:
<ProductItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EInvoice.Service.ExternalSevices.IsNetMerlinService"> <PropertyChanged xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" /> <basePriceField>sample string 4</basePriceField> <isTimeLimited>true</isTimeLimited> <kontorField>sample string 5</kontorField> <priceField>sample string 3</priceField> <productCodeField>sample string 2</productCodeField> <productNameField>sample string 1</productNameField> </ProductItem>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
OrderHistory| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ProductId | integer |
None. |
|
| ProductName | string |
None. |
|
| Quantity | decimal number |
None. |
|
| ProductPrice | decimal number |
None. |
|
| ProductQuantity | integer |
None. |
|
| VAT | decimal number |
None. |
|
| PurchaseDate | date |
None. |
|
| PurchaseType | integer |
None. |
|
| Discount | integer |
None. |
|
| Promotion | integer |
None. |
|
| CreatedDate | date |
None. |
|
| CreatedBy | decimal number |
None. |
|
| IsDeleted | boolean |
None. |
|
| PaymentId | string |
None. |
|
| IsPromotion | boolean |
None. |
|
| VknTckn | string |
None. |
|
| SchemaName | string |
None. |
|
| IsTimeLimited | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"ProductId": 2,
"ProductName": "sample string 3",
"Quantity": 4.0,
"ProductPrice": 5.0,
"ProductQuantity": 6,
"VAT": 7.0,
"PurchaseDate": "2025-12-15T03:17:30.619719+03:00",
"PurchaseType": 9,
"Discount": 10,
"Promotion": 11,
"CreatedDate": "2025-12-15T03:17:30.619719+03:00",
"CreatedBy": 13.0,
"IsDeleted": true,
"PaymentId": "sample string 15",
"IsPromotion": true,
"VknTckn": "sample string 17",
"SchemaName": "sample string 18",
"IsTimeLimited": true
}
application/xml, text/xml
Sample:
<OrderHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EInvoice.Service.Model.PaymentOperations"> <CreatedBy>13</CreatedBy> <CreatedDate>2025-12-15T03:17:30.619719+03:00</CreatedDate> <Discount>10</Discount> <Id>1</Id> <IsDeleted>true</IsDeleted> <IsPromotion>true</IsPromotion> <IsTimeLimited>true</IsTimeLimited> <PaymentId>sample string 15</PaymentId> <ProductId>2</ProductId> <ProductName>sample string 3</ProductName> <ProductPrice>5</ProductPrice> <ProductQuantity>6</ProductQuantity> <Promotion>11</Promotion> <PurchaseDate>2025-12-15T03:17:30.619719+03:00</PurchaseDate> <PurchaseType>9</PurchaseType> <Quantity>4</Quantity> <SchemaName>sample string 18</SchemaName> <VAT>7</VAT> <VknTckn>sample string 17</VknTckn> </OrderHistory>