My Products
Help
JUKKA BLOMQVIST
CONTRIBUTOR ***

Salesorder API Customer update

by JUKKA BLOMQVIST

Hello,

 

We are using Salesorder API Customer update to update our local customer base. In this new version there is no modifieddate fiield, so gow we know if a customer has been updated?

10 REPLIES 10
JUKKA BLOMQVIST
CONTRIBUTOR ***

by JUKKA BLOMQVIST

Hi, I think this is what we need, thanks a lot. Whats the whole address to call api?

 

Jukka

Marten Voort
VISMA

by Marten Voort

Hi Jukka, unfortunately this field is not available. If you need to update customers based on changes, you can use Visma net generic API https://integration.visma.net/API-index/ or use webhooks. Let us know if this answers your question.

JUKKA BLOMQVIST
CONTRIBUTOR ***

by JUKKA BLOMQVIST

Hi, Do I have riht address?, got answer :{StatusCode: 302, ReasonPhrase: 'Found : Moved Temporarily', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:{ Connection: close Pragma: no-cache Cache-Control: no-cache Location: https://www.visma.net/controller/api/v1/customer}}

Marten Voort
VISMA

by Marten Voort

You should use https://integration.visma.net/API/controller/api/v1/customer to get the right result. Can you try this?

JUKKA BLOMQVIST
CONTRIBUTOR ***

by JUKKA BLOMQVIST

Now we got {"error":"invalid_scope"} using vismanet_erp_interactive_api:read?

Marten Voort
VISMA

by Marten Voort

Hi Jukka, Is the scope added to you app? You should enable the scope AND use it in the authorization request to be able to use it.

JUKKA BLOMQVIST
CONTRIBUTOR ***

by JUKKA BLOMQVIST

Where do I do that? I have only tried this:

JUKKABLOMQVIST_0-1734525679398.png

 

Marten Voort
VISMA

by Marten Voort

Hm this should work, in this case I suggest to seek advice from your country specific support. They can guide you in more in depth detail https://community.visma.com/t5/Forum-in-Developers-Visma-net/Update-on-Visma-net-ERP-API-Support-cha...

JUKKA BLOMQVIST
CONTRIBUTOR ***

by JUKKA BLOMQVIST

Hello - not very successfull : {"ExceptionType":"IPPException","ExceptionMessage":"Invalid audience","ExceptionFaultCode":"12010","ExceptionMessageID":"12010_926a11a2-7e91-41fa-8e89-d7924529aaaa","ExceptionDetails":""}

JUKKA BLOMQVIST
CONTRIBUTOR ***

by JUKKA BLOMQVIST

Actually it is StatusCode: 401, ReasonPhrase: 'Unauthorized'. Do I need some other login than the one we use when sending Salos Orders?