Do not miss any Wyzio API changes, ever again

Subscribe to the Wyzio API changelog to be up to date on recent changes.

RSS

20 days ago

main
1.0
Compare

API structure has changed

85 structure changes including:
40 Breaking changes
19 Additions
58 Modifications
8 Removals
Modified 58 Breaking
POST /api-v1/document/upload
  • Path went from /api-v1/expenses/draft/upload to /api-v1/document/upload (same operationId)
    Breaking
  • Body
  • multipart/form-data content type Modified
    • convertToImage, isCompanyLogo properties Added
GET /api-v1/orders/total
  • Response
  • 200 response Modified
    • application/json content type Added
GET /api-v1/orders/summary
  • Response
  • 200 response Modified
    • application/json content type Added
GET /api-v1/orders/advanced
  • Response
  • 200 response Modified
    • application/json content type Added
GET /api-v1/orders
  • Response
  • 200 response Modified
    • application/json content type Added
GET /api-v1/my-payroll
  • Response
  • 200 response Modified
    • application/json content type Added
GET /api-v1/consolidated-organization/available
  • Response
  • 200 response Modified
    • application/json content type Added
GET /api-v1/budget/report/{id}
  • Path went from /api-v1/vat/report to /api-v1/budget/report/{id} (same operationId)
    Breaking
  • Response
  • 200 response Modified
    • application/json content type Removed
      • Removing a resource is always breaking unless it was deprecated before
        Breaking
  • Query
  • startDate, endDate query parameters Removed
    • Removing a resource is always breaking unless it was deprecated before
      Breaking
  • Path
  • id path parameter Added
DELETE /api-v1/workflow/{id}
  • Path went from /api-v1/user-group/{id} to /api-v1/workflow/{id} (same operationId)
    Breaking
DELETE /api-v1/user-group/{id}
  • Path went from /api-v1/swissdec/organization-certificate to /api-v1/user-group/{id} (same operationId)
    Breaking
  • Response
  • 200 response Modified
    • application/json content type Added
  • Path
  • id path parameter Added
DELETE /api-v1/swissdec/organization-certificate
  • Path went from /api-v1/stock-movement-line/{id} to /api-v1/swissdec/organization-certificate (same operationId)
    Breaking
  • Response
  • 200 response Modified
    • application/json content type Removed
      • Removing a resource is always breaking unless it was deprecated before
        Breaking
  • Path
  • id path parameter Removed
    • Removing a resource is always breaking unless it was deprecated before
      Breaking
DELETE /api-v1/swissdec/incidents/{incidentId}
  • Path went from /api-v1/workflow/{id} to /api-v1/swissdec/incidents/{incidentId} (same operationId)
    Breaking
  • Response
  • 200 response Modified
    • application/json content type Removed
      • Removing a resource is always breaking unless it was deprecated before
        Breaking
  • Path
  • id path parameter Removed
    • Removing a resource is always breaking unless it was deprecated before
      Breaking
  • incidentId path parameter Added
DELETE /api-v1/stock-movement-line/{id}
  • Path went from /api-v1/sales-invoice/{id} to /api-v1/stock-movement-line/{id} (same operationId)
    Breaking
DELETE /api-v1/sales-invoice/{id}
  • Path went from /api-v1/role/{id} to /api-v1/sales-invoice/{id} (same operationId)
    Breaking
DELETE /api-v1/role/{id}
  • Path went from /api-v1/reconciliation-lines/{id} to /api-v1/role/{id} (same operationId)
    Breaking
  • Response
  • 200 response Modified
    • application/json content type Added
DELETE /api-v1/reconciliation-lines/{id}
  • Path went from /api-v1/purchase-invoice/{id} to /api-v1/reconciliation-lines/{id} (same operationId)
    Breaking
  • Response
  • 200 response Modified
    • application/json content type Removed
      • Removing a resource is always breaking unless it was deprecated before
        Breaking
DELETE /api-v1/purchase-invoice/{id}
  • Path went from /api-v1/purchase-invoice-scan/{id} to /api-v1/purchase-invoice/{id} (same operationId)
    Breaking
GET /api-v1/timesheet/total
  • Response
  • 200 response Modified
    • application/json content type Added
GET /api-v1/timesheet/advanced/total
  • Response
  • 200 response Modified
    • application/json content type Added
GET /api-v1/timesheet/advanced
  • Response
  • 200 response Modified
    • application/json content type Added
GET /api-v1/timesheet
  • Response
  • 200 response Modified
    • application/json content type Added
