[ad_1]
I have a sandbox account @fortnox and connects to my account with token/secret, write/update and new post/value works, but how do I get a value?
As example from the SDK
Private Sub Button5_Click(sender As Object, e As EventArgs) Handles Button5.Click
Dim connector As ArticleConnector = New ArticleConnector()
connector.ClientSecret = "*******"
connector.AccessToken = "********"
connector.Update(New Article() With .ArticleNumber = TextBox3.Text, .Description = TextBox4.Text)
End Sub
This above, updates the Article.. and "connector.Delete(TextBox3.Text)" will delete an article with the ID put in textbox3.
Fortnox supportpage shows this is the way to get a value..
Dim connector As ArticleConnector = New ArticleConnector
connector.ClientSecret = "*******"
connector.AccessToken = "*******"
connector.Get(TextBox3.Text)
This will get the Article with the ID put in textbox 3, yes but how to get the values??? It should contains a lot of values.. like description, ean, quantity..
Please help! solution in VB.net or C# or anything
[ad_2]
لینک منبع