|
# Portal API
|
|
# Portal API
|
|
|
|
|
|
The [portal.robotsindeklas.nl](https://portal.robotsindeklas.nl)
|
|
The [portal.robotsindeklas.nl](https://portal.robotsindeklas.nl) provides a public API that can be used to automate certain tasks, e.g. creating new users and sharing standardized apps with them.
|
|
provides a public API that can be used to automate certain tasks, e.g. creating new users and sharing standardized apps with them.
|
|
|
|
|
|
|
|
## 1. Introduction
|
|
## 1. Introduction
|
|
|
|
|
... | @@ -20,11 +19,35 @@ The base URL for our REST API calls looks like this: |
... | @@ -20,11 +19,35 @@ The base URL for our REST API calls looks like this: |
|
https://portal.robotsindeklas.nl/API/v1
|
|
https://portal.robotsindeklas.nl/API/v1
|
|
```
|
|
```
|
|
|
|
|
|
### 2.2 Requesting token
|
|
### 2.2 Request methods
|
|
|
|
Please note that you should use the POST method for your request unless indicated otherwise.
|
|
|
|
|
|
### 2.3 Parameters
|
|
### 2.3 Parameters
|
|
|
|
The parameters for the requests should be defined in the body of the request in JSON format.
|
|
|
|
|
|
|
|
### 2.4 Requesting token
|
|
|
|
|
|
|
|
```
|
|
|
|
https://portal.robotsindeklas.nl/API/v1/auth/getToken
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
{
|
|
|
|
"username": "USERNAME",
|
|
|
|
"password": "PASSWORD",
|
|
|
|
"domain": "DOMAIN"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
Example:
|
|
|
|
```
|
|
|
|
{
|
|
|
|
"username": "Pietje",
|
|
|
|
"password": "Password123!",
|
|
|
|
"domain": "API School"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
### 2.4 Request methods
|
|
|
|
|
|
|
|
### 2.5 Items
|
|
### 2.5 Items
|
|
|
|
|
... | | ... | |