GET api/Actions/SaleOrder?startdate={startdate}&enddate={enddate}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
startdate | date |
None. |
|
enddate | date |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of Ticket2DTOName | Description | Type | Additional information |
---|---|---|---|
date | date |
None. |
|
docNum | integer |
None. |
|
partName | string |
None. |
|
storage | string |
None. |
|
mt | Collection of TicketItem2DTO |
None. |
Response Formats
application/json, text/json
Sample:
[ { "date": "2025-06-03T04:01:18.4124949+04:00", "docNum": 2, "partName": "sample string 3", "storage": "sample string 4", "mt": [ { "mtName": "sample string 1", "qty": 2.0, "saleSum": 3.0, "ingredient": [ { "ingredientName": "sample string 1", "ingredientQty": 2.0 }, { "ingredientName": "sample string 1", "ingredientQty": 2.0 } ] }, { "mtName": "sample string 1", "qty": 2.0, "saleSum": 3.0, "ingredient": [ { "ingredientName": "sample string 1", "ingredientQty": 2.0 }, { "ingredientName": "sample string 1", "ingredientQty": 2.0 } ] } ] }, { "date": "2025-06-03T04:01:18.4124949+04:00", "docNum": 2, "partName": "sample string 3", "storage": "sample string 4", "mt": [ { "mtName": "sample string 1", "qty": 2.0, "saleSum": 3.0, "ingredient": [ { "ingredientName": "sample string 1", "ingredientQty": 2.0 }, { "ingredientName": "sample string 1", "ingredientQty": 2.0 } ] }, { "mtName": "sample string 1", "qty": 2.0, "saleSum": 3.0, "ingredient": [ { "ingredientName": "sample string 1", "ingredientQty": 2.0 }, { "ingredientName": "sample string 1", "ingredientQty": 2.0 } ] } ] } ]
text/html
Sample:
[{"date":"2025-06-03T04:01:18.4124949+04:00","docNum":2,"partName":"sample string 3","storage":"sample string 4","mt":[{"mtName":"sample string 1","qty":2.0,"saleSum":3.0,"ingredient":[{"ingredientName":"sample string 1","ingredientQty":2.0},{"ingredientName":"sample string 1","ingredientQty":2.0}]},{"mtName":"sample string 1","qty":2.0,"saleSum":3.0,"ingredient":[{"ingredientName":"sample string 1","ingredientQty":2.0},{"ingredientName":"sample string 1","ingredientQty":2.0}]}]},{"date":"2025-06-03T04:01:18.4124949+04:00","docNum":2,"partName":"sample string 3","storage":"sample string 4","mt":[{"mtName":"sample string 1","qty":2.0,"saleSum":3.0,"ingredient":[{"ingredientName":"sample string 1","ingredientQty":2.0},{"ingredientName":"sample string 1","ingredientQty":2.0}]},{"mtName":"sample string 1","qty":2.0,"saleSum":3.0,"ingredient":[{"ingredientName":"sample string 1","ingredientQty":2.0},{"ingredientName":"sample string 1","ingredientQty":2.0}]}]}]
application/xml, text/xml
Sample:
<ArrayOfTicket2DTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gregsys.DTO"> <Ticket2DTO> <date>2025-06-03T04:01:18.4124949+04:00</date> <docNum>2</docNum> <mt> <TicketItem2DTO> <ingredient> <Distrib2DTO> <ingredientName>sample string 1</ingredientName> <ingredientQty>2</ingredientQty> </Distrib2DTO> <Distrib2DTO> <ingredientName>sample string 1</ingredientName> <ingredientQty>2</ingredientQty> </Distrib2DTO> </ingredient> <mtName>sample string 1</mtName> <qty>2</qty> <saleSum>3</saleSum> </TicketItem2DTO> <TicketItem2DTO> <ingredient> <Distrib2DTO> <ingredientName>sample string 1</ingredientName> <ingredientQty>2</ingredientQty> </Distrib2DTO> <Distrib2DTO> <ingredientName>sample string 1</ingredientName> <ingredientQty>2</ingredientQty> </Distrib2DTO> </ingredient> <mtName>sample string 1</mtName> <qty>2</qty> <saleSum>3</saleSum> </TicketItem2DTO> </mt> <partName>sample string 3</partName> <storage>sample string 4</storage> </Ticket2DTO> <Ticket2DTO> <date>2025-06-03T04:01:18.4124949+04:00</date> <docNum>2</docNum> <mt> <TicketItem2DTO> <ingredient> <Distrib2DTO> <ingredientName>sample string 1</ingredientName> <ingredientQty>2</ingredientQty> </Distrib2DTO> <Distrib2DTO> <ingredientName>sample string 1</ingredientName> <ingredientQty>2</ingredientQty> </Distrib2DTO> </ingredient> <mtName>sample string 1</mtName> <qty>2</qty> <saleSum>3</saleSum> </TicketItem2DTO> <TicketItem2DTO> <ingredient> <Distrib2DTO> <ingredientName>sample string 1</ingredientName> <ingredientQty>2</ingredientQty> </Distrib2DTO> <Distrib2DTO> <ingredientName>sample string 1</ingredientName> <ingredientQty>2</ingredientQty> </Distrib2DTO> </ingredient> <mtName>sample string 1</mtName> <qty>2</qty> <saleSum>3</saleSum> </TicketItem2DTO> </mt> <partName>sample string 3</partName> <storage>sample string 4</storage> </Ticket2DTO> </ArrayOfTicket2DTO>