to get a personalized navigation.
to get a personalized navigation.
Hello,
I am trying to get a token for the v1/v2 endpoints, but when I use the scope value that you propose:
vismanet_erp_service_api:update vismanet_erp_service_api:create vismanet_erp_service_api:read vismanet_erp_service_api:delete
then I get the following error:
{"error":"invalid_scope"}
I have also tried the following values, but I get the same error:
vismanet_erp_service_api:read
visma_api:read
vismanet_erp_interactive_api:read
In the Visma Developer Portal I have set the following scopes:
vismanet_erp_service_api:create
However, when I use the following scope value I am able to successfully get a token:
visma.net.erp.salesorder:read
Do you know how to set the scope for the v1/v2 endpoints?
Hi, you can control your application in developer portal to see your ClientID and what integration had been connected with it.
Those are two different integrations that can be assigned to your ClientID (Application)
Developer Portal > My Applications > Choose your application that you'd like to generate token > Integrations >
Check Approved scopes with that integration and make sure you're only including them in generate token request with the ClientID that connected with that integration.
Thank you for your answer Yıldırım. Both integrations (and all scopes) were approved for our ClientID. However, it turned out that the "vismanet_erp_service_api" scopes still needed to be enabled for our TenantID. Doing this solved the problem, and I am now able to get tokens!
Copyright © 2022 Visma.com. All rights reserved.