This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Configuring TSheets Operations

To use the TSheets connector, add the <tsheets.init> element in your configuration before carrying out any other TSheets operations. 

TSheet uses OAuth 2 for authentication and authorization of the API. For more information on authentication, see http://developers.tsheets.com/docs/api/authentication.

init
<tsheets.init>
    <accessToken>{$ctx:accessToken}</accessToken>
	<apiUrl>{$ctx:apiUrl}</apiUrl>
</tsheets.init>
Properties 
  • accessToken: Refers to the generated access token.
  • apiUrl: The API URL of TSheets.

Configuring the operations

Now that you have connected to TSheets, use the information in the following topics to perform various operations with the connector.