GET Statistic/GetCollaborativeCustType

Request Information

URI Parameters

None.

Body Parameters

OtherStatisticRequestBaseOfCollaborativeCustTypeCriteria
NameDescriptionTypeAdditional information
Condition

CollaborativeCustTypeCriteria

None.

originalCompany

string

None.

targetGroups

Collection of globally unique identifier

None.

userCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Condition": {
    "StartTime": "2025-12-11T22:55:54.7125128+08:00",
    "EndTime": "2025-12-11T22:55:54.7125128+08:00",
    "ProjectTypes": [
      1,
      2
    ],
    "CustomeTypes": [
      1,
      2
    ],
    "CustomeLevels": [
      1,
      2
    ],
    "CustomeID": "25a53e7d-62f1-4586-a1a6-a8072e38dd4e",
    "CustomeLeader": "036722d6-25f3-411a-af0c-f822b8b822b0",
    "CompanyCode": "sample string 3",
    "CompanyName": "sample string 4",
    "Depts": [
      "9b306cd1-78de-4633-8322-d0220bd322ae",
      "7920e1de-528b-4930-b495-f72b0140f8b6"
    ],
    "GroupName": "sample string 5",
    "GroupID": "30ed019e-9ef6-4a8a-897b-5784679c382c"
  },
  "originalCompany": "sample string 1",
  "targetGroups": [
    "77151be4-bc60-43a6-bb3e-e5d2744562b0",
    "2809ea38-a05c-4eb0-90fd-c65cb1ad21be"
  ],
  "userCode": "sample string 2"
}

application/xml, text/xml

Sample:
<OtherStatisticRequestBaseOfCollaborativeCustTypeCriterialbfhj5NS 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>77151be4-bc60-43a6-bb3e-e5d2744562b0</d2p1:guid>
    <d2p1:guid>2809ea38-a05c-4eb0-90fd-c65cb1ad21be</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>9b306cd1-78de-4633-8322-d0220bd322ae</d3p1:guid>
      <d3p1:guid>7920e1de-528b-4930-b495-f72b0140f8b6</d3p1:guid>
    </d2p1:Depts>
    <d2p1:GroupID>30ed019e-9ef6-4a8a-897b-5784679c382c</d2p1:GroupID>
    <d2p1:GroupName>sample string 5</d2p1:GroupName>
    <d2p1:CustomeID>25a53e7d-62f1-4586-a1a6-a8072e38dd4e</d2p1:CustomeID>
    <d2p1:CustomeLeader>036722d6-25f3-411a-af0c-f822b8b822b0</d2p1:CustomeLeader>
    <d2p1:CustomeLevels xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </d2p1:CustomeLevels>
    <d2p1:CustomeTypes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </d2p1:CustomeTypes>
    <d2p1:EndTime>2025-12-11T22:55:54.7125128+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:54.7125128+08:00</d2p1:StartTime>
  </Condition>
</OtherStatisticRequestBaseOfCollaborativeCustTypeCriterialbfhj5NS>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RemoteResponseOfOtherStatisticResponseBaseOfCollaborativeCustTypeModel
NameDescriptionTypeAdditional information
success

boolean

None.

errors

string

None.

unauthed

boolean

None.

result

OtherStatisticResponseBaseOfCollaborativeCustTypeModel

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": "a69b4af1-7ecc-4428-9ad0-ed47a14170eb",
          "GroupName": "sample string 2",
          "Count": 3,
          "CompanyCustomers": [
            {
              "CompanyCode": "sample string 1",
              "CompanyName": "sample string 2",
              "CustomerStypes": [
                {
                  "CustomerStypeName": "sample string 1",
                  "Count": 2,
                  "Ratio": 3.0
                },
                {
                  "CustomerStypeName": "sample string 1",
                  "Count": 2,
                  "Ratio": 3.0
                }
              ]
            },
            {
              "CompanyCode": "sample string 1",
              "CompanyName": "sample string 2",
              "CustomerStypes": [
                {
                  "CustomerStypeName": "sample string 1",
                  "Count": 2,
                  "Ratio": 3.0
                },
                {
                  "CustomerStypeName": "sample string 1",
                  "Count": 2,
                  "Ratio": 3.0
                }
              ]
            }
          ]
        }
      },
      {
        "groupCode": "sample string 1",
        "groupName": "sample string 2",
        "result": {
          "GroupID": "a69b4af1-7ecc-4428-9ad0-ed47a14170eb",
          "GroupName": "sample string 2",
          "Count": 3,
          "CompanyCustomers": [
            {
              "CompanyCode": "sample string 1",
              "CompanyName": "sample string 2",
              "CustomerStypes": [
                {
                  "CustomerStypeName": "sample string 1",
                  "Count": 2,
                  "Ratio": 3.0
                },
                {
                  "CustomerStypeName": "sample string 1",
                  "Count": 2,
                  "Ratio": 3.0
                }
              ]
            },
            {
              "CompanyCode": "sample string 1",
              "CompanyName": "sample string 2",
              "CustomerStypes": [
                {
                  "CustomerStypeName": "sample string 1",
                  "Count": 2,
                  "Ratio": 3.0
                },
                {
                  "CustomerStypeName": "sample string 1",
                  "Count": 2,
                  "Ratio": 3.0
                }
              ]
            }
          ]
        }
      }
    ]
  }
}