GET /api-v1/swissdec/salary-declaration/{jobKey}
  • Response
  • 200 response Modified
    • application/json content type Modified
      • domains property Modified
        • id, responseCode, institutionName, responseId, requestId, completion, notifications, warningCount, infoCount, processFlow, resultAvailable, dialogAvailable, result properties Added
      • pollPhase, pollCount, lastPollError, status, validationError, calendarYear, declarationKind, monthType, notifications, testCase, declarationId, requestId, responseId, predecessorJobKey, predecessorDeclarationId, substitutedByJobKey, substitutedByDeclarationId, signedRequestArchived, signedResponseArchived, substituted properties Added
GET /api-v1/swissdec/organization-certificate
  • Response
  • 200 response Modified
    • application/json content type Modified
      • processing, processingExpectedAvailability properties Added
GET /api-v1/swissdec/month-total-declaration/{jobKey}
  • Response
  • 200 response Modified
    • application/json content type Modified
      • domains property Modified
        • id, responseCode, institutionName, responseId, requestId, completion, notifications, warningCount, infoCount, processFlow, resultAvailable, dialogAvailable, result properties Added
      • pollPhase, pollCount, lastPollError, status, validationError, calendarYear, declarationKind, monthType, notifications, testCase, declarationId, requestId, responseId, predecessorJobKey, predecessorDeclarationId, substitutedByJobKey, substitutedByDeclarationId, signedRequestArchived, signedResponseArchived, substituted properties Added
GET /api-v1/swissdec/incidents/{incidentId}
  • Path went from /api-v1/swissdec/line-mapping to /api-v1/swissdec/incidents/{incidentId} (same operationId)
    Breaking
  • Response
  • 200 response Modified
    • application/json content type Modified
      • organizationId, ahvAvsLineIds, bvgLppOrdinaryLineIds, bvgLppRepurchaseLineIds, uvgLaaLineIds, uvgzLaacLineIds, uvgzLaacExcessLineIds, ktgAmcLineIds, fakCafLineIds, taxAtSourceLineIds properties Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
      • staffId, staffName, staffAvsNumber, domain, state, incidentDate, incapacityToWorkFrom, incidentScene, description, companyCaseId, insuranceCaseId, incidentCaseId, testCase, withoutContract, processByDistributor, insuranceCode, endUserInformation, detailInformation, insuranceId, insuranceCompanyName, customerIdentity, contractIdentity, createdDate, declaredDate, lastSyncDate, processState, awaitedParts, awaitedUntil, requestId, responseId, attachments, dialogMessages, dialogReplyPending properties Added
  • Path
  • incidentId path parameter Added
GET /api-v1/swissdec/incidents
  • Path went from /api-v1/swissdec/institutions to /api-v1/swissdec/incidents (same operationId)
    Breaking
  • Response
  • 200 response Modified
    • application/json content type Modified
      • organizationId, organizationEmployeeGroupId, institutionKey, name, institutionId, active properties Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
      • staffId, staffName, staffAvsNumber, state, incidentDate, incapacityToWorkFrom, incidentScene, description, companyCaseId, insuranceCaseId, incidentCaseId, testCase, withoutContract, processByDistributor, insuranceCode, endUserInformation, detailInformation, insuranceId, insuranceCompanyName, createdDate, declaredDate, lastSyncDate, processState, awaitedParts, awaitedUntil, requestId, responseId, attachments, dialogMessages, dialogReplyPending properties Added
  • Query
  • year query parameter Removed
    • Removing a resource is always breaking unless it was deprecated before
      Breaking
GET /api-v1/payroll/total
  • Response
  • 200 response Modified
    • application/json content type Added
GET /api-v1/payroll/advanced/total
  • Response
  • 200 response Modified
    • application/json content type Added
GET /api-v1/payroll/advanced
  • Response
  • 200 response Modified
    • application/json content type Added
GET /api-v1/payroll
  • Response
  • 200 response Modified
    • application/json content type Added
GET /api-v1/organization/advanced
  • Response
  • 200 response Modified
    • application/json content type Added
GET /api-v1/organization
  • Response
  • 200 response Modified
    • application/json content type Added
GET /api-v1/orders/{id}/full
  • Response
  • 200 response Modified
    • application/json content type Added
