Avalara Developer Network Developer trustFile

Trustfile - Connector - Methods

Method Purpose Summary
DeleteConnection Delete a Connection

Deletes the connection from the database given the connectionId and stops syncing data from it.

GetBadItems Retrieve Bad Items

The connector should identify items that it receives that do not match the schema required by TrustFile.

GetConnectionActivities Get Activity Logs for Connection

Returns a log of all activities up to a max of 365 days.

GetConnectionAuthenticate Authenticate with Connection

Redirects user to the connection authentication.

GetConnectionDetail Get a Connection
  • Returns the status and other information about the connection identified by ‘connectionId’
  • Enabled connections will process data periodically if authorized
  • Authorized connections are authenticated with the host integration system (paypal, amazon.
GetConnections Get List of Connections

Returns list of connectionId’s of the given enabled state.

GetConnector Get Status of a Connector


GetConnectorHealth Get Connector Health
  • Health check for connector, used for monitoring
  • Monitors verify all statuses report OK, or the health check will fail.
GetErrors Get Connector Errors


HeadConnectionDetail Determine if Connection Exists


PostConnection Create a Connection

This will create a connection with the posted connectionId and startDate.

PutConnection Update a Connection


PutConnector Enable/Disable Connector

Based on the ‘enabled’ query param, disables or enables the connector.