API reference · SoftwareOne ExtensionsPOST /api/extensions/softwareone/sync
Sync SoftwareOne data Triggers the SoftwareOne aggregate sync placeholder. The current handler accepts optional syncAgreements and syncStatements booleans, waits briefly to simulate work, and returns dummy counts and a syncedAt timestamp. A full implementation will validate permissions, derive tenant context, connect to the SoftwareOne API, and persist agreement and statement data.
Request body Content type: application/json · schema SoftwareOneSyncRequest
fullSync boolean
Optional future full-sync flag. Currently ignored by the MVP handlers.
syncStatements boolean
Optional future statement sync flag. Currently ignored by the MVP handlers.
syncAgreements boolean
Optional future agreement sync flag. Currently ignored by the MVP handlers.
Response body Success response 200 · schema SoftwareOneFullSyncResponse
success boolean Required
Sync request completed successfully.
Enum: true
message string Required
Human-readable sync result message.
agreementsCount integer Required
Number of agreements synced. Zero when syncAgreements is false.
statementsCount integer Required
Number of statements synced. Zero when syncStatements is false.
syncedAt string <date-time> Required
ISO timestamp when the dummy sync completed.
Response codes 200
Sync placeholder completed successfully with dummy counts.
401
API key missing at middleware before the handler executes.
500
Unexpected failure while syncing SoftwareOne data.