POST Statistic/GetIncomeProductType

Request Information

URI Parameters

None.

Body Parameters

OtherStatisticRequestBaseOfIncomeProductTypeCriteria
NameDescriptionTypeAdditional information
Condition

IncomeProductTypeCriteria

None.

originalCompany

string

None.

targetGroups

Collection of globally unique identifier

None.

userCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Condition": {
    "ProjectTypes": [
      1,
      2
    ],
    "StartTime": "2026-02-11T18:22:37.6607845+08:00",
    "EndTime": "2026-02-11T18:22:37.6607845+08:00",
    "CompanyCode": "sample string 1",
    "CompanyName": "sample string 2",
    "Depts": [
      "4f24941b-8306-4d64-be58-d099c4de7628",
      "1bbf643d-2766-4057-97d1-f670ecec4343"
    ],
    "GroupName": "sample string 3",
    "GroupID": "ad1ff93a-2f84-48e3-b14f-08cd9f9b9e4d"
  },
  "originalCompany": "sample string 1",
  "targetGroups": [
    "2d71e4f6-b6ab-416f-a19f-dbd1824dd5ac",
    "83fe74bd-d4df-44c5-8737-628a751b5a45"
  ],
  "userCode": "sample string 2"
}

application/xml, text/xml

Sample:
<OtherStatisticRequestBaseOfIncomeProductTypeCriterialbfhj5NS 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>2d71e4f6-b6ab-416f-a19f-dbd1824dd5ac</d2p1:guid>
    <d2p1:guid>83fe74bd-d4df-44c5-8737-628a751b5a45</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 1</d2p1:CompanyCode>
    <d2p1:CompanyName>sample string 2</d2p1:CompanyName>
    <d2p1:Depts xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:guid>4f24941b-8306-4d64-be58-d099c4de7628</d3p1:guid>
      <d3p1:guid>1bbf643d-2766-4057-97d1-f670ecec4343</d3p1:guid>
    </d2p1:Depts>
    <d2p1:GroupID>ad1ff93a-2f84-48e3-b14f-08cd9f9b9e4d</d2p1:GroupID>
    <d2p1:GroupName>sample string 3</d2p1:GroupName>
    <d2p1:EndTime>2026-02-11T18:22:37.6607845+08:00</d2p1:EndTime>
    <d2p1:ProjectTypes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </d2p1:ProjectTypes>
    <d2p1:StartTime>2026-02-11T18:22:37.6607845+08:00</d2p1:StartTime>
  </Condition>
</OtherStatisticRequestBaseOfIncomeProductTypeCriterialbfhj5NS>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RemoteResponseOfOtherStatisticResponseBaseOfIncomeProductTypeModel
NameDescriptionTypeAdditional information
success

boolean

None.

errors

string

None.

unauthed

boolean

None.

result

OtherStatisticResponseBaseOfIncomeProductTypeModel

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": "56f26320-89b5-4c19-8c7b-007e3a6dc4a5",
          "GroupName": "sample string 2",
          "CompanyProjectList": [
            {
              "CompanyCode": "sample string 1",
              "CompanyName": "sample string 2",
              "ProjectList": [
                {
                  "ProjectTypeName": "sample string 1",
                  "ProjectType": 2,
                  "Amount": 3.0
                },
                {
                  "ProjectTypeName": "sample string 1",
                  "ProjectType": 2,
                  "Amount": 3.0
                }
              ]
            },
            {
              "CompanyCode": "sample string 1",
              "CompanyName": "sample string 2",
              "ProjectList": [
                {
                  "ProjectTypeName": "sample string 1",
                  "ProjectType": 2,
                  "Amount": 3.0
                },
                {
                  "ProjectTypeName": "sample string 1",
                  "ProjectType": 2,
                  "Amount": 3.0
                }
              ]
            }
          ]
        }
      },
      {
        "groupCode": "sample string 1",
        "groupName": "sample string 2",
        "result": {
          "GroupID": "56f26320-89b5-4c19-8c7b-007e3a6dc4a5",
          "GroupName": "sample string 2",
          "CompanyProjectList": [
            {
              "CompanyCode": "sample string 1",
              "CompanyName": "sample string 2",
              "ProjectList": [
                {
                  "ProjectTypeName": "sample string 1",
                  "ProjectType": 2,
                  "Amount": 3.0
                },
                {
                  "ProjectTypeName": "sample string 1",
                  "ProjectType": 2,
                  "Amount": 3.0
                }
              ]
            },
            {
              "CompanyCode": "sample string 1",
              "CompanyName": "sample string 2",
              "ProjectList": [
                {
                  "ProjectTypeName": "sample string 1",
                  "ProjectType": 2,
                  "Amount": 3.0
                },
                {
                  "ProjectTypeName": "sample string 1",
                  "ProjectType": 2,
                  "Amount": 3.0
                }
              ]
            }
          ]
        }
      }
    ]
  }
}

application/xml, text/xml

