API for Administration

Create User and Map Roles

POST /rest/admin/user/withrole

Request

Content-Type: application/json

Parameters


NameLocated inRequiredDescriptionDefaultSchema
bodybodyno
-string
userbodyyesObject of user to be created-User
maprolebodyyesObject of maprole having details of project roles to be assigned while creating user-MapRole


Response

Content-Type: application/json

Status CodeReasonResponse Model
200User created successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-


Update Role/Project for User

PUT /rest/admin/user/update/withrole

Request

Content-Type: application/json

Parameters


NameLocated inRequiredDescriptionDefaultSchema
bodybodyno
-string
userbodyyesObject of user to be updated-UpdateUser
maprolebodyyesObject of maprole having details of project roles to be assigned while updating user-MapRole


Response

Content-Type: application/json

Status CodeReasonResponse Model
200User created successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-


Generate/Reset Automation API Key

POST /rest/admin/user/generateAutomationAPIKey

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
Content-Typeheaderyesapplication/json-string
apikeyheaderyesOpen API key-string
scopeheaderyesdefault-string

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Successful operation.ResponseEntity
500Returned if there is an error in server-


Get List of Users

POST /rest/admin/user/list

Request

Content-Type: application/json

Parameters


NameLocated inRequiredDescriptionDefaultSchema
startbodynoprovide start-integer
limitbodynoprovide limit-integer
pagebodynoprovide page-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200List of usersResponseEntityString
400Invalid json object or mandatory fields missing or export operation failed.

-

401Unauthorised or session expired-
500Returned when server connection times out-

Deactivate User

PUT /rest/admin/user/deactivate

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
userIDbodyyesUnique identifier of user to be deactivated-integer
isActivebodyyesSend 'false' to deactivate user-boolean

Response

Content-Type: application/json

Status CodeReasonResponse Model
200User deactivated successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Delete User

PUT /rest/admin/user/delete

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
userIDbodyyesUnique identifier of user to delete-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200User deleted successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Get List of Roles

POST /rest/admin/role/list

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
startbodyyesStart index of records-integer
limitbodyyesNumber of records per page-integer
pagebodyyesPage number to be displayed-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200List of roles shown successfully.ResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Get List of Execution Statuses

POST /rest/admin/execution/list

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
startbodyyesStart index of records-integer
limitbodyyesNumber of records per page-integer
pagebodyyesPage number to be displayed-integer
roleIDbodyyesId of role to get execution statuses specific to that role-integer
isArchivedbodynoSend 'true' to show archived platforms (defaulted to false)-boolean
sortbodynoSort parameters-Array[Sort]

Response

Content-Type: application/json

Status CodeReasonResponse Model
200list of execution statuses shown successfullyResponseEntityString
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Get List of fields

POST /rest/admin/managefield/list

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
startbodyyesStart index of records-integer
limitbodyyesNumber of records per page-integer
pagebodyyesPage number to be displayed-integer
projectIDbodyyesUnique identifier of project whose field list has to be obtained-integer
isSystemFieldRequiredbodynoSend True to get System fields and false to get User fields. Defaulted to false-boolean

Response

Content-Type: application/json

Status CodeReasonResponse Model
200List of fields successfully createdResponseEntityString
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Get List of Custom Lists and Dropdowns

POST /rest/admin/customlist/list

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
startbodyyesStart index of records-integer
limitbodyyesNumber of records per page-integer
pagebodyyesPage number to be displayed-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200List of system defined and user defined componentsResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Get List of Custom List Values

POST /rest/admin/customlist/listval

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
qmMasterIdbodyyesID of custom list whose list values are to be obtained-integer
startbodyyesStart index of records-integer
limitbodyyesNumber of records per page-integer
pagebodyyesPage number to be displayed-integer
paramsbodyyesParameters-Param2

Response

Content-Type: application/json

Status CodeReasonResponse Model
200List of all the values of the custom listResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Add Custom List

POST /rest/admin/customlist/add

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
listValuebodyyesListValues to add-Array[ListValue]
ListnamebodyyesName of list-string

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Customlist added successfullyResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Add/Update Custom List

POST /rest/admin/customlist/update

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
listIdbodyyesUnique identifier of list which is to be updated-integer
listValueDeletedbodyyesProvide listValues to be deleted-Array[ListValue]
listValuebodyyesListValues-Array[ListValue]

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Custom list updatedResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-

Delete Custom List

POST /rest/admin/customlist/delete

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
listIdbodyyesUnique identifier of Custom-list-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Custom-list successfully deletedResponseEntity
400Invalid json object or mandatory fields missing-
401Unauthorised or session expired-
500Returned when server connection times out-


Get List of Audit Logs

POST /rest/admin/accesslog/list

Request

Content-Type: application/json

Parameters

NameLocated inRequiredDescriptionDefaultSchema
startbodyyesstart index of records-integer
limitbodyyesnumber of records per page (max. value 50)-integer
pagebodyyespage number-integer
fromDatebodyyesstart date to filter the records (date format as per set in User Profile)-string
toDatebodyyesend date of records (date format as per set in User Profile)-string

Response

Content-Type: application/json

Status CodeReasonResponse Model
200List of audit logsArrayOfDataElements
400Invalid json object or mandatory fields missing or export operation failed.-
401Unauthorised or session expired-
500Returned when server connection times out-


Add BDD Configuration

POST /rest/admin/bddConfiguration/add

Request

Content-Type: application/json


Parameters

Name
Located in
Required
Description
Default
Schema
repoSystembodyyesType of Repository (e.g., GIT, BITBUCKET, SVN)-string
urlbodyyesURL of configured Repository-string
usernamebodyyesUsername to access repository-string
passwordbodyyes

