POST Statistic/GetNewCustomerAnalysis

Request Information

URI Parameters

None.

Body Parameters

OtherStatisticRequestBaseOfNewCustomerAnalysisCriteria
NameDescriptionTypeAdditional information
Condition

NewCustomerAnalysisCriteria

None.

originalCompany

string

None.

targetGroups

Collection of globally unique identifier

None.

userCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Condition": {
    "StartTime": "2026-09-01T21:37:23.0325705+08:00",
    "EndTime": "2026-09-01T21:37:23.0325705+08:00",
    "GroupIDS": [
      "432e54c0-dd3e-4312-990e-7d8dc99e93f2",
      "f1f15267-d297-48ee-83e0-8457d2853df8"
    ],
    "DeptIDS": [
      "69861dc2-9ee1-40bd-b9e4-cc637cf2d4a8",
      "3ca89675-0266-4a9e-901f-91682cde5f82"
    ],
    "CompanyCode": "sample string 1",
    "CompanyName": "sample string 2",
    "GroupID": "2cd15a5d-9cca-4faa-a780-1935971e8d58",
    "GroupName": "sample string 4"
  },
  "originalCompany": "sample string 1",
  "targetGroups": [
    "02457b77-f8d7-4a6d-b37d-370a0d151774",
    "f842b968-f9f3-47e4-b79f-52ca9aebedaf"
  ],
  "userCode": "sample string 2"
}

application/xml, text/xml

Sample:
<OtherStatisticRequestBaseOfNewCustomerAnalysisCriteriadmGyRm56 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>02457b77-f8d7-4a6d-b37d-370a0d151774</d2p1:guid>
    <d2p1:guid>f842b968-f9f3-47e4-b79f-52ca9aebedaf</d2p1:guid>
  </TargetGroups>
  <UserCode>sample string 2</UserCode>
  <Condition xmlns:d2p1="http://schemas.datacontract.org/2004/07/GJ.WEM.Biz.Model">
    <d2p1:CompanyCode>sample string 1</d2p1:CompanyCode>
    <d2p1:CompanyName>sample string 2</d2p1:CompanyName>
    <d2p1:DeptIDS xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:guid>69861dc2-9ee1-40bd-b9e4-cc637cf2d4a8</d3p1:guid>
      <d3p1:guid>3ca89675-0266-4a9e-901f-91682cde5f82</d3p1:guid>
    </d2p1:DeptIDS>
    <d2p1:GroupID>2cd15a5d-9cca-4faa-a780-1935971e8d58</d2p1:GroupID>
    <d2p1:GroupIDS xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:guid>432e54c0-dd3e-4312-990e-7d8dc99e93f2</d3p1:guid>
      <d3p1:guid>f1f15267-d297-48ee-83e0-8457d2853df8</d3p1:guid>
    </d2p1:GroupIDS>
    <d2p1:GroupName>sample string 4</d2p1:GroupName>
    <d2p1:EndTime>2026-09-01T21:37:23.0325705+08:00</d2p1:EndTime>
    <d2p1:StartTime>2026-09-01T21:37:23.0325705+08:00</d2p1:StartTime>
  </Condition>
</OtherStatisticRequestBaseOfNewCustomerAnalysisCriteriadmGyRm56>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RemoteResponseOfOtherStatisticResponseBaseOfNewCustomerAnalysisModel
NameDescriptionTypeAdditional information
success

boolean

None.

errors

string

None.

unauthed

boolean

None.

result

