Authorization

POST /api/v1/Authorization/Token

This method is used to get the Token value required to use all Methods. Each Token created is valid for 15 minutes.

Parameters Required Type Description
clientCode Evet Integer clientCode will be forwarded by us.
username Evet String The User Name will be transmitted by us.
password Evet String The password will be sent by us.
Parameters Type Description
userId String User's IDs
expireAt DateTime Token validity period
expiresIn String Duration of the token
accessToken String Token
refreshToken String When the token expires, it is used to buy a new token.
accountId String accountIds
resultInfo Object State Information Object
isSuccess boolean Success status
code String Code
description String Description
message String Message
innerInfo String Inner Info
mapCodeForLastUser String -
statistics String -
{
    "clientCode": "10738",
    "username": "test",
    "password": "test"
}
{
    "resultObject": {
        "userId": "1129",
        "expireAt": "2024-08-13T14:34:39.0157266+03:00",
        "tokenType": "Bearer",
        "expiresIn": 1200,
        "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm
                9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9oYXNoIjoiMWdKLzg5ZEZNVGdVanJmd
                HBncU1QenRnM0Z2b2EvdnRja0w2Vis0Rzhzbz0iLCJodHRwOi8vc2NoZW1hcy5taWNyb3Nv
                ZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3VzZXJkYXRhIjoiSHdaQnhpTzl
                xdWFpc3lrdUpBY1VQMVIyMDMyMmdoMHZFb2xrMWx2eWNXTTJUeE5YQyt4ZWd5dU54RUFvMG
                Q3cTJDNlh6M1Y0QjMvbmp3M2VqcVlzYUJHem4ydER0dkFQMTdPdjR0c1JrYSsvcTRRQVJzZ
                lplVHBBWlY3MGcxbnRsMWFDVHdZalBVeTV6bENkWFR4azF4S05YeG9yV0JjWlBoZlhqc0hh
                Rk9zV3FiNk5zWlB0S0V4cDdGZi96TjRLZDNDUzczY3JEMXpaeHhocHhrMzBnakJHNDRsbTV
                2d01GTTcyaHVZL2JFS1FwYlpvazZEZHJVYnFNZ3o3V0phZ1FwNFl1c3lWUFRUNTk1ZFVHa0
                QrdzFxMWJubVFJUFlwYUlweTVFcTJJL009IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vc
                mcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvZG5zIjoiUDBIYTdRRk9vVU5lcGt5Zmh0
                VHlrQnRUWVFJT01UbGlqY1FtbEhvZkFYOD0iLCJuYW1laWQiOiJqZitiVGl6RmV4MkJLUWx
                UbUNVL2l3PT0iLCJuYmYiOjE3MjM1NDc2NzksImV4cCI6MTcyMzU0ODg3OSwiaWF0IjoxNz
                IzNTQ3Njc5LCJpc3MiOiJodHRwczovL3Rlc3RlbWFwaS5wYXJhbS5jb20udHIiLCJhdWQiO
                iJodHRwczovL3Rlc3RlbWFwaS5wYXJhbS5jb20udHIifQ.vXLYE731vL26jTSeOs97f7VWW
                3n39WKfSbA5rkV_WJE",
        "refreshToken": "3UiQFIK5ERYrTBb/fAHXBM1q9BITzT5kxjF9HUQHhh0=",
        "accountId": "b23c002c-1f35-4dda-a1cf-d447489e2e66"
    },
    "resultInfo": {
        "isSuccess": true,
        "code": "0000",
        "description": "Successed",
        "message": "",
        "innerInfo": null,
        "mapCodeForLastUser": null,
        "statistics": null
    }
}