PUT /api-v1/swissdec/incidents/{incidentId}
  • Path went from /api-v1/pdf-template/batch to /api-v1/swissdec/incidents/{incidentId} (same operationId)
    Breaking
  • Body
  • application/json content type Modified
    • id, staffId, staffName, staffAvsNumber, domain, state, incidentDate, incapacityToWorkFrom, incidentScene, description, companyCaseId, insuranceCaseId, incidentCaseId, testCase, withoutContract, processByDistributor, insuranceCode, endUserInformation, detailInformation, insuranceId, insuranceCompanyName, customerIdentity, contractIdentity, createdDate, declaredDate, lastSyncDate, processState, awaitedParts, awaitedUntil, requestId, responseId, attachments, dialogMessages, dialogReplyPending properties Added
  • Response
  • 200 response Modified
    • application/json content type Modified
      • items property Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
      • id, staffId, staffName, staffAvsNumber, domain, state, incidentDate, incapacityToWorkFrom, incidentScene, description, companyCaseId, insuranceCaseId, incidentCaseId, testCase, withoutContract, processByDistributor, insuranceCode, endUserInformation, detailInformation, insuranceId, insuranceCompanyName, customerIdentity, contractIdentity, createdDate, declaredDate, lastSyncDate, processState, awaitedParts, awaitedUntil, requestId, responseId, attachments, dialogMessages, dialogReplyPending properties Added
  • Path
  • incidentId path parameter Added
PUT /api-v1/pdf-template/batch
  • Path went from /api-v1/my-timesheet to /api-v1/pdf-template/batch (same operationId)
    Breaking
  • Verb went from POST to PUT (same operationId)
    Breaking
  • Body
  • application/json content type Modified
    • description, status, isBillable, id, date, startTime, endTime, time, clientId, clientName, orderId, orderName, taskId, taskName, isLocked properties Removed
      • Removing a resource is always breaking unless it was deprecated before
        Breaking
    • PdfTemplateRequest property Added
  • Response
  • 200 response Modified
    • application/json content type Modified
      • error, valid properties Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
      • items property Added
POST /api-v1/swissdec/salary-declaration/{calendarYear}
  • Query
  • testCase, substitute, domains query parameters Added
POST /api-v1/swissdec/organization-certificate/sign
  • Response
  • 200 response Modified
    • application/json content type Modified
      • processing, processingExpectedAvailability properties Added
POST /api-v1/swissdec/organization-certificate/renew
  • Response
  • 200 response Modified
    • application/json content type Modified
      • processing, processingExpectedAvailability properties Added
POST /api-v1/swissdec/organization-certificate/issue
  • Response
  • 200 response Modified
    • application/json content type Modified
      • processing, processingExpectedAvailability properties Added
POST /api-v1/swissdec/organization-certificate/import
  • Response
  • 200 response Modified
    • application/json content type Modified
      • processing, processingExpectedAvailability properties Added
POST /api-v1/swissdec/month-total-declaration/{calendarYear}/{month}
  • Query
  • testCase query parameter Added
POST /api-v1/swissdec/incidents
  • Path went from /api-v1/organization to /api-v1/swissdec/incidents (same operationId)
    Breaking
  • Body
  • application/json content type Modified
    • id, staffId, staffName, staffAvsNumber, domain, state, incidentDate, incapacityToWorkFrom, incidentScene, description, companyCaseId, insuranceCaseId, incidentCaseId, testCase, withoutContract, processByDistributor, insuranceCode, endUserInformation, detailInformation, insuranceId, insuranceCompanyName, customerIdentity, contractIdentity, createdDate, declaredDate, lastSyncDate, processState, awaitedParts, awaitedUntil, requestId, responseId, attachments, dialogMessages, dialogReplyPending properties Added
  • Response
  • 200 response Modified
    • application/json content type Modified
      • error, valid properties Removed
        • Removing a resource is always breaking unless it was deprecated before
          Breaking
      • id, staffId, staffName, staffAvsNumber, domain, state, incidentDate, incapacityToWorkFrom, incidentScene, description, companyCaseId, insuranceCaseId, incidentCaseId, testCase, withoutContract, processByDistributor, insuranceCode, endUserInformation, detailInformation, insuranceId, insuranceCompanyName, customerIdentity, contractIdentity, createdDate, declaredDate, lastSyncDate, processState, awaitedParts, awaitedUntil, requestId, responseId, attachments, dialogMessages, dialogReplyPending properties Added
POST /api-v1/organization
  • Path went from /api-v1/consolidated-organization to /api-v1/organization (same operationId)
    Breaking
  • Body
  • application/json content type Modified
    • name, mainLanguage, currency, fiscalYearStart, fiscalYearEnd, organizationIds, managingCompanyId, id properties Removed
      • Removing a resource is always breaking unless it was deprecated before
        Breaking
    • NewOrganizationRequest property Added
POST /api-v1/expenses/draft/upload
  • Path went from /api-v1/payslip/upload-source-tax-rates/{calendarYear} to /api-v1/expenses/draft/upload (same operationId)
    Breaking
  • Path
  • calendarYear path parameter Removed
    • Removing a resource is always breaking unless it was deprecated before
      Breaking
DELETE /api-v1/budget/{id}
  • Path went from /api-v1/allocations/{id} to /api-v1/budget/{id} (same operationId)
    Breaking
