POST api/report/save
Request Information
URI Parameters
None.
Body Parameters
ReportSaveRequestDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ReportCategory | string |
None. |
|
| ReportName | string |
None. |
|
| ReportParameters | Dictionary of string [key] and string [value] |
None. |
|
| ReportFormat | string |
None. |
|
| DestinationFolder | string |
None. |
|
| FileName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ReportCategory": "sample string 1",
"ReportName": "sample string 2",
"ReportParameters": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"ReportFormat": "sample string 3",
"DestinationFolder": "sample string 4",
"FileName": "sample string 5"
}
application/xml, text/xml
Sample:
<ReportSaveRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/M4L.Middleware.Domain.WarehouseManager">
<DestinationFolder>sample string 4</DestinationFolder>
<FileName>sample string 5</FileName>
<ReportCategory>sample string 1</ReportCategory>
<ReportFormat>sample string 3</ReportFormat>
<ReportName>sample string 2</ReportName>
<ReportParameters xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</ReportParameters>
</ReportSaveRequestDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ReportSaveResponseDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccessful | boolean |
None. |
|
| Status | string |
None. |
|
| MessageDescription | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccessful": true,
"Status": "sample string 2",
"MessageDescription": "sample string 3"
}
application/xml, text/xml
Sample:
<ReportSaveResponseDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/M4L.Middleware.Domain.WarehouseManager"> <IsSuccessful>true</IsSuccessful> <MessageDescription>sample string 3</MessageDescription> <Status>sample string 2</Status> </ReportSaveResponseDTO>