Generate Token

Link: {Base_Url}/api/Account/Generatetoken

Method Type: POST

Content Type: Application/Json

Description: Returns an access token to use as a header key of other APIs if used the OAuth2 authentication. (This code will activate for 15 minutes only)

Request object:

FieldRequiredTypeDescription

AccountCode

Yes

string
The code Id of your account

Password


Yes

string
The password that got it from the Availo team

Sample Request:
Graphical user interface, text, application, email  Description automatically generated

Response object:

FieldRequiredtypeDescription

Data.accessToken

Yes

string

The access token that needs to use as a header key of the otherAPIs

status

Yes

bool

If the request is a success or not

message

No

string

The error message that returns from the request

Sample Response:
Graphical user interface, text, application  Description automatically generated

الجيل الجديد من أنظمة الحضور والانصراف، الذي يوفر لك كفاءة عالية في إثبات حضور الموظفين

الروابط السريعة

تواصل معنا

أحد منتجات شركة T2

2022 جميع الحقوق محفوظة