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 Producteev Operations
To use the Producteev connector, add the <producteev.init>
element in your configuration before carrying out any other Producteev operations.
A client ID and secret are required for authentication purposes. For more information, see https://www.producteev.com/api/doc/#AuthenticationOAuth20Flows.
<producteev.init> <accessToken>{$ctx:accessToken}</accessToken> <apiUrl>{$ctx:apiUrl}</apiUrl> </producteev.init>
Properties
accessToken:
OAuth Token to read and manipulate data of the Producteev account.apiUrl:
The base end point URL of the Producteev API.
Note
<producteev.getAccessTokenFromAuthorizationCode> <apiUrl>{$ctx:apiUrl}</apiUrl> <authorizationCode>{$ctx:authorizationCode}</authorizationCode> <redirectUrl>{$ctx:redirectUrl}</redirectUrl> </producteev.getAccessTokenFromAuthorizationCode>
Properties
The base end point URL of the Producteev API.apiUrl:
Authorization code to be used to obtain the access token.authorizationCode:
Redirect URL to be used in the OAuth 2.0 authorization flow.redirectUrl:
Following is a sample REST/JSON request that can be handled by the getAccessTokenFromAuthorizationCode
operation.
{ "apiUrl": "https://www.producteev.com", "authorizationCode": "MDBjZTFjNDJlZjQwZDFiNmYwMTlkMjU2NmEyMzc3MzY1MzY1N2RhYWMwYjk4OTM1M2M2YjE3ZmQ1OTQxYzMxNQ", "redirectUrl": "https://krishantha.net/notes/" }
Related Producteev documentation
https://www.producteev.com/api/doc/#AuthenticationOAuth20Flows
<producteev.getAccessTokenFromRefreshToken> <apiUrl>{$ctx:apiUrl}</apiUrl> </producteev.getAccessTokenFromRefreshToken>
Properties
The base end point URL of the Producteev API.apiUrl:
Following is a sample REST/JSON request that can be handled by the getAccessTokenFromRefreshToken
operation.
{ "apiUrl": "https://www.producteev.com" }
Related Producteev documentation
https://www.producteev.com/api/doc/#AuthenticationOAuth20Flows
Now that you have connected to Producteev, use the information in the following topics to perform various operations with the connector.