POST Statistic/GetDepartmentAvgDifficulty
Request Information
URI Parameters
None.
Body Parameters
StatisticRequestBaseOfBussinessDeptCriteria| Name | Description | Type | Additional information |
|---|---|---|---|
| Condition | BussinessDeptCriteria |
None. |
|
| originalCompany | string |
None. |
|
| queryMode | integer |
None. |
|
| targetCompanies | Collection of string |
None. |
|
| userCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Condition": {
"CompanyCodes": "sample string 1",
"StartTime": "2025-12-11T22:55:54.1051052+08:00",
"EndTime": "2025-12-11T22:55:54.1051052+08:00",
"DeptIds": "sample string 2",
"ProjectRole": "sample string 3",
"UserIds": "sample string 4",
"Pointer": "sample string 5",
"IsActived": true,
"PageSize": 1,
"CurrentPage": 1,
"CompanyCode": "sample string 6",
"Sort": [
{
"SortOrder": 1,
"SortField": "sample string 2",
"Descending": true
},
{
"SortOrder": 1,
"SortField": "sample string 2",
"Descending": true
}
]
},
"originalCompany": "sample string 1",
"queryMode": 2,
"targetCompanies": [
"sample string 1",
"sample string 2"
],
"userCode": "sample string 3"
}
application/xml, text/xml
Sample:
<StatisticRequestBaseOfBussinessDeptCriterialbfhj5NS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GJ.WEM.Biz.Model.Statistic">
<OriginalCompany>sample string 1</OriginalCompany>
<QueryMode>2</QueryMode>
<TargetCompanies xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</TargetCompanies>
<UserCode>sample string 3</UserCode>
<Condition xmlns:d2p1="http://schemas.datacontract.org/2004/07/GJ.WEM.Biz.Model.Criteria">
<CompanyCode xmlns="http://schemas.datacontract.org/2004/07/GJ.Biz.Model">sample string 6</CompanyCode>
<CurrentPage xmlns="http://schemas.datacontract.org/2004/07/GJ.Biz.Model">1</CurrentPage>
<IsActived xmlns="http://schemas.datacontract.org/2004/07/GJ.Biz.Model">true</IsActived>
<PageSize xmlns="http://schemas.datacontract.org/2004/07/GJ.Biz.Model">1</PageSize>
<Sort xmlns="http://schemas.datacontract.org/2004/07/GJ.Biz.Model">
<SortCriteria>
<Descending>true</Descending>
<SortField>sample string 2</SortField>
<SortOrder>1</SortOrder>
</SortCriteria>
<SortCriteria>
<Descending>true</Descending>
<SortField>sample string 2</SortField>
<SortOrder>1</SortOrder>
</SortCriteria>
</Sort>
<d2p1:CompanyCodes>sample string 1</d2p1:CompanyCodes>
<d2p1:DeptIds>sample string 2</d2p1:DeptIds>
<d2p1:EndTime>2025-12-11T22:55:54.1051052+08:00</d2p1:EndTime>
<d2p1:Pointer>sample string 5</d2p1:Pointer>
<d2p1:ProjectRole>sample string 3</d2p1:ProjectRole>
<d2p1:StartTime>2025-12-11T22:55:54.1051052+08:00</d2p1:StartTime>
<d2p1:UserIds>sample string 4</d2p1:UserIds>
</Condition>
</StatisticRequestBaseOfBussinessDeptCriterialbfhj5NS>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RemoteResponseOfStatisticResponseBaseOfListOfAvgDifficultyModel| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| errors | string |
None. |
|
| unauthed | boolean |
None. |
|
| result | StatisticResponseBaseOfListOfAvgDifficultyModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"errors": "sample string 2",
"unauthed": true,
"result": {
"results": [
{
"companyCode": "sample string 1",
"companyName": "sample string 2",
"result": [
{
"Company": "sample string 1",
"CompanyId": "sample string 2",
"DeptId": "sample string 3",
"DeptName": "sample string 4",
"DiffSum": 5.0,
"DeptAvgDiff": 6.0,
"DeptTotalUser": 7,
"SDeptId": "sample string 8",
"SecondDept": "sample string 9",
"SDeptDiffSum": 10.0,
"SDeptDeptAvgDiff": 11.0,
"SDeptTotalUser": 12
},
{
"Company": "sample string 1",
"CompanyId": "sample string 2",
"DeptId": "sample string 3",
"DeptName": "sample string 4",
"DiffSum": 5.0,
"DeptAvgDiff": 6.0,
"DeptTotalUser": 7,
"SDeptId": "sample string 8",
"SecondDept": "sample string 9",
"SDeptDiffSum": 10.0,
"SDeptDeptAvgDiff": 11.0,
"SDeptTotalUser": 12
}
]
},
{
"companyCode": "sample string 1",
"companyName": "sample string 2",
"result": [
{
"Company": "sample string 1",
"CompanyId": "sample string 2",
"DeptId": "sample string 3",
"DeptName": "sample string 4",
"DiffSum": 5.0,
"DeptAvgDiff": 6.0,
"DeptTotalUser": 7,
"SDeptId": "sample string 8",
"SecondDept": "sample string 9",
"SDeptDiffSum": 10.0,
"SDeptDeptAvgDiff": 11.0,
"SDeptTotalUser": 12
},
{
"Company": "sample string 1",
"CompanyId": "sample string 2",
"DeptId": "sample string 3",
"DeptName": "sample string 4",
"DiffSum": 5.0,
"DeptAvgDiff": 6.0,
"DeptTotalUser": 7,
"SDeptId": "sample string 8",
"SecondDept": "sample string 9",
"SDeptDiffSum": 10.0,
"SDeptDeptAvgDiff": 11.0,
"SDeptTotalUser": 12
}
]
}
]
}
}
application/xml, text/xml
Sample:
<RemoteResponseOfStatisticResponseBaseOfArrayOfAvgDifficultyModeldmGyRm56cebQ3WWF xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GJ.Biz.Model">
<Errors>sample string 2</Errors>
<Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/GJ.WEM.Biz.Model.Statistic">
<d2p1:Results>
<d2p1:StatisticResultOfArrayOfAvgDifficultyModeldmGyRm56>
<d2p1:CompanyCode>sample string 1</d2p1:CompanyCode>
<d2p1:CompanyName>sample string 2</d2p1:CompanyName>
<d2p1:Result xmlns:d5p1="http://schemas.datacontract.org/2004/07/GJ.WEM.Biz.Model">
<d5p1:AvgDifficultyModel>
<d5p1:Company>sample string 1</d5p1:Company>
<d5p1:CompanyId>sample string 2</d5p1:CompanyId>
<d5p1:DeptAvgDiff>6</d5p1:DeptAvgDiff>
<d5p1:DeptId>sample string 3</d5p1:DeptId>
<d5p1:DeptName>sample string 4</d5p1:DeptName>
<d5p1:DeptTotalUser>7</d5p1:DeptTotalUser>
<d5p1:DiffSum>5</d5p1:DiffSum>
<d5p1:SDeptDeptAvgDiff>11</d5p1:SDeptDeptAvgDiff>
<d5p1:SDeptDiffSum>10</d5p1:SDeptDiffSum>
<d5p1:SDeptId>sample string 8</d5p1:SDeptId>
<d5p1:SDeptTotalUser>12</d5p1:SDeptTotalUser>
<d5p1:SecondDept>sample string 9</d5p1:SecondDept>
</d5p1:AvgDifficultyModel>
<d5p1:AvgDifficultyModel>
<d5p1:Company>sample string 1</d5p1:Company>
<d5p1:CompanyId>sample string 2</d5p1:CompanyId>
<d5p1:DeptAvgDiff>6</d5p1:DeptAvgDiff>
<d5p1:DeptId>sample string 3</d5p1:DeptId>
<d5p1:DeptName>sample string 4</d5p1:DeptName>
<d5p1:DeptTotalUser>7</d5p1:DeptTotalUser>
<d5p1:DiffSum>5</d5p1:DiffSum>
<d5p1:SDeptDeptAvgDiff>11</d5p1:SDeptDeptAvgDiff>
<d5p1:SDeptDiffSum>10</d5p1:SDeptDiffSum>
<d5p1:SDeptId>sample string 8</d5p1:SDeptId>
<d5p1:SDeptTotalUser>12</d5p1:SDeptTotalUser>
<d5p1:SecondDept>sample string 9</d5p1:SecondDept>
</d5p1:AvgDifficultyModel>
</d2p1:Result>
</d2p1:StatisticResultOfArrayOfAvgDifficultyModeldmGyRm56>
<d2p1:StatisticResultOfArrayOfAvgDifficultyModeldmGyRm56>
<d2p1:CompanyCode>sample string 1</d2p1:CompanyCode>
<d2p1:CompanyName>sample string 2</d2p1:CompanyName>
<d2p1:Result xmlns:d5p1="http://schemas.datacontract.org/2004/07/GJ.WEM.Biz.Model">
<d5p1:AvgDifficultyModel>
<d5p1:Company>sample string 1</d5p1:Company>
<d5p1:CompanyId>sample string 2</d5p1:CompanyId>
<d5p1:DeptAvgDiff>6</d5p1:DeptAvgDiff>
<d5p1:DeptId>sample string 3</d5p1:DeptId>
<d5p1:DeptName>sample string 4</d5p1:DeptName>
<d5p1:DeptTotalUser>7</d5p1:DeptTotalUser>
<d5p1:DiffSum>5</d5p1:DiffSum>
<d5p1:SDeptDeptAvgDiff>11</d5p1:SDeptDeptAvgDiff>
<d5p1:SDeptDiffSum>10</d5p1:SDeptDiffSum>
<d5p1:SDeptId>sample string 8</d5p1:SDeptId>
<d5p1:SDeptTotalUser>12</d5p1:SDeptTotalUser>
<d5p1:SecondDept>sample string 9</d5p1:SecondDept>
</d5p1:AvgDifficultyModel>
<d5p1:AvgDifficultyModel>
<d5p1:Company>sample string 1</d5p1:Company>
<d5p1:CompanyId>sample string 2</d5p1:CompanyId>
<d5p1:DeptAvgDiff>6</d5p1:DeptAvgDiff>
<d5p1:DeptId>sample string 3</d5p1:DeptId>
<d5p1:DeptName>sample string 4</d5p1:DeptName>
<d5p1:DeptTotalUser>7</d5p1:DeptTotalUser>
<d5p1:DiffSum>5</d5p1:DiffSum>
<d5p1:SDeptDeptAvgDiff>11</d5p1:SDeptDeptAvgDiff>
<d5p1:SDeptDiffSum>10</d5p1:SDeptDiffSum>
<d5p1:SDeptId>sample string 8</d5p1:SDeptId>
<d5p1:SDeptTotalUser>12</d5p1:SDeptTotalUser>
<d5p1:SecondDept>sample string 9</d5p1:SecondDept>
</d5p1:AvgDifficultyModel>
</d2p1:Result>
</d2p1:StatisticResultOfArrayOfAvgDifficultyModeldmGyRm56>
</d2p1:Results>
</Result>
<Success>true</Success>
<UnAuthorizedRequest>true</UnAuthorizedRequest>
</RemoteResponseOfStatisticResponseBaseOfArrayOfAvgDifficultyModeldmGyRm56cebQ3WWF>