getSettingsData
POST |
/api/widget/getSettingsData |
Obtain all the core access rights, naming conventions, statues, types, sources and teams for a given user.
Sample Request:
{
"trackerrms": {
"checkPerson": {
"credentials": {
"username": "my.name@domain.com",
"password": "Welcome123",
"oauthtoken": "1bc7ca1e-8b9a-11e9-bc42-526af7764f64"
}
}
}
}
Sample Response:
{
"status": 0,
"message": "success",
"count": 0,
"accessRights": "CORPNTL",
"namingConventions": {
"client": "Company",
"contact": "Contact",
"lead": "Lead",
"opportunity": "Job",
"project": "Project",
"resource": "Candidate",
"ticket": "Issue",
"resume": "Resume"
},
"leadStatuses": [],
"leadSources": [],
"opportunityStatuses": [],
"opportunityWorkTypes": [],
"projectStatuses": [],
"resourceStatuses": [],
"resourceSources": [],
"departments": [],
"ticketTypes": [],
"userTeams": []
}}
Response status codes:
0 |
success |
1 |
user not found |
2 |
user not active |
99 |
Invalid request |
Response Arrays all contain 2 elements:
Id |
The Id of the status or type |
Name |
The Name of the status or type |