POST Statistic/GetCustomerIncomeStat
Request Information
URI Parameters
None.
Body Parameters
StatisticRequestBaseOfCustomerManageCriteria| Name | Description | Type | Additional information |
|---|---|---|---|
| Condition | CustomerManageCriteria |
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",
"ProjectType": "sample string 2",
"StartTime": "2025-12-11T22:55:54.2066768+08:00",
"EndTime": "2025-12-11T22:55:54.2066768+08:00",
"CustomerType": "sample string 3",
"CustomerLevels": "sample string 4",
"Customers": "sample string 5",
"CustomerManagers": "sample string 6",
"GroupType": "sample string 7",
"DataTypeCode": "sample string 8",
"IsActived": true,
"PageSize": 1,
"CurrentPage": 1,
"CompanyCode": "sample string 9",
"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:
<StatisticRequestBaseOfCustomerManageCriterialbfhj5NS 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 9</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:CustomerLevels>sample string 4</d2p1:CustomerLevels>
<d2p1:CustomerManagers>sample string 6</d2p1:CustomerManagers>
<d2p1:CustomerType>sample string 3</d2p1:CustomerType>
<d2p1:Customers>sample string 5</d2p1:Customers>
<d2p1:DataTypeCode>sample string 8</d2p1:DataTypeCode>
<d2p1:EndTime>2025-12-11T22:55:54.2066768+08:00</d2p1:EndTime>
<d2p1:GroupType>sample string 7</d2p1:GroupType>
<d2p1:ProjectType>sample string 2</d2p1:ProjectType>
<d2p1:StartTime>2025-12-11T22:55:54.2066768+08:00</d2p1:StartTime>
</Condition>
</StatisticRequestBaseOfCustomerManageCriterialbfhj5NS>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RemoteResponseOfStatisticResponseBaseOfListOfCustomerIncomeStatModel| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| errors | string |
None. |
|
| unauthed | boolean |
None. |
|
| result | StatisticResponseBaseOfListOfCustomerIncomeStatModel |
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": [
{
"CustomerId": "sample string 1",
"Customer": "sample string 2",
"Income": 3.0,
"TargetIncome": 4.0
},
{
"CustomerId": "sample string 1",
"Customer": "sample string 2",
"Income": 3.0,
"TargetIncome": 4.0
}
]
},
{
"companyCode": "sample string 1",
"companyName": "sample string 2",
"result": [
{
"CustomerId": "sample string 1",
"Customer": "sample string 2",
"Income": 3.0,
"TargetIncome": 4.0
},
{
"CustomerId": "sample string 1",
"Customer": "sample string 2",
"Income": 3.0,
"TargetIncome": 4.0
}
]
}
]
}
}
application/xml, text/xml
Sample:
<RemoteResponseOfStatisticResponseBaseOfArrayOfCustomerIncomeStatModeldmGyRm56cebQ3WWF 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:StatisticResultOfArrayOfCustomerIncomeStatModeldmGyRm56>
<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:CustomerIncomeStatModel>
<d5p1:Customer>sample string 2</d5p1:Customer>
<d5p1:CustomerId>sample string 1</d5p1:CustomerId>
<d5p1:Income>3</d5p1:Income>
<d5p1:TargetIncome>4</d5p1:TargetIncome>
</d5p1:CustomerIncomeStatModel>
<d5p1:CustomerIncomeStatModel>
<d5p1:Customer>sample string 2</d5p1:Customer>
<d5p1:CustomerId>sample string 1</d5p1:CustomerId>
<d5p1:Income>3</d5p1:Income>
<d5p1:TargetIncome>4</d5p1:TargetIncome>
</d5p1:CustomerIncomeStatModel>
</d2p1:Result>
</d2p1:StatisticResultOfArrayOfCustomerIncomeStatModeldmGyRm56>
<d2p1:StatisticResultOfArrayOfCustomerIncomeStatModeldmGyRm56>
<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:CustomerIncomeStatModel>
<d5p1:Customer>sample string 2</d5p1:Customer>
<d5p1:CustomerId>sample string 1</d5p1:CustomerId>
<d5p1:Income>3</d5p1:Income>
<d5p1:TargetIncome>4</d5p1:TargetIncome>
</d5p1:CustomerIncomeStatModel>
<d5p1:CustomerIncomeStatModel>
<d5p1:Customer>sample string 2</d5p1:Customer>
<d5p1:CustomerId>sample string 1</d5p1:CustomerId>
<d5p1:Income>3</d5p1:Income>
<d5p1:TargetIncome>4</d5p1:TargetIncome>
</d5p1:CustomerIncomeStatModel>
</d2p1:Result>
</d2p1:StatisticResultOfArrayOfCustomerIncomeStatModeldmGyRm56>
</d2p1:Results>
</Result>
<Success>true</Success>
<UnAuthorizedRequest>true</UnAuthorizedRequest>
</RemoteResponseOfStatisticResponseBaseOfArrayOfCustomerIncomeStatModeldmGyRm56cebQ3WWF>