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": "2025-12-11T22:55:53.4108127+08:00",
    "EndTime": "2025-12-11T22:55:53.4108127+08:00",
    "CompanyCode": "sample string 1",
    "CompanyName": "sample string 2",
    "Depts": [
      "f1067f45-8dd4-4dd1-8fc1-f0fb18a5a305",
      "3ef477bc-5a78-402c-900d-b6cd57e8b439"
    ],
    "GroupName": "sample string 3",
    "GroupID": "b6fd6bbb-c022-490b-8feb-58f7580d7d9c"
  },
  "originalCompany": "sample string 1",
  "targetGroups": [
    "db51eb8e-d9a2-4e01-858b-5e49e10b84b3",
    "7bafe517-11ce-4136-8da2-471a8e99532c"
  ],
  "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>db51eb8e-d9a2-4e01-858b-5e49e10b84b3</d2p1:guid>
    <d2p1:guid>7bafe517-11ce-4136-8da2-471a8e99532c</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>f1067f45-8dd4-4dd1-8fc1-f0fb18a5a305</d3p1:guid>
      <d3p1:guid>3ef477bc-5a78-402c-900d-b6cd57e8b439</d3p1:guid>
    </d2p1:Depts>
    <d2p1:GroupID>b6fd6bbb-c022-490b-8feb-58f7580d7d9c</d2p1:GroupID>
    <d2p1:GroupName>sample string 3</d2p1:GroupName>
    <d2p1:EndTime>2025-12-11T22:55:53.4108127+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>2025-12-11T22:55:53.4108127+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": "1380fa75-cf99-44cf-960d-6b573ea3372b",
          "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": "1380fa75-cf99-44cf-960d-6b573ea3372b",
          "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>1380fa75-cf99-44cf-960d-6b573ea3372b</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>1380fa75-cf99-44cf-960d-6b573ea3372b</d5p1:GroupID>
          <d5p1:GroupName>sample string 2</d5p1:GroupName>
        </d2p1:Result>
      </d2p1:OtherStatisticResultOfIncomeProductTypeModeldmGyRm56>
    </d2p1:Results>
  </Result>
  <Success>true</Success>
  <UnAuthorizedRequest>true</UnAuthorizedRequest>
</RemoteResponseOfOtherStatisticResponseBaseOfIncomeProductTypeModeldmGyRm56cebQ3WWF>