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-12-01T13:34:30.9338392+08:00",
    "EndTime": "2026-12-01T13:34:30.9348149+08:00",
    "CompanyCode": "sample string 1",
    "CompanyName": "sample string 2",
    "Depts": [
      "ff556bfa-8c37-4a40-84b9-3955837062a1",
      "e2ac21f7-2219-48b4-920b-e485f21fc879"
    ],
    "GroupName": "sample string 3",
    "GroupID": "569aacfc-ee6f-4c1c-8397-fcdb9bd45be3"
  },
  "originalCompany": "sample string 1",
  "targetGroups": [
    "ecb537ca-ca52-4e44-baf5-c345899fda40",
    "2cf60352-a96f-46c0-8577-21bfb24da4f8"
  ],
  "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>ecb537ca-ca52-4e44-baf5-c345899fda40</d2p1:guid>
    <d2p1:guid>2cf60352-a96f-46c0-8577-21bfb24da4f8</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>ff556bfa-8c37-4a40-84b9-3955837062a1</d3p1:guid>
      <d3p1:guid>e2ac21f7-2219-48b4-920b-e485f21fc879</d3p1:guid>
    </d2p1:Depts>
    <d2p1:GroupID>569aacfc-ee6f-4c1c-8397-fcdb9bd45be3</d2p1:GroupID>
    <d2p1:GroupName>sample string 3</d2p1:GroupName>
    <d2p1:EndTime>2026-12-01T13:34:30.9348149+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-12-01T13:34:30.9338392+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": "979d3e58-b59a-4f24-9686-f41c9559963f",
          "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": "979d3e58-b59a-4f24-9686-f41c9559963f",
          "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>979d3e58-b59a-4f24-9686-f41c9559963f</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>979d3e58-b59a-4f24-9686-f41c9559963f</d5p1:GroupID>
          <d5p1:GroupName>sample string 2</d5p1:GroupName>
        </d2p1:Result>
      </d2p1:OtherStatisticResultOfIncomeProductTypeModeldmGyRm56>
    </d2p1:Results>
  </Result>
  <Success>true</Success>
  <UnAuthorizedRequest>true</UnAuthorizedRequest>
</RemoteResponseOfOtherStatisticResponseBaseOfIncomeProductTypeModeldmGyRm56cebQ3WWF>