XML_MaterialSearchDescription

XML message about material search parameters

<MaterialSearchDescription version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
  <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>
  <approveState><!--optional, xs:string, approval status: "approved"-pass, "notPass"-not pass, "notApprove"-not approved, all--></approveState>
  <materialType><!--required, xs:string, material type: "static"-local material, "dynamic"-dynamic material, all--></materialType>
  <shareProperty><!--required, xs:string, shared property: public, private, all--></shareProperty>
  <uploader><!--optional, xs:string, uploader name--></uploader> 
  <staticMaterialType><!--required, xs:string, local material type: image, flash, video, audio, file, template, document, table, PDF, web, all--></staticMaterialType>
  <minStaticMaterialSize><!--required, xs:integer, the minimum size of a local material, unit: byte--></minStaticMaterialSize>
  <maxStaticMaterialSize><!--dependent, xs:integer, the maximum size of a local material, unit: byte--></maxStaticMaterialSize> 
  <dynamicMaterialType><!--dependent, xs:string, dynamic material type: "web"-web URL, socket, RSS, "realStream"-real-time stream, "generalData"-general data type, all--></dynamicMaterialType>
  <realStreamType><!--optional, xs:string, real-time stream material type: stream media server, normal network camera, all--></realStreamType>
  <TimeSpanList><!--optional-->
    <TimeSpan>
      <startTime><!--required, xs:time, start time (ISO 860 format)--></startTime>
      <endTime><!--required, xs:time, end time (ISO 860 format)--></endTime>
    </TimeSpan>
  </TimeSpanList>  
  <maxResults><!--optional, xs:integer, maximum number of returned results per search--></maxResults>
  <searchResultsPosition><!--optional, xs:integer, the end position of search result in result list--></searchResultsPosition>
  <generalDataType><!--optional, xs:string, third-party data type: "popPic"-pop-up image, call, all; this field is valid only when dynamicMaterialType is "generalData"--></generalDataType>
  <streamDataType><!--optional, xs:string, real-time stream type: capture, "liveVideo"-live video, all; this field is valid only when dynamicMaterialType is "normalIPC"--></streamDataType>
</MaterialSearchDescription>