It's very easy to get started using the API. API is not available in all subscription plans and contact sales to set up your API access and obtain instructions.
The system will generate an API token for you and this token must be used in every call to the API.
The token is then used with each API query as follows:
$ curl -i --header "VERSACCOUNTS_AUTHORIZATION:22286b468a29e076b0263003bb4cf05be05dd555" https://api_host/v1/organization_gl_account.xml
This command would return:
<?xml version="1.0" encoding="UTF-8"?> <organization_gl_accounts> <organization_gl_account> <id>37195</id> <parent_organization_gl_account_id>10277</parent_organization_gl_account_id> <gl_account> <id>9171</id> <name>Amo
API token needs to be rewnewed once a year and you will get a reminder to renew your token when the time comes.
Comments and Suggestions
0 comments
Please sign in to leave a comment.
Related articles