Password to access repository.

Note: The password should be in base64 encoded string. You can use https://www.base64encode.org/ to encode the password in base64 format.

-string
typebodyyesInstance type of repository i.e. Server or Cloud-string
projectIDbodyyesID of project for which you want to configure the BDD repository-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200List of folders fetched successfullyResponseEntity
400Missing mandatory fields.-
401Unauthorised or session expired-
500Returned when server connection times out-

List BDD Repositories

POST /rest/admin/bddConfiguration/list

Description

List of configured BDD repositories.

Request

Content-Type: application/json


Parameters

Name
Located in
Required
Description
Default
Schema
projectIDbodyyes

ID of project for which you want list of BDD repository

-integer
startquerynoThe index of the first item to return in a page of results-integer
limitquerynoThe maximum number of items to return per page. The maximum is 50.-integer
pagequerynoThe page number.-integer


Response

Content-Type: application/json

Status CodeReasonResponse Model
200Configured Repository's list fetched successfullyResponseEntity
400Missing mandatory fields.-
401Unauthorised or session expired-
500Returned when server connection times out-

Test BDD Credentials

POST /rest/admin/bddConfiguration/test

Description

Test the BDD configuration

Request

Content-Type: application/json


Parameters

Name
Located in
Required
Description
Default
Schema
repoSystembodyyesType of Repository (e.g., GIT, BITBUCKET, SVN).-string
urlbodyyesURL of the configured Repository-string
usernamebodyyesUsername to access repository.-string
passwordbodyyes

Password to access repository.

Note: The password should be in base64 encoded string. You can use https://www.base64encode.org/ to encode the password in base64 format.

-string
typebodyyesInstance type of repository i.e. Server or Cloud-string


Response

Content-Type: application/json

Status CodeReasonResponse Model
200Repository was verified successfully.ResponseEntity
400Missing mandatory fields.-
401Unauthorised or session expired-
500Returned when server connection times out-

Update BDD Configuration

POST /rest/admin/bddConfiguration/update

Request

Content-Type: application/json


Parameters

Name
Located in
Required
Description
Default
Schema
repoSystembodyyesType of Repository (e.g., GIT, BITBUCKET, SVN).
string
urlbodyyesURL of the configured Repository
string
usernamebodyyesUsername to access the repository.
string
passwordbodyyes

Password to access the repository.

Note: The password should be in base64 encoded string. You can use https://www.base64encode.org/ to encode the password in base64 format.


string
typebodyyesInstance type of repository i.e. Server or Cloud-string
bddConfigIDbodyyesID of BDD repository for particular project from DB.
integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Repository was updated successfully.ResponseEntity
400Missing mandatory fields.-
401Unauthorised or session expired-
500Returned when server connection times out-

Delete BDD Configuration

POST /rest/admin/bddConfiguration/delete

Request

Content-Type: application/json


Parameter

Name
Located in
Required
Description
Default
Schema
bddConfigIDbodyyesID of BDD repository for particular project from DB.-integer

Response

Content-Type: application/json

Status CodeReasonResponse Model
200Repository was deleted successfully.ResponseEntity
400Missing mandatory fields.-
401Unauthorised or session expired-
500Returned when server connection times out-

Definitions

ResponseEntity
nametyperequireddescriptionexample
headersobjectoptional-
bodyobjectoptional-
statusCodestringoptional-
ExtraParams
nametyperequireddescriptionexample
showInActivebooleanoptionalSend true to see deactivated users as well(defaulted to false)
ListValue
nametyperequireddescriptionexample
namestringrequiredName of list value
aliasstringrequiredAlias of list value
createdDatestringrequiredCreated date of the list value
Valuestringrequiredweightage of the list value
IdintegerrequiredID of list value to update/delete, '0' when list value is to be added


Param2
nametyperequireddescriptionexample
showArchivebooleanrequiredSend 'true' to show archived entities


Sort
nametyperequireddescriptionexample
propertystringoptional-
directionstringoptional-
ArrayOfDataElements
nametype
accessLogIDlong

actionName

string
accessDatestring
accessUserstring
projectNamestring
moduleNamestring
entityKeystring
idstring
projectIDinteger
versionstring
messagestring
screenNamestring
userActionNamestring
User


nametyperequireddescriptionexample
isActivebooleanoptionalTrue is user is active, else false
userTypeintegerrequiredType of user
isLabelbooleanoptionalTrue if its a label
loginIdstringrequiredLogin id of user
userAliasstringrequiredAlias of user
firstNamestringrequiredFirstname of user
lastNamestringrequiredLastname of user
emailstringrequiredEmail of user
dateTimeFormatIDintegeroptionalType of Date Time format
timeZoneIDintegeroptionalTime zone of user
localeIDintegeroptionalLocale of user
authTypestringoptionalType of authentication to be used to login by user


UpdateUser


nametyperequireddescriptionexample
userIDintegerrequiredId of user
userTypeintegerrequiredType of user
loginIdstringrequiredLogin id of user
userAliasstringrequiredAlias of user
firstNamestringrequiredFirstname of user
lastNamestringrequiredLastname of user
emailstringrequiredEmail of user


MapRole


nametyperequireddescriptionexample
userRolesarray[UserRoles]requiredList of mapping for which project with what role is to be assigned


UserRoles


nametyperequireddescriptionexample
projectIDintegerrequiredID of the project
roleIDintegerrequiredID of the role
ResponseEntityString
nametyperequireddescriptionexample
headersobjectoptional-
bodystringoptional-
statusCodestringoptional-
statusCodeValueintegeroptional-