To use the Xero connector, add the <xero.init>
element in your configuration before carrying out any other Xero operations.
Xero has three types of API applications: Private, Public and Partner. For more information on the API application types and the authentication used in each API application type, see http://developer.xero.com/documentation/getting-started/api-application-types/.
<xero.init> <consumerKey>{$ctx:consumerKey}</consumerKey> <accessToken>{$ctx:accessToken}</accessToken> <accessTokenSecret>{$ctx:accessTokenSecret}</accessTokenSecret> <apiUrl>{$ctx:apiUrl}</apiUrl> <consumerSecret>{$ctx:consumerSecret}</consumerSecret> <acceptType>{$ctx:acceptType}</acceptType> </xero.init>
Properties
consumerKey:
The consumer key of the created application.accessToken:
The generated access token.accessTokenSecret:
The generated access token secret.apiUrl:
The API URL of Xero.consumerSecret:
The consumer secret of the created application.acceptType:
The required response type to be returned.
Now that you have connected to Xero, use the information in the following topics to perform various operations with the connector. After you have completed your configurations, see Testing the Xero Integration.