So in our integration we sync SalesPersons, Customer, and Locations and try to connect these so a SalesPerson will be able to create orders only for a location he is set to in Visma.
There is usually references by number in the api, but the references in the SalesPerson endpoint uses the internal id.
For customer that is fine, since it can be fetched when syncing customers.
But the Location endpoint does not provide the internal id for it, so we have to match it by customerid + location name.
Is it possible to either have the customer number / location id as a reference when getting salesperson (which I think would be more consistent with the rest of the API), or be able to get the internalId for the location when using the Location endpoint?
Solved! Go to Solution.
Copyright © 2022 Visma.com. All rights reserved.