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": "a24ff63a-a9cb-4bcb-a634-713d8c00ecad", "IsPayrollIdUse": true, "PayrollDateFrom": "2025-04-04T10:47:37.4504135+11:00", "IsPayrollDateFromUse": true, "PayrollDateTo": "2025-04-04T10:47:37.4504135+11: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>2025-04-04T10:47:37.4504135+11:00</PayrollDateFrom> <PayrollDateTo>2025-04-04T10:47:37.4504135+11:00</PayrollDateTo> <PayrollId>a24ff63a-a9cb-4bcb-a634-713d8c00ecad</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. |