OtherStatisticResponseBaseOfNewCustomerAnalysisModel

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": "4a2c6b3e-8236-4a7f-97e9-27a89079e640",
          "GroupName": "sample string 2",
          "CustomerList": [
            {
              "CompanyCode": "sample string 1",
              "CompanyName": "sample string 2",
              "Customers": [
                {
                  "CustomerName": "sample string 1",
                  "CustomerLevel": "sample string 2",
                  "CustomerLeader": "sample string 3",
                  "LastDate": "2026-09-01T21:37:23.0462451+08:00"
                },
                {
                  "CustomerName": "sample string 1",
                  "CustomerLevel": "sample string 2",
                  "CustomerLeader": "sample string 3",
                  "LastDate": "2026-09-01T21:37:23.0462451+08:00"
                }
              ]
            },
            {
              "CompanyCode": "sample string 1",
              "CompanyName": "sample string 2",
              "Customers": [
                {
                  "CustomerName": "sample string 1",
                  "CustomerLevel": "sample string 2",
                  "CustomerLeader": "sample string 3",
                  "LastDate": "2026-09-01T21:37:23.0462451+08:00"
                },
                {
                  "CustomerName": "sample string 1",
                  "CustomerLevel": "sample string 2",
                  "CustomerLeader": "sample string 3",
                  "LastDate": "2026-09-01T21:37:23.0462451+08:00"
                }
              ]
            }
          ]
        }
      },
      {
        "groupCode": "sample string 1",
        "groupName": "sample string 2",
        "result": {
          "GroupID": "4a2c6b3e-8236-4a7f-97e9-27a89079e640",
          "GroupName": "sample string 2",
          "CustomerList": [
            {
              "CompanyCode": "sample string 1",
              "CompanyName": "sample string 2",
              "Customers": [
                {
                  "CustomerName": "sample string 1",
                  "CustomerLevel": "sample string 2",
                  "CustomerLeader": "sample string 3",
                  "LastDate": "2026-09-01T21:37:23.0462451+08:00"
                },
                {
                  "CustomerName": "sample string 1",
                  "CustomerLevel": "sample string 2",
                  "CustomerLeader": "sample string 3",
                  "LastDate": "2026-09-01T21:37:23.0462451+08:00"
                }
              ]
            },
            {
              "CompanyCode": "sample string 1",
              "CompanyName": "sample string 2",
              "Customers": [
                {
                  "CustomerName": "sample string 1",
                  "CustomerLevel": "sample string 2",
                  "CustomerLeader": "sample string 3",
                  "LastDate": "2026-09-01T21:37:23.0462451+08:00"
                },
                {
                  "CustomerName": "sample string 1",
                  "CustomerLevel": "sample string 2",
                  "CustomerLeader": "sample string 3",
                  "LastDate": "2026-09-01T21:37:23.0462451+08:00"
                }
              ]
            }
          ]
        }
      }
    ]
  }
}

application/xml, text/xml

