{
"companyId": 0,
"companyCode": "string",
"companyName": "string",
"companyName_EN": "string",
"defaultMailService": "string",
"usersInCompany": [
{
"departmentId": 0,
"companyId": 0,
"departmentCode": "string",
"departmentName": "string",
"departmentName_EN": "string",
"usersInDepartment": [
{
"teamId": 0,
"departmentId": 0,
"teamCode": "string",
"teamName": "string",
"teamName_EN": "string",
"usersInTeam": [
{
"name": "string",
"email": "string",
"team": [
"string"
],
"teamId": [
0
],
"role": [
"string"
],
"department": "string",
"departmentId": 0,
"company": "string",
"companyId": 0,
"imageUrl": "string",
"rank": {
"rankName": "string",
"rankNameEN": "string",
"imageUrl": "string"
},
"userId": "string",
"functions": [
{
"functionId": 0,
"functionCode": "string",
"componentId": 0,
"name": "string",
"levels": 0,
"allowGrant": true,
"allowAdd": true,
"allowEdit": true,
"allowDelete": true,
"allowView": true,
"config": "string",
"isActive": true,
"createdDate": "2019-08-24T14:15:22.123Z",
"updatedDate": "2019-08-24T14:15:22.123Z",
"component": {
"componentId": 0,
"name": "string",
"description": "string",
"isActive": true,
"updatedDate": "2019-08-24T14:15:22.123Z",
"createdDate": "2019-08-24T14:15:22.123Z",
"functions": [
{}
]
},
"roleFunctions": [
{
"roleFunctionId": 0,
"roleId": 0,
"functionId": 0,
"createdDate": "2019-08-24T14:15:22.123Z",
"updatedDate": "2019-08-24T14:15:22.123Z",
"function": {},
"role": {
"roleId": 0,
"companyId": 0,
"roleName": "string",
"rolePriority": 0,
"agentRoles": [
{
"agentId": 0,
"roleId": 0,
"createdDate": "2019-08-24T14:15:22.123Z",
"updatedDate": "2019-08-24T14:15:22.123Z",
"agent": {
"rankHistories": [],
"subscriptionKeys": [],
"teamAgents": [],
"trophyHistories": []
},
"role": {}
}
],
"company": {
"companyId": 0,
"companyCode": "string",
"companyName": "string",
"companyName_EN": "string",
"defaultMailService": "string",
"agents": [
{
"rankHistories": [],
"subscriptionKeys": [],
"teamAgents": [],
"trophyHistories": []
}
],
"buSupports": [
{
"tickets": []
}
],
"contacts": [
{}
],
"customFields": [
{
"customFieldValues": []
}
],
"customers": [
{
"teamCustomers": []
}
],
"departments": [
{
"teamAgents": [],
"teamCustomers": [],
"teams": [],
"templates": [],
"tickets": []
}
],
"ranks": [
{
"rankHistories": []
}
],
"roles": [
{}
],
"subscriptionKeys": [
{}
],
"trophies": [
{
"trophyHistories": []
}
]
},
"roleFunctions": [
{}
]
}
}
]
}
]
}
]
}
]
}
]
}