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 Box Operations
To use the Box connector, add the <box.init>
element in your configuration before carrying out any other Box operations. Box uses OAuth 2 for authentication. An authorization header containing a valid access_token
must be included in every request. The access token should be generated from the Box account with the 'manage an enterprise' scope enabled. For more information on obtaining an access token see http://developers.box.com/oauth/.
init
<box.init> <accessToken>{$ctx:accessToken}</accessToken> <apiUrl>{$ctx:apiUrl}</apiUrl> <fields>{$ctx:fields}</fields> </box.init>
Properties
accessToken:
Whether to use a service account.apiUrl:
The URL of the Box API. If not provided, it is set to 'https://api.box.com'.fields:
The fields that should be returned (does not apply to delete methods).
Now that you have connected to Box, use the information in the following topics to perform various operations with the connector.