DELETE /api-v1/purchase-invoice-scan/{id}
  • Path went from /api-v1/payslip/{id} to /api-v1/purchase-invoice-scan/{id} (same operationId)
    Breaking
DELETE /api-v1/payslip/{id}
  • Path went from /api-v1/payroll/{id} to /api-v1/payslip/{id} (same operationId)
    Breaking
DELETE /api-v1/payroll/{id}
  • Path went from /api-v1/organization/{id} to /api-v1/payroll/{id} (same operationId)
    Breaking
DELETE /api-v1/organization/{id}
  • Path went from /api-v1/organization/currency-exchange/{id} to /api-v1/organization/{id} (same operationId)
    Breaking
DELETE /api-v1/organization/currency-exchange/{id}
  • Path went from /api-v1/orders/{id} to /api-v1/organization/currency-exchange/{id} (same operationId)
    Breaking
DELETE /api-v1/orders/{id}
  • Path went from /api-v1/my-expenses/{id} to /api-v1/orders/{id} (same operationId)
    Breaking
DELETE /api-v1/my-expenses/{id}
  • Path went from /api-v1/journal/{id} to /api-v1/my-expenses/{id} (same operationId)
    Breaking
DELETE /api-v1/journal/{id}
  • Path went from /api-v1/global/role/{id} to /api-v1/journal/{id} (same operationId)
    Breaking
DELETE /api-v1/global/role/{id}
  • Path went from /api-v1/fixed-assets/{id} to /api-v1/global/role/{id} (same operationId)
    Breaking
  • Query
  • date query parameter Removed
    • Removing a resource is always breaking unless it was deprecated before
      Breaking
DELETE /api-v1/fixed-assets/{id}
  • Path went from /api-v1/expenses/{id} to /api-v1/fixed-assets/{id} (same operationId)
    Breaking
  • Query
  • date query parameter Added
DELETE /api-v1/expenses/{id}
  • Path went from /api-v1/expenses/draft/{id} to /api-v1/expenses/{id} (same operationId)
    Breaking
DELETE /api-v1/expenses/draft/{id}
  • Path went from /api-v1/currency-exchange/{id} to /api-v1/expenses/draft/{id} (same operationId)
    Breaking
DELETE /api-v1/currency-exchange/{id}
  • Path went from /api-v1/budget/{id} to /api-v1/currency-exchange/{id} (same operationId)
    Breaking
Removed 8 Breaking
GET /api-v1/budget/report/{id}
  • Removing a resource is always breaking unless it was deprecated before
    Breaking
GET /api-v1/cash-flow/report
  • Removing a resource is always breaking unless it was deprecated before
    Breaking
GET /api-v1/contact-balance/report
  • Removing a resource is always breaking unless it was deprecated before
    Breaking
GET /api-v1/pl/report
  • Removing a resource is always breaking unless it was deprecated before
    Breaking
GET /api-v1/vacation/{type}/report
  • Removing a resource is always breaking unless it was deprecated before
    Breaking
POST /api-v1/document/upload
  • Removing a resource is always breaking unless it was deprecated before
    Breaking
POST /api-v1/payslip/{id}/copy-with-children
  • Removing a resource is always breaking unless it was deprecated before
    Breaking
POST /api-v1/vat/report
  • Removing a resource is always breaking unless it was deprecated before
    Breaking
Added 19
DELETE /api-v1/allocations/{id}
DELETE /api-v1/swissdec/incidents/{incidentId}/attachments/{attachmentId}
GET /api-v1/swissdec/institutions
GET /api-v1/swissdec/line-mapping
GET /api-v1/swissdec/salary-certificates/export
GET /api-v1/swissdec/salary-declaration
GET /api-v1/swissdec/salary-declaration/dispatch-options
GET /api-v1/swissdec/salary-declaration/{jobKey}/archive/{part}
GET /api-v1/swissdec/salary-declaration/{jobKey}/institutions/{domainStatusId}/archive/{part}
GET /api-v1/swissdec/salary-declaration/{jobKey}/institutions/{domainStatusId}/receipt
POST /api-v1/consolidated-organization
POST /api-v1/my-timesheet
POST /api-v1/swissdec/incidents/sync
POST /api-v1/swissdec/incidents/{incidentId}/attachments
POST /api-v1/swissdec/incidents/{incidentId}/declare
POST /api-v1/swissdec/incidents/{incidentId}/dialog/reply
POST /api-v1/swissdec/salary-declaration/{jobKey}/institutions/{domainStatusId}/dialog
POST /api-v1/swissdec/salary-declaration/{jobKey}/institutions/{domainStatusId}/dialog/reply
POST /api-v1/swissdec/salary-declaration/{jobKey}/institutions/{domainStatusId}/result