GET v1/company/{companyId}/dashboards/PayrollDashboard/{year}
Get Payroll dashboard details
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyId |
Company id |
decimal number |
Required |
| year |
Dashboard input param year |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ApiResponseOfPayrollModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | PayrollModel |
None. |
|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| Errors |
Errors occures while processing request |
Collection of ApiError |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": {
"submissions": [
{
"Name": "sample string 1",
"Count": 2,
"Label": "sample string 3",
"Color": "sample string 4"
},
{
"Name": "sample string 1",
"Count": 2,
"Label": "sample string 3",
"Color": "sample string 4"
}
],
"mthSubmissions": [
{
"Month": 1,
"Key": "sample string 2",
"Value": 3.0
},
{
"Month": 1,
"Key": "sample string 2",
"Value": 3.0
}
]
},
"Status": true,
"Message": "sample string 2",
"Errors": [
{
"Number": 1,
"Message": "sample string 2",
"Exception": {
"ClassName": "System.Exception",
"Message": null,
"Data": null,
"InnerException": null,
"HelpURL": "sample string 1",
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": 3,
"Source": "sample string 2",
"WatsonBuckets": null
}
},
{
"Number": 1,
"Message": "sample string 2",
"Exception": {
"ClassName": "System.Exception",
"Message": null,
"Data": null,
"InnerException": null,
"HelpURL": "sample string 1",
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": 3,
"Source": "sample string 2",
"WatsonBuckets": null
}
}
]
}