XML_TerminalSearchResult

XML message about terminal search results

<TerminalSearchResult xmlns="http://www.isapi.org/ver20/XMLSchema" version="2.0" >
  <searchID>
    <!--required, xs:string, search ID, which is used to check whether the current search requester is the same; the search ID is valid for 5 minutes -->
  </searchID>
  <responseStatus>
    <!--required, xs: boolean, whether it is searched: "true"-yes, "false"-no-->
  </responseStatus>
  <responseStatusString>
    <!--required, xs:string, search status: "true+OK"-no more results, "true+MORE"-there are more results not returned, "FAILED"-search failed, "PARAM ERROR"incorrect parameters, "TIMEOUT"-timed out-->
  </responseStatusString>
  <totalMatches>
    <!--required, xs:integer, total number of matched results-->
  </totalMatches>
  <numOfMatches>
    <!--required, xs:integer, total number of returned results-->
  </numOfMatches>
  <TerminalInfoList>
    <!--optional, matched terminal information list-->
    <TerminalInfo>
      <id>
        <!--required, xs:integer, terminal ID-->
      </id>
      <terminalName>
        <!--required, xs:string, terminal name-->
      </terminalName>
      <terminalType>
        <!--required, xs:string, terminal type: Android normal, Android decode, Android touch-->
      </terminalType>
      <terminalRemarks>
        <!--req,xs:string-->
      </terminalRemarks>
      <orgName>
        <!--required, xs:string, organization name-->
      </orgName>
      <onlineState>
        <!--required, xs:string, online status: online, offline-->
      </onlineState>
      <IpAddress>
        <!--required, read-only, terminal IP address-->
        <ipVersion>
          <!--required, xs:string, IP type: IPv4, IPv6, IPv4 and IPv6-->
        </ipVersion>
        <ipAddress>
          <!--dependent, xs:string, terminal IP address-->
        </ipAddress>
        <ipv6Address>
          <!--dependent, xs:string, IPv6 address-->
        </ipv6Address>
      </IpAddress>
      <port>
        <!--required, xs:integer, terminal port No.-->
      </port>
      <serialNo>
        <!--required, xs:string, terminal serial No.-->
      </serialNo>
      <softwareVersion>
        <!--required, xs:string, software version-->
      </softwareVersion>
      <publishState>
        <!--required, xs:string, release status of program schedule: "publishing"-releasing, "success"-succeeded, failed, null-->
      </publishState>
      <insertState>
        <!--required, xs:string, cut-in status: "sending"-cutting in, "success"-succeeded, failed, null-->
      </insertState>
      <playState>
        <!--required, xs:string, playing status: HDMI, VGA, "schedulePlay"-play program schedule, "scheduleStop"-pause, "screenOff"-screen off-->
      </playState>
      <Resolution>
        <!--optional, resolution -->
        <width>
          <!--required, xs:integer, width-->
        </width>
        <height>
          <!--required, xs:integer, height-->
        </height>
      </Resolution>
      <operateType>
        <!--optional, xs:string, operations: "None"-no operation, "powerOn"-startup, "powerOff"-shutdown, reboot, "startPlay"-start playing, "stopPlay"-stop playing, "stopInsert"-stop cutting in, "timingSwitchEffective"-enable startup/shutdown schedule, "timingSwitchFailed"-disable startup/shutdown schedule, "timingVolumeEffective"-enable volume schedule, "timingVolumeFailed"-disable volume schedule, "timingInputSwitchConfig"-input switch schedule configuration, "timingInputSwitchEffective"-enable input switch schedule, "timingInputSwitchFailed"-disable input switch schedule, "restoreConfig"-restore default settings, "timingVolumeConfig"-volume schedule configuration, "timingSwitchConfig"-startup/shutdown schedule configuration, "outputVolumeConfig"-volume configuration, "lightConfig"-
brightness configuration, "logoConfig"-logo configuration, "containerEnableConfig"-whether to enable default schedule, "adbDebug"-terminal debug configuration, "terminalTimeZone"-terminal time zone configuration, "sadp"-SADP configuration, "terminalMgrServerConfig"-terminal management server configuration, "channelConfig"-channellinkage configuration, "terminalProgressShow"-display terminal progress, "terminalProgressHide"-hide terminal progress, "terminalResolutionConfig"-configure terminal resolution, "terminalNTPConfig"-configure terminal NTP, "terminalPlayInfoDel"-remove terminal playing information, "modifyTerminalPassword"-edit terminal password-->
      </operateType>
      <operateStatus>
        <!--optional, xs:string, operation mode status: "None"-no operation, "success"-succeeded, failed-->
      </operateStatus>
      <failedReason>
        <!--optional, xs:string, failure reason-->
      </failedReason>
    </TerminalInfo>
  </TerminalInfoList>
  <totalOnlineNum>
    <!--required, xs:integer, total number of online terminals -->
  </totalOnlineNum>
</TerminalSearchResult>