application/xml, text/xml

Sample:
<RemoteResponseOfOtherStatisticResponseBaseOfCollaborativeCustTypeModeldmGyRm56cebQ3WWF 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:OtherStatisticResultOfCollaborativeCustTypeModeldmGyRm56>
        <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:CompanyCustomers>
            <d5p1:CustomerCompanyModel>
              <d5p1:CompanyCode>sample string 1</d5p1:CompanyCode>
              <d5p1:CompanyName>sample string 2</d5p1:CompanyName>
              <d5p1:CustomerStypes>
                <d5p1:CustomerStypeModel>
                  <d5p1:Count>2</d5p1:Count>
                  <d5p1:CustomerStypeName>sample string 1</d5p1:CustomerStypeName>
                  <d5p1:Ratio>3</d5p1:Ratio>
                </d5p1:CustomerStypeModel>
                <d5p1:CustomerStypeModel>
                  <d5p1:Count>2</d5p1:Count>
                  <d5p1:CustomerStypeName>sample string 1</d5p1:CustomerStypeName>
                  <d5p1:Ratio>3</d5p1:Ratio>
                </d5p1:CustomerStypeModel>
              </d5p1:CustomerStypes>
            </d5p1:CustomerCompanyModel>
            <d5p1:CustomerCompanyModel>
              <d5p1:CompanyCode>sample string 1</d5p1:CompanyCode>
              <d5p1:CompanyName>sample string 2</d5p1:CompanyName>
              <d5p1:CustomerStypes>
                <d5p1:CustomerStypeModel>
                  <d5p1:Count>2</d5p1:Count>
                  <d5p1:CustomerStypeName>sample string 1</d5p1:CustomerStypeName>
                  <d5p1:Ratio>3</d5p1:Ratio>
                </d5p1:CustomerStypeModel>
                <d5p1:CustomerStypeModel>
                  <d5p1:Count>2</d5p1:Count>
                  <d5p1:CustomerStypeName>sample string 1</d5p1:CustomerStypeName>
                  <d5p1:Ratio>3</d5p1:Ratio>
                </d5p1:CustomerStypeModel>
              </d5p1:CustomerStypes>
            </d5p1:CustomerCompanyModel>
          </d5p1:CompanyCustomers>
          <d5p1:Count>3</d5p1:Count>
          <d5p1:GroupID>a69b4af1-7ecc-4428-9ad0-ed47a14170eb</d5p1:GroupID>
          <d5p1:GroupName>sample string 2</d5p1:GroupName>
        </d2p1:Result>
      </d2p1:OtherStatisticResultOfCollaborativeCustTypeModeldmGyRm56>
      <d2p1:OtherStatisticResultOfCollaborativeCustTypeModeldmGyRm56>
        <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:CompanyCustomers>
            <d5p1:CustomerCompanyModel>
              <d5p1:CompanyCode>sample string 1</d5p1:CompanyCode>
              <d5p1:CompanyName>sample string 2</d5p1:CompanyName>
              <d5p1:CustomerStypes>
                <d5p1:CustomerStypeModel>
                  <d5p1:Count>2</d5p1:Count>
                  <d5p1:CustomerStypeName>sample string 1</d5p1:CustomerStypeName>
                  <d5p1:Ratio>3</d5p1:Ratio>
                </d5p1:CustomerStypeModel>
                <d5p1:CustomerStypeModel>
                  <d5p1:Count>2</d5p1:Count>
                  <d5p1:CustomerStypeName>sample string 1</d5p1:CustomerStypeName>
                  <d5p1:Ratio>3</d5p1:Ratio>
                </d5p1:CustomerStypeModel>
              </d5p1:CustomerStypes>
            </d5p1:CustomerCompanyModel>
            <d5p1:CustomerCompanyModel>
              <d5p1:CompanyCode>sample string 1</d5p1:CompanyCode>
              <d5p1:CompanyName>sample string 2</d5p1:CompanyName>
              <d5p1:CustomerStypes>
                <d5p1:CustomerStypeModel>
                  <d5p1:Count>2</d5p1:Count>
                  <d5p1:CustomerStypeName>sample string 1</d5p1:CustomerStypeName>
                  <d5p1:Ratio>3</d5p1:Ratio>
                </d5p1:CustomerStypeModel>
                <d5p1:CustomerStypeModel>
                  <d5p1:Count>2</d5p1:Count>
                  <d5p1:CustomerStypeName>sample string 1</d5p1:CustomerStypeName>
                  <d5p1:Ratio>3</d5p1:Ratio>
                </d5p1:CustomerStypeModel>
              </d5p1:CustomerStypes>
            </d5p1:CustomerCompanyModel>
          </d5p1:CompanyCustomers>
          <d5p1:Count>3</d5p1:Count>
          <d5p1:GroupID>a69b4af1-7ecc-4428-9ad0-ed47a14170eb</d5p1:GroupID>
          <d5p1:GroupName>sample string 2</d5p1:GroupName>
        </d2p1:Result>
      </d2p1:OtherStatisticResultOfCollaborativeCustTypeModeldmGyRm56>
    </d2p1:Results>
  </Result>
  <Success>true</Success>
  <UnAuthorizedRequest>true</UnAuthorizedRequest>
</RemoteResponseOfOtherStatisticResponseBaseOfCollaborativeCustTypeModeldmGyRm56cebQ3WWF>