Sample:
<RemoteResponseOfOtherStatisticResponseBaseOfNewCustomerAnalysisModeldmGyRm56cebQ3WWF 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:OtherStatisticResultOfNewCustomerAnalysisModeldmGyRm56>
        <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:GroupCompanyCustomerModel>
              <d5p1:CompanyCode>sample string 1</d5p1:CompanyCode>
              <d5p1:CompanyName>sample string 2</d5p1:CompanyName>
              <d5p1:Customers>
                <d5p1:GroupCustomerModel>
                  <d5p1:CustomerLeader>sample string 3</d5p1:CustomerLeader>
                  <d5p1:CustomerLevel>sample string 2</d5p1:CustomerLevel>
                  <d5p1:CustomerName>sample string 1</d5p1:CustomerName>
                  <d5p1:LastDate>2026-09-01T21:37:23.0462451+08:00</d5p1:LastDate>
                </d5p1:GroupCustomerModel>
                <d5p1:GroupCustomerModel>
                  <d5p1:CustomerLeader>sample string 3</d5p1:CustomerLeader>
                  <d5p1:CustomerLevel>sample string 2</d5p1:CustomerLevel>
                  <d5p1:CustomerName>sample string 1</d5p1:CustomerName>
                  <d5p1:LastDate>2026-09-01T21:37:23.0462451+08:00</d5p1:LastDate>
                </d5p1:GroupCustomerModel>
              </d5p1:Customers>
            </d5p1:GroupCompanyCustomerModel>
            <d5p1:GroupCompanyCustomerModel>
              <d5p1:CompanyCode>sample string 1</d5p1:CompanyCode>
              <d5p1:CompanyName>sample string 2</d5p1:CompanyName>
              <d5p1:Customers>
                <d5p1:GroupCustomerModel>
                  <d5p1:CustomerLeader>sample string 3</d5p1:CustomerLeader>
                  <d5p1:CustomerLevel>sample string 2</d5p1:CustomerLevel>
                  <d5p1:CustomerName>sample string 1</d5p1:CustomerName>
                  <d5p1:LastDate>2026-09-01T21:37:23.0462451+08:00</d5p1:LastDate>
                </d5p1:GroupCustomerModel>
                <d5p1:GroupCustomerModel>
                  <d5p1:CustomerLeader>sample string 3</d5p1:CustomerLeader>
                  <d5p1:CustomerLevel>sample string 2</d5p1:CustomerLevel>
                  <d5p1:CustomerName>sample string 1</d5p1:CustomerName>
                  <d5p1:LastDate>2026-09-01T21:37:23.0462451+08:00</d5p1:LastDate>
                </d5p1:GroupCustomerModel>
              </d5p1:Customers>
            </d5p1:GroupCompanyCustomerModel>
          </d5p1:CustomerList>
          <d5p1:GroupID>4a2c6b3e-8236-4a7f-97e9-27a89079e640</d5p1:GroupID>
          <d5p1:GroupName>sample string 2</d5p1:GroupName>
        </d2p1:Result>
      </d2p1:OtherStatisticResultOfNewCustomerAnalysisModeldmGyRm56>
      <d2p1:OtherStatisticResultOfNewCustomerAnalysisModeldmGyRm56>
        <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:GroupCompanyCustomerModel>
              <d5p1:CompanyCode>sample string 1</d5p1:CompanyCode>
              <d5p1:CompanyName>sample string 2</d5p1:CompanyName>
              <d5p1:Customers>
                <d5p1:GroupCustomerModel>
                  <d5p1:CustomerLeader>sample string 3</d5p1:CustomerLeader>
                  <d5p1:CustomerLevel>sample string 2</d5p1:CustomerLevel>
                  <d5p1:CustomerName>sample string 1</d5p1:CustomerName>
                  <d5p1:LastDate>2026-09-01T21:37:23.0462451+08:00</d5p1:LastDate>
                </d5p1:GroupCustomerModel>
                <d5p1:GroupCustomerModel>
                  <d5p1:CustomerLeader>sample string 3</d5p1:CustomerLeader>
                  <d5p1:CustomerLevel>sample string 2</d5p1:CustomerLevel>
                  <d5p1:CustomerName>sample string 1</d5p1:CustomerName>
                  <d5p1:LastDate>2026-09-01T21:37:23.0462451+08:00</d5p1:LastDate>
                </d5p1:GroupCustomerModel>
              </d5p1:Customers>
            </d5p1:GroupCompanyCustomerModel>
            <d5p1:GroupCompanyCustomerModel>
              <d5p1:CompanyCode>sample string 1</d5p1:CompanyCode>
              <d5p1:CompanyName>sample string 2</d5p1:CompanyName>
              <d5p1:Customers>
                <d5p1:GroupCustomerModel>
                  <d5p1:CustomerLeader>sample string 3</d5p1:CustomerLeader>
                  <d5p1:CustomerLevel>sample string 2</d5p1:CustomerLevel>
                  <d5p1:CustomerName>sample string 1</d5p1:CustomerName>
                  <d5p1:LastDate>2026-09-01T21:37:23.0462451+08:00</d5p1:LastDate>
                </d5p1:GroupCustomerModel>
                <d5p1:GroupCustomerModel>
                  <d5p1:CustomerLeader>sample string 3</d5p1:CustomerLeader>
                  <d5p1:CustomerLevel>sample string 2</d5p1:CustomerLevel>
                  <d5p1:CustomerName>sample string 1</d5p1:CustomerName>
                  <d5p1:LastDate>2026-09-01T21:37:23.0462451+08:00</d5p1:LastDate>
                </d5p1:GroupCustomerModel>
              </d5p1:Customers>
            </d5p1:GroupCompanyCustomerModel>
          </d5p1:CustomerList>
          <d5p1:GroupID>4a2c6b3e-8236-4a7f-97e9-27a89079e640</d5p1:GroupID>
          <d5p1:GroupName>sample string 2</d5p1:GroupName>
        </d2p1:Result>
      </d2p1:OtherStatisticResultOfNewCustomerAnalysisModeldmGyRm56>
    </d2p1:Results>
  </Result>
  <Success>true</Success>
  <UnAuthorizedRequest>true</UnAuthorizedRequest>
</RemoteResponseOfOtherStatisticResponseBaseOfNewCustomerAnalysisModeldmGyRm56cebQ3WWF>