Create a WebApi-Session.
The maximum number of concurrent WepApiSessions per remote IP-Address is defined by the configuration parameter webapi.max.sessions.per.ip.
API version
1.0
Working example URL: https://en.onlinedemo.picapport.de/picapportapi/1.0/createWebApiSession
Parameter
Name | Type | Since version | Required | Value(s) |
---|---|---|---|---|
apikey | string | 7.4 | depends on webapi.apikey parameter | Only required if the webapi.apikey parameter is set in picapport.properties. Only clients with a valid apikey can access the webapi-functions. |
Result
mime type | application/json |
---|---|
content | Session token to identify the current session and public key to encrypt password. |
http status codes |
|
Result:JSON
Name | Type | Since version | Value | |
---|---|---|---|---|
apisid | string | 7.4 | yes | WebAPI Session-ID required in some WebApi functions |
authorised | boolean | 7.4 | yes | true if session is already authorised. |
algorithm | string | 7.4 | yes | The following values are supported:
|
exponent | string | 7.4 | yes | Only provided if algorithm=RSA (required for client side password encryption) |
modulus | string | 7.4 | yes | Only provided if algorithm=RSA (required for client side password encryption) |