{
"status": {
"code": "string",
"description": "string",
"httpStatusCode": 0
},
"data": {
"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": [
{}
],
"company": {
"companyId": 0,
"companyCode": "string",
"companyName": "string",
"companyName_EN": "string",
"defaultMailService": "string",
"agents": [
null
],
"buSupports": [
null
],
"contacts": [
null
],
"customFields": [
null
],
"customers": [
null
],
"departments": [
null
],
"ranks": [
null
],
"roles": [
null
],
"subscriptionKeys": [
null
],
"templates": [
null
],
"trophies": [
null
]
},
"roleFunctions": [
{}
]
}
}
]
}
]
}
]
}
]
}
]
},
"pagination": {
"page": 0,
"pageSize": 0,
"totalItems": 0,
"totalPages": 0
}
}