XML_ProgramSearchResult

XML message about search results of program

<ProgramSearchResult 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>
  <MatchElementList>
    <!--optional, list of matched programs-->
    <MatchElement>
      <!--list,required-->
      <id>
        <!--required, xs:integer, program ID-->
      </id>
      <programName>
        <!--required, xs:string, program name-->
      </programName>
      <programRemarks>
        <!--required, xs:string, program description-->
      </programRemarks>
      <shareProperty>
        <!--optional, xs:string, shared property: private, public-->
      </shareProperty>
      <approveState>
        <!--optional, xs:string, approval status: "approved"-pass, "notPass"-not pass, "notApprove"-not approved-->
      </approveState>
      <approveRemarks>
        <!--optional, xs:string, approval remarks-->
      </approveRemarks>
      <Resolution>
        <!--required, program resolution-->
        <resolutionName>
          <!--optional, xs:string, resolution name-->
        </resolutionName>
        <imageWidth>
          <!--required, xs:integer-->
        </imageWidth>
        <imageHeight>
          <!--required, xs:integer-->
        </imageHeight>
      </Resolution>
      <programSize>
        <!--required, xs:integer, total size of the program, unit: byte-->
      </programSize>
      <programLength>
        <!--required, xs:integer, program duration, unit:second-->
      </programLength>
      <moder>
        <!--optional, xs:string-->
      </moder>
      <modeTime>
        <!--optional, xs:string, editing time (ISO 8601 format)-->
      </modeTime>
      <orgName>
        <!--optional, xs:string-->
      </orgName>
      <programType>
        <!--optional, xs:string,"normal,decode,touch,decodeTouch"-->
      </programType>
    </MatchElement>
  </MatchElementList>
</ProgramSearchResult>