# What the UI needs before submitting: 'test declaration' default, whether a declaration for the year is still pending, and whether an accepted declaration exists that a new submission would substitute () **GET /api-v1/swissdec/salary-declaration/dispatch-options** ## Servers - Generated server url: https://wyzio.app (Generated server url) ## Parameters ### Headers - **WEAL-TOKEN** () API token (can be retrieved from account settings) - **TARGET-ORGANIZATION-ID** () ID of organization, for which the operation must be performed ### Query parameters - **calendarYear** (integer(int32)) ## Responses ### 200 OK #### Body: application/json (object) - **testCaseDefault** (boolean) - **pendingDeclaration** (boolean) - **substitutionAvailable** (boolean) - **predecessorJobKey** (string) - **predecessorDeclarationId** (string) - **predecessorAcceptedAt** (string(date-time)) - **predecessorResultStatus** (string) - **plausibility** (array[object]) - **domains** (array[object]) - **plausibilityErrors** (integer(int32)) - **plausibilityWarnings** (integer(int32)) ### 400 400 Bad Request ### 401 401 Unauthorized ### 403 403 Access Denied ### 404 404 Not Found ### 500 500 Internal Server Error [Powered by Bump.sh](https://bump.sh)