Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
png
api_key_example.png 21.8 kB 1 07-May-2020 10:25 moghaddam
png
okit_operator_api_key.png 39.3 kB 1 07-May-2020 10:25 moghaddam

This page (revision-4) was last changed on 10-Jun-2020 12:31 by krause  

This page was created on 07-May-2020 10:19 by moghaddam

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 7 added 39 lines
[{Image src='okit_operator_api_key.png' align='center' }]
The steps are as follows:
#Create a token for an application in OKIT Accounting
**Go to booked application tab
**Select an application and press “API Token” button
**Create a new token by inserting “Remote Application”. This is just name which maybe used internally for the user
#Pass the 'generated token', 'client prefix', and 'application prefix' to the third party application. You can find the client prefix and application prefix in the OKIT Accounting UI.
#Now third party application can make a GET request to OKIT Operator with the above information as:
** {{{GET https://agile.okit.de/OKIT.Operator.Api/api/tokenvalidator?token=A&applicaiontPrefix=B&clientPrefix=C}}}
#The result of the endpoint would be:
{{{
{
“valid”:true,
“message”:”Token is valid”
}
}}}
or
{{{
{
“valid”:false,
“message”:”Token is not valid”
}
}}}
!Example
Imagine OKIT has an SMS API App that can send an SMS and we want to grant access to client BlaBla to be able to send SMS via API tokens.
* The first step is registering this SMS API APP in OKIT Accounting by defining an application. Now this service can be offered to any client.
* The next step is creating an API token for client BlaBla and for the application “SMS API APP”.
* Now the token and client prefix (BlaBla should know this) can be passed to the client BlaBla. There is no need to send the application prefix to the client, as we should set it internally into SMS APl APP.
* Now that cline BlaBla has all the information, it can connect and send a request to SMS API. SMS API internally will check the validity of a token and either accepts or rejects the request.
[{Image src='api_key_example.png' align='center' }]
Version Date Modified Size Author Changes ... Change note
4 10-Jun-2020 12:31 2.238 kB krause to previous Apitoken ==> API Token
3 10-Jun-2020 12:30 2.238 kB krause to previous | to last
2 07-May-2020 10:34 2.232 kB moghaddam to previous | to last
1 07-May-2020 10:19 0.451 kB moghaddam to last
« This page (revision-4) was last changed on 10-Jun-2020 12:31 by krause  
G’day (anonymous guest) User Preferences


Verwendet in
...nobody
JSPWiki v2.11.0-M3