POST Statistic/GetIncomeCustStruct

Request Information

URI Parameters

None.

Body Parameters

OtherStatisticRequestBaseOfIncomeCustStructCriteria
NameDescriptionTypeAdditional information
Condition

IncomeCustStructCriteria

None.

originalCompany

string

None.

targetGroups

Collection of globally unique identifier

None.

userCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Condition": {
    "CustTypes": [
      1,
      2
    ],
    "StartTime": "2026-09-01T21:36:38.3246554+08:00",
    "EndTime": "2026-09-01T21:36:38.3246554+08:00",
    "CompanyCode": "sample string 3",
    "CompanyName": "sample string 4",
    "Depts": [
      "f5431fd5-581e-41f6-835b-25950f13806d",
      "743dc92a-ce8e-44b7-90be-08549f76a134"
    ],
    "GroupName": "sample string 5",
    "GroupID": "a92826e0-6780-4758-9b4c-7c57e4f83d90"
  },
  "originalCompany": "sample string 1",
  "targetGroups": [
    "95be87e1-600d-468f-a504-9b8326e8b52e",
    "3b6ea23e-3ac9-4e11-9564-12dbf43813cb"
  ],
  "userCode": "sample string 2"
}

application/xml, text/xml

Sample:
<OtherStatisticRequestBaseOfIncomeCustStructCriterialbfhj5NS 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>
  <TargetGroups xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>95be87e1-600d-468f-a504-9b8326e8b52e</d2p1:guid>
    <d2p1:guid>3b6ea23e-3ac9-4e11-9564-12dbf43813cb</d2p1:guid>
  </TargetGroups>
  <UserCode>sample string 2</UserCode>
  <Condition xmlns:d2p1="http://schemas.datacontract.org/2004/07/GJ.WEM.Biz.Model.Criteria">
    <d2p1:CompanyCode>sample string 3</d2p1:CompanyCode>
    <d2p1:CompanyName>sample string 4</d2p1:CompanyName>
    <d2p1:Depts xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:guid>f5431fd5-581e-41f6-835b-25950f13806d</d3p1:guid>
      <d3p1:guid>743dc92a-ce8e-44b7-90be-08549f76a134</d3p1:guid>
    </d2p1:Depts>
    <d2p1:GroupID>a92826e0-6780-4758-9b4c-7c57e4f83d90</d2p1:GroupID>
    <d2p1:GroupName>sample string 5</d2p1:GroupName>
    <d2p1:CustTypes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </d2p1:CustTypes>
    <d2p1:EndTime>2026-09-01T21:36:38.3246554+08:00</d2p1:EndTime>
    <d2p1:StartTime>2026-09-01T21:36:38.3246554+08:00</d2p1:StartTime>
  </Condition>
</OtherStatisticRequestBaseOfIncomeCustStructCriterialbfhj5NS>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RemoteResponseOfOtherStatisticResponseBaseOfIncomeCustStructModel
NameDescriptionTypeAdditional information
success

boolean

None.

errors

string

None.

unauthed

boolean

None.

result

OtherStatisticResponseBaseOfIncomeCustStructModel

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "errors": "sample string 2",
  "unauthed": true,
  "result": {
    "results": [
      {
        "groupCode": "sample string 1",
        "groupName": "sample string 2",
        "result": {
          "GroupID": "57dc9cb3-93d8-4530-bee7-4dd6811d61dc",
          "GroupName": "sample string 2",
          "CustomerList": [
            {
              "CompanyCode": "sample string 1",
              "CompanyName": "sample string 2",
              "Depts": [
                {
                  "CustomerName": "sample string 1",
                  "CustIndustry": "sample string 2",
                  "CustChildIndustry": "sample string 3",
                  "Amount": 4.0,
                  "TotalPaymentRatio": 5.0,
                  "IndustryPaymentRatio": 6.0
                },
                {
                  "CustomerName": "sample string 1",
                  "CustIndustry": "sample string 2",
                  "CustChildIndustry": "sample string 3",
                  "Amount": 4.0,
                  "TotalPaymentRatio": 5.0,
                  "IndustryPaymentRatio": 6.0
                }
              ]
            },
            {
              "CompanyCode": "sample string 1",
              "CompanyName": "sample string 2",
              "Depts": [
                {
                  "CustomerName": "sample string 1",
                  "CustIndustry": "sample string 2",
                  "CustChildIndustry": "sample string 3",
                  "Amount": 4.0,
                  "TotalPaymentRatio": 5.0,
                  "IndustryPaymentRatio": 6.0
                },
                {
                  "CustomerName": "sample string 1",
                  "CustIndustry": "sample string 2",
                  "CustChildIndustry": "sample string 3",
                  "Amount": 4.0,
                  "TotalPaymentRatio": 5.0,
                  "IndustryPaymentRatio": 6.0
                }
              ]
            }
          ]
        }
      },
      {
        "groupCode": "sample string 1",
        "groupName": "sample string 2",
        "result": {
          "GroupID": "57dc9cb3-93d8-4530-bee7-4dd6811d61dc",
          "GroupName": "sample string 2",
          "CustomerList": [
            {
              "CompanyCode": "sample string 1",
              "CompanyName": "sample string 2",
              "Depts": [
                {
                  "CustomerName": "sample string 1",
                  "CustIndustry": "sample string 2",
                  "CustChildIndustry": "sample string 3",
                  "Amount": 4.0,
                  "TotalPaymentRatio": 5.0,
                  "IndustryPaymentRatio": 6.0
                },
                {
                  "CustomerName": "sample string 1",
                  "CustIndustry": "sample string 2",
                  "CustChildIndustry": "sample string 3",
                  "Amount": 4.0,
                  "TotalPaymentRatio": 5.0,
                  "IndustryPaymentRatio": 6.0
                }
              ]
            },
            {
              "CompanyCode": "sample string 1",
              "CompanyName": "sample string 2",
              "Depts": [
                {
                  "CustomerName": "sample string 1",
                  "CustIndustry": "sample string 2",
                  "CustChildIndustry": "sample string 3",
                  "Amount": 4.0,
                  "TotalPaymentRatio": 5.0,
                  "IndustryPaymentRatio": 6.0
                },
                {
                  "CustomerName": "sample string 1",
                  "CustIndustry": "sample string 2",
                  "CustChildIndustry": "sample string 3",
                  "Amount": 4.0,
                  "TotalPaymentRatio": 5.0,
                  "IndustryPaymentRatio": 6.0
                }
              ]
            }
          ]
        }
      }
    ]
  }
}

