v1

latestOpenAPI 3.0.42026-07-14475158859.0 KB
AppUser

login

post/api/users/login

Request body

usernamestring nullable

username

passwordstring nullable

password

clientAppNamestring nullable

Client App Name

languagestring nullable

Client Language

Example request

{
  "username": "email@domain.com",
  "password": "Test!123",
  "clientAppName": "Swashbuckle UI Client",
  "language": "fa-IR"
}

Response

OK

sessionIdstring uuid

Session Id

tokenstring nullable

Security Token

Example response

{
  "user": {
    "username": "test",
    "email": "email@domain.com",
    "phoneNumber": "+989121234567",
    "firstName": "Hamid Reza",
    "surName": "Mohammadi"
  },
  "securableItem": [
    {
      "shortName": "user",
      "description": "کاربران",
      "operations": [
        {
          "shortName": "view",
          "description": "مشاهده",
          "prerequisites": [
            {
              "secureItemShortName": "job",
              "operationShortName": "view"
            }
          ]
        }
      ]
    }
  ]
}
All 475 operations