Sample:
<RemoteResponseOfOtherStatisticResponseBaseOfIncomeProductTypeModeldmGyRm56cebQ3WWF 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:OtherStatisticResultOfIncomeProductTypeModeldmGyRm56>
        <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:CompanyProjectList>
            <d5p1:ProjectCompanyModel>
              <d5p1:CompanyCode>sample string 1</d5p1:CompanyCode>
              <d5p1:CompanyName>sample string 2</d5p1:CompanyName>
              <d5p1:ProjectList>
                <d5p1:GroupProjectModel>
                  <d5p1:Amount>3</d5p1:Amount>
                  <d5p1:ProjectType>2</d5p1:ProjectType>
                  <d5p1:ProjectTypeName>sample string 1</d5p1:ProjectTypeName>
                </d5p1:GroupProjectModel>
                <d5p1:GroupProjectModel>
                  <d5p1:Amount>3</d5p1:Amount>
                  <d5p1:ProjectType>2</d5p1:ProjectType>
                  <d5p1:ProjectTypeName>sample string 1</d5p1:ProjectTypeName>
                </d5p1:GroupProjectModel>
              </d5p1:ProjectList>
            </d5p1:ProjectCompanyModel>
            <d5p1:ProjectCompanyModel>
              <d5p1:CompanyCode>sample string 1</d5p1:CompanyCode>
              <d5p1:CompanyName>sample string 2</d5p1:CompanyName>
              <d5p1:ProjectList>
                <d5p1:GroupProjectModel>
                  <d5p1:Amount>3</d5p1:Amount>
                  <d5p1:ProjectType>2</d5p1:ProjectType>
                  <d5p1:ProjectTypeName>sample string 1</d5p1:ProjectTypeName>
                </d5p1:GroupProjectModel>
                <d5p1:GroupProjectModel>
                  <d5p1:Amount>3</d5p1:Amount>
                  <d5p1:ProjectType>2</d5p1:ProjectType>
                  <d5p1:ProjectTypeName>sample string 1</d5p1:ProjectTypeName>
                </d5p1:GroupProjectModel>
              </d5p1:ProjectList>
            </d5p1:ProjectCompanyModel>
          </d5p1:CompanyProjectList>
          <d5p1:GroupID>56f26320-89b5-4c19-8c7b-007e3a6dc4a5</d5p1:GroupID>
          <d5p1:GroupName>sample string 2</d5p1:GroupName>
        </d2p1:Result>
      </d2p1:OtherStatisticResultOfIncomeProductTypeModeldmGyRm56>
      <d2p1:OtherStatisticResultOfIncomeProductTypeModeldmGyRm56>
        <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:CompanyProjectList>
            <d5p1:ProjectCompanyModel>
              <d5p1:CompanyCode>sample string 1</d5p1:CompanyCode>
              <d5p1:CompanyName>sample string 2</d5p1:CompanyName>
              <d5p1:ProjectList>
                <d5p1:GroupProjectModel>
                  <d5p1:Amount>3</d5p1:Amount>
                  <d5p1:ProjectType>2</d5p1:ProjectType>
                  <d5p1:ProjectTypeName>sample string 1</d5p1:ProjectTypeName>
                </d5p1:GroupProjectModel>
                <d5p1:GroupProjectModel>
                  <d5p1:Amount>3</d5p1:Amount>
                  <d5p1:ProjectType>2</d5p1:ProjectType>
                  <d5p1:ProjectTypeName>sample string 1</d5p1:ProjectTypeName>
                </d5p1:GroupProjectModel>
              </d5p1:ProjectList>
            </d5p1:ProjectCompanyModel>
            <d5p1:ProjectCompanyModel>
              <d5p1:CompanyCode>sample string 1</d5p1:CompanyCode>
              <d5p1:CompanyName>sample string 2</d5p1:CompanyName>
              <d5p1:ProjectList>
                <d5p1:GroupProjectModel>
                  <d5p1:Amount>3</d5p1:Amount>
                  <d5p1:ProjectType>2</d5p1:ProjectType>
                  <d5p1:ProjectTypeName>sample string 1</d5p1:ProjectTypeName>
                </d5p1:GroupProjectModel>
                <d5p1:GroupProjectModel>
                  <d5p1:Amount>3</d5p1:Amount>
                  <d5p1:ProjectType>2</d5p1:ProjectType>
                  <d5p1:ProjectTypeName>sample string 1</d5p1:ProjectTypeName>
                </d5p1:GroupProjectModel>
              </d5p1:ProjectList>
            </d5p1:ProjectCompanyModel>
          </d5p1:CompanyProjectList>
          <d5p1:GroupID>56f26320-89b5-4c19-8c7b-007e3a6dc4a5</d5p1:GroupID>
          <d5p1:GroupName>sample string 2</d5p1:GroupName>
        </d2p1:Result>
      </d2p1:OtherStatisticResultOfIncomeProductTypeModeldmGyRm56>
    </d2p1:Results>
  </Result>
  <Success>true</Success>
  <UnAuthorizedRequest>true</UnAuthorizedRequest>
</RemoteResponseOfOtherStatisticResponseBaseOfIncomeProductTypeModeldmGyRm56cebQ3WWF>