application/xml, text/xml

Sample:
<RemoteResponseOfOtherStatisticResponseBaseOfIncomeCustStructModeldmGyRm56cebQ3WWF 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:OtherStatisticResultOfIncomeCustStructModeldmGyRm56>
        <d2p1:GroupCode>sample string 1</d2p1:GroupCode>
        <d2p1:GroupName>sample string 2</d2p1:GroupName>
        <d2p1:Result xmlns:d5p1="http://schemas.datacontract.org/2004/07/GJ.WEM.Biz.Model">
          <d5p1:CustomerList>
            <d5p1:GroupCompanyCustModel>
              <d5p1:CompanyCode>sample string 1</d5p1:CompanyCode>
              <d5p1:CompanyName>sample string 2</d5p1:CompanyName>
              <d5p1:Depts>
                <d5p1:GroupPrjAndCustModel>
                  <d5p1:Amount>4</d5p1:Amount>
                  <d5p1:CustChildIndustry>sample string 3</d5p1:CustChildIndustry>
                  <d5p1:CustIndustry>sample string 2</d5p1:CustIndustry>
                  <d5p1:CustomerName>sample string 1</d5p1:CustomerName>
                  <d5p1:IndustryPaymentRatio>6</d5p1:IndustryPaymentRatio>
                  <d5p1:TotalPaymentRatio>5</d5p1:TotalPaymentRatio>
                </d5p1:GroupPrjAndCustModel>
                <d5p1:GroupPrjAndCustModel>
                  <d5p1:Amount>4</d5p1:Amount>
                  <d5p1:CustChildIndustry>sample string 3</d5p1:CustChildIndustry>
                  <d5p1:CustIndustry>sample string 2</d5p1:CustIndustry>
                  <d5p1:CustomerName>sample string 1</d5p1:CustomerName>
                  <d5p1:IndustryPaymentRatio>6</d5p1:IndustryPaymentRatio>
                  <d5p1:TotalPaymentRatio>5</d5p1:TotalPaymentRatio>
                </d5p1:GroupPrjAndCustModel>
              </d5p1:Depts>
            </d5p1:GroupCompanyCustModel>
            <d5p1:GroupCompanyCustModel>
              <d5p1:CompanyCode>sample string 1</d5p1:CompanyCode>
              <d5p1:CompanyName>sample string 2</d5p1:CompanyName>
              <d5p1:Depts>
                <d5p1:GroupPrjAndCustModel>
                  <d5p1:Amount>4</d5p1:Amount>
                  <d5p1:CustChildIndustry>sample string 3</d5p1:CustChildIndustry>
                  <d5p1:CustIndustry>sample string 2</d5p1:CustIndustry>
                  <d5p1:CustomerName>sample string 1</d5p1:CustomerName>
                  <d5p1:IndustryPaymentRatio>6</d5p1:IndustryPaymentRatio>
                  <d5p1:TotalPaymentRatio>5</d5p1:TotalPaymentRatio>
                </d5p1:GroupPrjAndCustModel>
                <d5p1:GroupPrjAndCustModel>
                  <d5p1:Amount>4</d5p1:Amount>
                  <d5p1:CustChildIndustry>sample string 3</d5p1:CustChildIndustry>
                  <d5p1:CustIndustry>sample string 2</d5p1:CustIndustry>
                  <d5p1:CustomerName>sample string 1</d5p1:CustomerName>
                  <d5p1:IndustryPaymentRatio>6</d5p1:IndustryPaymentRatio>
                  <d5p1:TotalPaymentRatio>5</d5p1:TotalPaymentRatio>
                </d5p1:GroupPrjAndCustModel>
              </d5p1:Depts>
            </d5p1:GroupCompanyCustModel>
          </d5p1:CustomerList>
          <d5p1:GroupID>57dc9cb3-93d8-4530-bee7-4dd6811d61dc</d5p1:GroupID>
          <d5p1:GroupName>sample string 2</d5p1:GroupName>
        </d2p1:Result>
      </d2p1:OtherStatisticResultOfIncomeCustStructModeldmGyRm56>
      <d2p1:OtherStatisticResultOfIncomeCustStructModeldmGyRm56>
        <d2p1:GroupCode>sample string 1</d2p1:GroupCode>
        <d2p1:GroupName>sample string 2</d2p1:GroupName>
        <d2p1:Result xmlns:d5p1="http://schemas.datacontract.org/2004/07/GJ.WEM.Biz.Model">
          <d5p1:CustomerList>
            <d5p1:GroupCompanyCustModel>
              <d5p1:CompanyCode>sample string 1</d5p1:CompanyCode>
              <d5p1:CompanyName>sample string 2</d5p1:CompanyName>
              <d5p1:Depts>
                <d5p1:GroupPrjAndCustModel>
                  <d5p1:Amount>4</d5p1:Amount>
                  <d5p1:CustChildIndustry>sample string 3</d5p1:CustChildIndustry>
                  <d5p1:CustIndustry>sample string 2</d5p1:CustIndustry>
                  <d5p1:CustomerName>sample string 1</d5p1:CustomerName>
                  <d5p1:IndustryPaymentRatio>6</d5p1:IndustryPaymentRatio>
                  <d5p1:TotalPaymentRatio>5</d5p1:TotalPaymentRatio>
                </d5p1:GroupPrjAndCustModel>
                <d5p1:GroupPrjAndCustModel>
                  <d5p1:Amount>4</d5p1:Amount>
                  <d5p1:CustChildIndustry>sample string 3</d5p1:CustChildIndustry>
                  <d5p1:CustIndustry>sample string 2</d5p1:CustIndustry>
                  <d5p1:CustomerName>sample string 1</d5p1:CustomerName>
                  <d5p1:IndustryPaymentRatio>6</d5p1:IndustryPaymentRatio>
                  <d5p1:TotalPaymentRatio>5</d5p1:TotalPaymentRatio>
                </d5p1:GroupPrjAndCustModel>
              </d5p1:Depts>
            </d5p1:GroupCompanyCustModel>
            <d5p1:GroupCompanyCustModel>
              <d5p1:CompanyCode>sample string 1</d5p1:CompanyCode>
              <d5p1:CompanyName>sample string 2</d5p1:CompanyName>
              <d5p1:Depts>
                <d5p1:GroupPrjAndCustModel>
                  <d5p1:Amount>4</d5p1:Amount>
                  <d5p1:CustChildIndustry>sample string 3</d5p1:CustChildIndustry>
                  <d5p1:CustIndustry>sample string 2</d5p1:CustIndustry>
                  <d5p1:CustomerName>sample string 1</d5p1:CustomerName>
                  <d5p1:IndustryPaymentRatio>6</d5p1:IndustryPaymentRatio>
                  <d5p1:TotalPaymentRatio>5</d5p1:TotalPaymentRatio>
                </d5p1:GroupPrjAndCustModel>
                <d5p1:GroupPrjAndCustModel>
                  <d5p1:Amount>4</d5p1:Amount>
                  <d5p1:CustChildIndustry>sample string 3</d5p1:CustChildIndustry>
                  <d5p1:CustIndustry>sample string 2</d5p1:CustIndustry>
                  <d5p1:CustomerName>sample string 1</d5p1:CustomerName>
                  <d5p1:IndustryPaymentRatio>6</d5p1:IndustryPaymentRatio>
                  <d5p1:TotalPaymentRatio>5</d5p1:TotalPaymentRatio>
                </d5p1:GroupPrjAndCustModel>
              </d5p1:Depts>
            </d5p1:GroupCompanyCustModel>
          </d5p1:CustomerList>
          <d5p1:GroupID>57dc9cb3-93d8-4530-bee7-4dd6811d61dc</d5p1:GroupID>
          <d5p1:GroupName>sample string 2</d5p1:GroupName>
        </d2p1:Result>
      </d2p1:OtherStatisticResultOfIncomeCustStructModeldmGyRm56>
    </d2p1:Results>
  </Result>
  <Success>true</Success>
  <UnAuthorizedRequest>true</UnAuthorizedRequest>
</RemoteResponseOfOtherStatisticResponseBaseOfIncomeCustStructModeldmGyRm56cebQ3WWF>