POST api/purchases/export-excel?suid={suid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| suid | string |
Required |
Body Parameters
ExcelReportForm| Name | Description | Type | Additional information |
|---|---|---|---|
| IdS | integer |
None. |
|
| GoodsIds | Collection of integer |
None. |
|
| DateStart | date |
None. |
|
| DateFinish | date |
None. |
|
| ReturnedGoods | integer |
None. |
|
| ReportColumns | Collection of string |
None. |
|
| Buyer | string |
None. |
|
| AgentSales | integer |
None. |
|
| Agent | integer |
None. |
|
| Owner | integer |
None. |
|
| Lng | string |
None. |
|
| PaymentMethod | string |
None. |
|
| Language | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdS": 1,
"GoodsIds": [
1,
2
],
"DateStart": "2026-03-19T22:22:59.7330613+03:00",
"DateFinish": "2026-03-19T22:22:59.7330613+03:00",
"ReturnedGoods": 1,
"ReportColumns": [
"sample string 1",
"sample string 2"
],
"Buyer": "sample string 4",
"AgentSales": 5,
"Agent": 1,
"Owner": 1,
"Lng": "sample string 6",
"PaymentMethod": "sample string 7",
"Language": "sample string 8"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
application/xml, text/xml
Sample:
<ExcelReportForm>
<IdS>1</IdS>
<GoodsIds>
<int>1</int>
<int>2</int>
</GoodsIds>
<DateStart>2026-03-19T22:22:59.7330613+03:00</DateStart>
<DateFinish>2026-03-19T22:22:59.7330613+03:00</DateFinish>
<ReturnedGoods>1</ReturnedGoods>
<ReportColumns>
<string>sample string 1</string>
<string>sample string 2</string>
</ReportColumns>
<Buyer>sample string 4</Buyer>
<AgentSales>5</AgentSales>
<Agent>1</Agent>
<Owner>1</Owner>
<Lng>sample string 6</Lng>
<PaymentMethod>sample string 7</PaymentMethod>
<Language>sample string 8</Language>
</ExcelReportForm>
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.