User Profile
JUKKA BLOMQVIST
29
Posts
0
Kudos
1
Solution
30-12-2024
12:26
Still no luck with this. I was told to add Visma.net ERP Service API to my applications, which I did, and it is approved. Now, when trying to read customer, I'm getting Bad Request trying to connect https://connect.visma.com/connect/token - using same params as with salesorder api except scope. Any ideas?
... View more
18-12-2024
13:41
Where do I do that? I have only tried this:
... View more
16-12-2024
10:11
Now we got {"error":"invalid_scope"} using vismanet_erp_interactive_api:read?
... View more
12-12-2024
10:06
Actually it is StatusCode: 401, ReasonPhrase: 'Unauthorized'. Do I need some other login than the one we use when sending Salos Orders?
... View more
11-12-2024
19:09
Hello - not very successfull : {"ExceptionType":"IPPException","ExceptionMessage":"Invalid audience","ExceptionFaultCode":"12010","ExceptionMessageID":"12010_926a11a2-7e91-41fa-8e89-d7924529aaaa","ExceptionDetails":""}
... View more
11-12-2024
15:41
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}}
... View more
11-12-2024
15:23
Hi, I think this is what we need, thanks a lot. Whats the whole address to call api? Jukka
... View more
11-12-2024
09:47
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?
... View more
17-06-2024
14:13
I mean that the Client-ID (isv_prog_it******) is used in current production sending sales orders, and I'm trying to use the same ID with the new authentication.
... View more
14-06-2024
14:05
Hello, All those are checked and OK. I was wondering, if that I'M using that same client-id in current production, does it matter?
... View more
06-06-2024
11:31
I receive error ”Bad Request” {"error":"invalid_client"} with parameters above – on test site (all is OK). I have checkef client_secret and tenant ID are OK, so is client_id grant_type client_credentials scope visma.net.erp.salesorder:read client_id isv_prog_it****** client_secret ***hmn4JW5YggFtlV8PWgmkwTMIWt5XgIVN5X4fIOgi4UUACTSyBVFsj9GaQ98T tenant_id ******-21cc-11e9-b307-0aa512338dd6
... View more
03-01-2024
13:04
It seems to be OK, I think.
... View more
03-01-2024
12:30
It's a service to open Sales Order. Yes we we get credentials and so on ok, and it seems in App store OK also.
... View more
03-01-2024
12:08
Hello, We have two companies in Visma, one for test and other for production. Now we have tested new auth and sales order integration. Tests are now completed, and we opened a new application in Visma Store with current user id we use in old environment, as we did when testing (separate test user). How ever, we got "Unauthorized" when tried to do something. How and where we define what environment we use - I suppose problem is now that the new application also points to test application?
... View more
29-12-2023
09:17
I created a service api for customer for testing, and that works fine. Now I try to add it to production, craeted OK but stays in "pending" status. What's wrong?
... View more
28-12-2023
13:18
Hello, one more question - managed to add service, but it's in "pending" status for hours - am I still missing some credentials or is this just slow?
... View more
28-12-2023
09:07
I cannot access App store, how can I check my rights, it says Users with administrative rights can manage applications permissions to access organization data. I have published one test application there and we should set ti to production.
... View more
21-12-2023
10:40
Hello, Finally managed to get all working! Still one more question, how do I get a list of non-stock-items? I tried with/w-o the warehouse id api/v3/Inventory, but gives me a list of "normal" items (we have only one for test purposes..)?
... View more
19-12-2023
09:13
That gave us "Order Type requires (manually generated) Order-Id" - what's the right type?
... View more
18-12-2023
15:25
Hello again, Problem solved, we defined answer as a class including contactID, and that's why it failed. Took away from definition and problem solved. How ever, we still have this "InventoryId cannot be found or is invalid" because we are using non-stoc items, I suppose. Any ideas how to tacle that?
... View more
18-12-2023
14:36
Hello, We also noted, that since we are using non-stock items, lines get rejected "inventoryitem xxx not found. This works in our current v1. I didn't find how to attach files, so here it is as pasted text.. {"type":"SO","orderId":"300010905","currencyId":null,"date":"2023-12-14T00:00:00","requestOn":"0001-01-01T00:00:00","cancelBy":"0001-01-01T00:00:00","description":"Prog-It testi","status":"Open","customer":{"id":"10001","contactId":0,"order":"10905","refNo":null,"locationId":null,"termsId":null,"gln":null},"print":null,"shipping":{"scheduledDate":"0001-01-01T00:00:00","shipSeparately":false,"rule":null,"address":null,"contact":{"name":"JSC Tehnoinform","attention":null,"phone1":null,"email":null},"preferredWarehouseId":null,"intrastatTransactionTypeId":0,"shipViaId":null,"residentialDelivery":false,"saturdayDelivery":false,"insurance":false,"priority":0,"zoneId":null,"fobPointId":null,"termsId":null},"billing":null,"financialInformation":null,"ownerId":null,"orderLines":[{"inventoryId":"1737","description":"Coated Paper Stocklot","unitOfMeasure":"TN","shippingRule":null,"quantity":23.762,"unitCost":0.0,"unitPrice":855.000,"externalLink":null,"warehouseId":null,"reasonCode":null,"taxCategoryId":null,"undershipThreshold":0,"overshipThreshold":100,"shipDate":"0001-01-01T00:00:00","requestDate":"0001-01-01T00:00:00","salesAccountId":null,"subaccount":null,"note":"Coated Paper Stocklot, 35 RO, 0 PX, 23762 KG NET/23762 KG GROSS, 48101300 CUSTOM CODE","discountCode":null,"discountPercent":0,"discountAmount":0,"hasManualDiscount":false,"warehouseLocationId":null,"operation":null,"hasManualPrice":true,"branchId":null,"commissionable":false,"salesPersonId":null,"purchaseOrderSource":null,"supplierId":null,"supplierPrice":0,"projectTaskId":null}],"taxZoneId":null,"note":null,"paymentSettings":null,"useReplacementCostForMarginAndProfit":false,"freight":null,"branchId":null,"originalOrderType":null,"originalOrderId":"10905","salesPersonId":null,"projectId":null}
... View more
18-12-2023
13:11
When we post SalesOrder we get error "Invalid Customer Contact, or Customer Contact not found". We have lots of customers without contact and we do not want to open a contact to all customers. How we can bypass this error?
... View more
15-12-2023
17:07
When we send Salesorder, all lines have a unit price when we send order. All other fields both on order and lines seems to be correct, but unitprice is 0 at lines, any ideas why?
... View more
13-12-2023
12:31
Thats the problem, I can open salesorder for the same customer I have in API with different currency, and get list of contacts there too. I get rid of the currency error if I remove currency-item from API-message (Customer update shows that currency change is allowed..), with the contacts I can't find the id (integer in schema), just the name.
... View more
13-12-2023
09:18
Is there a place where SalesOrder API error messages are explained? I have two error messages, which I do not know how to solve. Messages are "Invalid Customer Contact, or Customer Contact not found" and "Currency Id can not be overridden"
... View more
12-12-2023
14:38
We are using v1 of salesorder. Is that supported with new authentication? Does it have any end-of-lifetime?
... View more
12-12-2023
11:38
All those are OK, the problem was wrong scope, somehow I thought that "write" would include "read", but do not. So problem solved!
... View more
11-12-2023
10:21
We are testing new authetication to our customer. Authentication is OK and works, but we request e.g https://salesorder.visma.net/api/v3/Customers we get 403-forbideen. same happens with salesorder, or trying to get individual customer. Checked our access and they seems to be ok. What could be the issue, since it worked on last friday? Prog-It Oy jukka.blomqvist@prog-it.net
... View more
26-05-2023
14:45
I Made a new service based app in developer portal. Auth fails to error "invalid scope" - I belive because of missing Tenant Id. How do I create one?
... View more
Activity Feed for JUKKA BLOMQVIST
- Posted Re: Salesorder API Customer update on Forum in Developers Visma.net. 30-12-2024 12:26
- Posted Re: Salesorder API Customer update on Forum in Developers Visma.net. 18-12-2024 13:41
- Posted Re: Salesorder API Customer update on Forum in Developers Visma.net. 16-12-2024 10:11
- Posted Re: Salesorder API Customer update on Forum in Developers Visma.net. 12-12-2024 10:06
- Posted Re: Salesorder API Customer update on Forum in Developers Visma.net. 11-12-2024 19:09
- Posted Re: Salesorder API Customer update on Forum in Developers Visma.net. 11-12-2024 15:41
- Posted Vastaus: Salesorder API Customer update on Forum in Developers Visma.net. 11-12-2024 15:23
- Posted Salesorder API Customer update on Forum in Developers Visma.net. 11-12-2024 09:47
- Posted Re: Problem trying to read salesorders on Forum in Developers Visma.net. 17-06-2024 14:13
- Posted Re: Problem trying to read salesorders on Forum in Developers Visma.net. 14-06-2024 14:05
- Posted Problem trying to read salesorders on Forum in Developers Visma.net. 06-06-2024 11:31
- Posted Re: Change from test to production on Forum in Developers Visma.net. 03-01-2024 13:04
- Posted Re: Change from test to production on Forum in Developers Visma.net. 03-01-2024 12:30
- Posted Change from test to production on Forum in Developers Visma.net. 03-01-2024 12:08
- Posted Service app status pending on Forum in Developers Visma.net. 29-12-2023 09:17
- Posted Re: Cannot access Visma App Store on Forum in Developers Visma.net. 28-12-2023 13:18
- Posted Cannot access Visma App Store on Forum in Developers Visma.net. 28-12-2023 09:07
- Posted Re: SalesOrder customer contact v3 on Forum in Developers Visma.net. 21-12-2023 10:40
- Posted Re: SalesOrder customer contact v3 on Forum in Developers Visma.net. 19-12-2023 09:13
- Posted Re: SalesOrder customer contact v3 on Forum in Developers Visma.net. 18-12-2023 15:25