Skip to content
Snippets Groups Projects
Commit 1ca033ed authored by Patrik Paško's avatar Patrik Paško
Browse files

Merge branch 'UpdateOldApiLinkWithNew' into 'develop'

Update old URL of API to the current one

See merge request digital-twin/twinzo/tdevkit!36
parents 88db6332 3bc460f8
No related branches found
No related tags found
No related merge requests found
using SDK; using SDK;
using SDK.Communication; using SDK.Communication;
using SDK.Models; using SDK.Models;
using System; using System;
...@@ -28,7 +28,7 @@ namespace Main ...@@ -28,7 +28,7 @@ namespace Main
// Define connection options with specific credentials and client identifiers // Define connection options with specific credentials and client identifiers
ConnectionOptionsBuilder optionsBuilder = new ConnectionOptionsBuilder(); ConnectionOptionsBuilder optionsBuilder = new ConnectionOptionsBuilder();
ConnectionOptions connectionOptions = optionsBuilder ConnectionOptions connectionOptions = optionsBuilder
.Url("https://twin.rtls.solutions/api/") .Url("https://api.platform.twinzo.eu/")
.Client(ClientName) .Client(ClientName)
.ClientGuid(ClientGuid) .ClientGuid(ClientGuid)
.BranchGuid(BranchGuid) .BranchGuid(BranchGuid)
......
...@@ -22,7 +22,7 @@ The first thing you need to do is create the base object by which the functional ...@@ -22,7 +22,7 @@ The first thing you need to do is create the base object by which the functional
```c# ```c#
ConnectionOptionsBuilder optionsBuilder = new ConnectionOptionsBuilder(); ConnectionOptionsBuilder optionsBuilder = new ConnectionOptionsBuilder();
ConnectionOptions connectionOptions = optionsBuilder ConnectionOptions connectionOptions = optionsBuilder
.Url("https://twin.rtls.solutions/api") .Url("https://api.platform.twinzo.eu/")
.Client("YourClient") .Client("YourClient")
.BranchGuid("YourBranchGuid") .BranchGuid("YourBranchGuid")
.Timeout(1000) .Timeout(1000)
...@@ -32,6 +32,8 @@ ConnectionOptions connectionOptions = optionsBuilder ...@@ -32,6 +32,8 @@ ConnectionOptions connectionOptions = optionsBuilder
DevkitConnectorV3 devkitConnector = (DevkitConnectorV3) DevkitFactory.CreateDevkitConnector(connectionOptions); DevkitConnectorV3 devkitConnector = (DevkitConnectorV3) DevkitFactory.CreateDevkitConnector(connectionOptions);
``` ```
You can find api links at: https://twinzo.atlassian.net/wiki/spaces/PUBD/pages/72712207/Basics.
Through the `DevkitConnectorV3` object are accessible all the functions implemented in tDevkit. As of **V3**, Most of the functionality is ready to be used after specifying the Api Key in `ConnectionOptions` object. However, there is a small number of functions you need to be authenticated for due to their nature. These functions are mentioned in the Through the `DevkitConnectorV3` object are accessible all the functions implemented in tDevkit. As of **V3**, Most of the functionality is ready to be used after specifying the Api Key in `ConnectionOptions` object. However, there is a small number of functions you need to be authenticated for due to their nature. These functions are mentioned in the
[Full list of functions](#full-list-of-functions) section. [Full list of functions](#full-list-of-functions) section.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment