Login
Select
Login to the commcell using this request and save the token before calling any other API
- application/json
Request Body required
- Login-SaaS
- Login-CustomerManaged
- username string required
User email ID
- password string required
A Base64 UTF-8 encoded password for the user.
- commserver string
The option to log in to a remote CommServe. If this parameter is not used, the user is logged in to the CommServe associated with the Web Server. Use the following values for the commserver parameter: commserve_host_namecommserve_name .The CommServe host name and the CommServe name must be separated by an asterisk (). Example: commserver="client.mydomain.com*testcs"
- domain string
If the user logging in is a domain user, the domain parameter must be set to the domain associated with the user.
- password string required
A Base64 UTF-8 encoded password for the user.
- username string required
Username of the user
- deviceId string
Add a device ID which can used to renew token after expiry
- timeout integer
Default value:
30
Timeout of the token in minutes
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
- Example 2
Schema
- LoginResponse-SaaS
- LoginResponse-CustomerManaged
data object
- aliasName string
The alias name.
- userGUID string
The globally unique identifier for the user
- loginAttempts integer
Number of login attempts
- remainingLockTime integer
Number of attempts remaining
- smtpAddress string
User email ad
- userName string
Username of the user
- providerType integer
Internal field
- ccn integer
An internal reference number.
- token string
The authentication token that must be inserted into the Authtoken header for all requests
- capability integer
An internal field
- forcePasswordChange boolean
- isAccountLocked boolean
True if the account is locked
ownerOrganization object
additionalResp object
providerOrganization object
- errList object[]
company object
{
"data": {
"authToken": "string"
}
}
{
"aliasName": "1",
"userGUID": "AC3E5333-4585-4EFD-B566-4654C5C88C27",
"loginAttempts": 0,
"remainingLockTime": 0,
"smtpAddress": "email@domain.com",
"userName": "testadmin",
"providerType": 1,
"ccn": 0,
"token": "QSDK ",
"capability": 4328650366975,
"forcePasswordChange": false,
"isAccountLocked": false,
"ownerOrganization": {
"providerId": 0,
"providerDomainName": "Qinetix Commcell"
},
"providerOrganization": {
"providerId": 0,
"providerDomainName": "Qinetix Commcell"
},
"errList": []
}
{
"aliasName": "1",
"userGUID": "80ECA8AB-E88E-4B71-A5BE-233932068CC2",
"loginAttempts": 0,
"remainingLockTime": 0,
"smtpAddress": "test@test.com",
"userName": "admin",
"providerType": 1,
"ccn": 0,
"token": "QSDK ",
"capability": 4328650366975,
"forcePasswordChange": false,
"isAccountLocked": false,
"ownerOrganization": {
"GUID": "95189d4e-4a7f-4cb3-969f-80d5871ac13f",
"providerId": 0,
"providerDomainName": "Commcell"
},
"additionalResp": {
"nameValues": [
{
"name": "USERNAME",
"value": "admin"
},
{
"name": "autoLoginType"
},
{
"name": "fullName",
"value": "Administrator"
}
]
},
"providerOrganization": {
"GUID": "95189d4e-4a7f-4cb3-969f-80d5871ac13f",
"providerId": 0,
"providerDomainName": "Commcell"
},
"errList": [],
"company": {
"providerId": 0,
"providerDomainName": "Commcell"
}
}
POST /login
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Login' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"username": "string",
"password": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Login' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"username": "string",
"password": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Login' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"username": "string",
"password": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Login' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"username": "string",
"password": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Login' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"username": "string",
"password": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Login' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"username": "string",
"password": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Login' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"username": "string",
"password": "string"
}'