List the salary declarations (annual and month totals) of the current organization for a calendar year, newest first
Ask AI
GET
/api-v1/swissdec/salary-declaration
curl \
--request GET 'https://wyzio.app/api-v1/swissdec/salary-declaration?calendarYear=42'
Response examples (200)
[
{
"jobKey": "string",
"dispatched": true,
"jobFinished": true,
"resultStatus": "ACCEPTED",
"lastPolledDate": "2026-05-04T09:42:00Z",
"pollPhase": "VALIDITY_CHECKING",
"pollCount": 42,
"lastPollError": "string",
"status": "SUCCESS",
"validationError": "string",
"createdDate": "2026-05-04T09:42:00Z",
"domains": [
{
"id": 42,
"domain": "AHV_AVS",
"institutionIdRef": "string",
"state": "IGNORED",
"endUserInformation": "string",
"detailInformation": "string",
"canton": "string",
"responseCode": "string",
"institutionName": "string",
"responseId": "string",
"requestId": "string",
"completion": {
"url": "string",
"expiryDate": "2026-05-04T09:42:00Z",
"key": "string",
"password": "string"
},
"notifications": [
{
"level": "WARNING",
"qualityLevel": "string",
"descriptionCode": "string",
"description": "string",
"stage": "STATUS"
}
],
"warningCount": 42,
"infoCount": 42,
"processFlow": "COMPLETION_AND_RESULT",
"resultAvailable": true,
"dialogAvailable": true,
"result": {
"state": "NOT_SUPPORTED",
"fetchedDate": "2026-05-04T09:42:00Z",
"expectedAvailability": "2026-05-04T09:42:00Z",
"endUserInformation": "string",
"detailInformation": "string",
"responseId": "string",
"requestId": "string",
"institutionName": "string",
"notifications": [
{
"level": "WARNING",
"qualityLevel": "string",
"descriptionCode": "string",
"description": "string",
"stage": "STATUS"
}
],
"warningCount": 42,
"infoCount": 42,
"requestArchived": true,
"responseArchived": true
}
}
],
"calendarYear": 42,
"declarationKind": "string",
"monthType": "string",
"notifications": [
{
"level": "WARNING",
"qualityLevel": "string",
"descriptionCode": "string",
"description": "string",
"stage": "STATUS"
}
],
"testCase": true,
"declarationId": "string",
"requestId": "string",
"responseId": "string",
"predecessorJobKey": "string",
"predecessorDeclarationId": "string",
"substitutedByJobKey": "string",
"substitutedByDeclarationId": "string",
"signedRequestArchived": true,
"signedResponseArchived": true,
"substituted": true
}
]