Sync

Get sync status

Gets a list of sync statuses.

get/meta/companies/{companyId}/sync/commerce/status

Path parameters

companyIdstring uuid required

Unique identifier for your SMB in Codat.

Example:8a210b68-6988-11ed-a1eb-0242ac120002

Unique identifier for a company.

Response

Success

companyIdSchema — unresolved $ref
commerceSyncIdstring guid

Unique identifier for the sync in Codat.

syncIdstring uuid

Unique identifier for the sync in Codat.

syncStatusCodeinteger

Numerical status code sync of the company data.

syncStatusstring nullable

Status of the sync of the company data. This is linked to status code.

errorMessagestring nullable

Friendly error message for the sync operation.

syncExceptionMessagestring nullable

Exception message for the sync operation.

syncUtcCreated — unresolved $ref
dataPushedboolean

Boolean indicator for data being pushed during a sync operation.

Changes

Changed in 9 of the 52 revisions of this API.5322

    • the response property dataConnections/items/integrationKey became optional for the status 200

      response-property-became-optional

    • the response property dataConnections/items/dataConnectionErrors became nullable for the status 200

      response-property-became-nullable

    • the response property dataConnections/items/connectionInfo became nullable for the status 200

      response-property-became-nullable

    • the response property dataConnections/items/lastSync became nullable for the status 200

      response-property-became-nullable

    • removed the optional property dataConnections/items/additionalProperties from the response with the 200 status

      response-optional-property-removed

    • added the optional property dataConnections/items/dataConnectionErrors/items/resolvedOnUtc to the response with the 200 status

      response-optional-property-added

    • added the optional property dataConnections/items/dataConnectionErrors/items/status to the response with the 200 status

      response-optional-property-added

    • added the optional property validation to the response with the 401 status

      response-optional-property-added

    • added the optional property validation to the response with the 402 status

      response-optional-property-added

    • added the optional property validation to the response with the 403 status

      response-optional-property-added

    • added the optional property validation to the response with the 404 status

      response-optional-property-added

    • added the optional property validation to the response with the 429 status

      response-optional-property-added

    • added the optional property validation to the response with the 500 status

      response-optional-property-added

    • added the optional property validation to the response with the 503 status

      response-optional-property-added

    • added the new Expense enum value to the dataConnections/items/sourceType response property for the response status 200

      response-property-enum-value-added

    • added the new BankFeed enum value to the dataConnections/items/sourceType response property for the response status 200

      response-property-enum-value-added

  • 83c1801e91f7113See the full diff
    • the response's body type/format changed from / to object/ for status 404

      response-body-type-changed

    • added the non-success response with the status 401

      response-non-success-status-added

    • added the non-success response with the status 402

      response-non-success-status-added

    • added the non-success response with the status 403

      response-non-success-status-added

    • added the non-success response with the status 429

      response-non-success-status-added

    • added the non-success response with the status 500

      response-non-success-status-added

    • added the non-success response with the status 503

      response-non-success-status-added

    • removed the non-success response with the status 400

      response-non-success-status-removed

    • added the optional property canBeRetried to the response with the 404 status

      response-optional-property-added

    • added the optional property correlationId to the response with the 404 status

      response-optional-property-added

    • added the optional property detailedErrorCode to the response with the 404 status

      response-optional-property-added

    • added the optional property error to the response with the 404 status

      response-optional-property-added

    • added the optional property service to the response with the 404 status

      response-optional-property-added

    • added the optional property statusCode to the response with the 404 status

      response-optional-property-added