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": "2025-12-11T22:55:18.6978283+08:00",
    "EndTime": "2025-12-11T22:55:18.6978283+08:00",
    "CompanyCode": "sample string 3",
    "CompanyName": "sample string 4",
    "Depts": [
      "2890c209-5bd8-431a-aaa3-7bfe1a24d90f",
      "0d57cc99-37bd-4404-9e8e-42e23dfc3fd2"
    ],
    "GroupName": "sample string 5",
    "GroupID": "06c767e6-0fc5-4ccd-8a8e-13b601c7d18f"
  },
  "originalCompany": "sample string 1",
  "targetGroups": [
    "e397ed09-ed96-4383-a2ab-03dda29fc9b1",
    "f785b31b-e0eb-4f13-bdb3-56925ede2009"
  ],
  "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>e397ed09-ed96-4383-a2ab-03dda29fc9b1</d2p1:guid>
    <d2p1:guid>f785b31b-e0eb-4f13-bdb3-56925ede2009</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>2890c209-5bd8-431a-aaa3-7bfe1a24d90f</d3p1:guid>
      <d3p1:guid>0d57cc99-37bd-4404-9e8e-42e23dfc3fd2</d3p1:guid>
    </d2p1:Depts>
    <d2p1:GroupID>06c767e6-0fc5-4ccd-8a8e-13b601c7d18f</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>2025-12-11T22:55:18.6978283+08:00</d2p1:EndTime>
    <d2p1:StartTime>2025-12-11T22:55:18.6978283+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": "1bdd7224-373c-4919-926e-e118c5078683",
          "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": "1bdd7224-373c-4919-926e-e118c5078683",
          "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>1bdd7224-373c-4919-926e-e118c5078683</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>1bdd7224-373c-4919-926e-e118c5078683</d5p1:GroupID>
          <d5p1:GroupName>sample string 2</d5p1:GroupName>
        </d2p1:Result>
      </d2p1:OtherStatisticResultOfIncomeCustStructModeldmGyRm56>
    </d2p1:Results>
  </Result>
  <Success>true</Success>
  <UnAuthorizedRequest>true</UnAuthorizedRequest>
</RemoteResponseOfOtherStatisticResponseBaseOfIncomeCustStructModeldmGyRm56cebQ3WWF>