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/.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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/.

init
<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.

  • No labels