POST api/Report
Request Information
URI Parameters
None.
Body Parameters
ReportModelName | Description | Type | Additional information |
---|---|---|---|
ReportType | ReportType |
None. |
|
ExportType | ExportType |
None. |
|
ReportFileName | string |
None. |
|
Parameters | ReportParameters |
None. |
Request Formats
application/json, text/json
Sample:
{ "ReportType": 1, "ExportType": 0, "ReportFileName": "sample string 1", "Parameters": { "EmployeeNo": "sample string 1", "IsEmployeeNoUse": true, "PayrollId": "d507ef1a-e884-40e9-b6af-e6007fe783d8", "IsPayrollIdUse": true, "PayrollDateFrom": "2024-09-19T20:32:36.6240942+00:00", "IsPayrollDateFromUse": true, "PayrollDateTo": "2024-09-19T20:32:36.6240942+00:00", "IsPayrollDateToUse": true } }
application/xml, text/xml
Sample:
<ReportModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Payroll.Reporting.Models"> <ExportType>OnlyView</ExportType> <Parameters> <EmployeeNo>sample string 1</EmployeeNo> <IsEmployeeNoUse>true</IsEmployeeNoUse> <IsPayrollDateFromUse>true</IsPayrollDateFromUse> <IsPayrollDateToUse>true</IsPayrollDateToUse> <IsPayrollIdUse>true</IsPayrollIdUse> <PayrollDateFrom>2024-09-19T20:32:36.6240942+00:00</PayrollDateFrom> <PayrollDateTo>2024-09-19T20:32:36.6240942+00:00</PayrollDateTo> <PayrollId>d507ef1a-e884-40e9-b6af-e6007fe783d8</PayrollId> </Parameters> <ReportFileName>sample string 1</ReportFileName> <ReportType>PaySheet</ReportType> </ReportModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |