updateSchedules.xml 1.3 KB

12345678910111213141516171819202122232425
  1. <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:cm="http://developer.cognos.com/schemas/bibus/3/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:bus="http://developer.cognos.com/schemas/bibus/3/" xmlns:rns1="http://developer.cognos.com/schemas/reportService/1">
  2. <SOAP-ENV:Header>
  3. <bus:biBusHeader xsi:type="bus:biBusHeader">
  4. <bus:CAF xsi:type="bus:CAF">
  5. <contextID xsi:type="xsd:string">{{=it.cafContextId}}</contextID>
  6. </bus:CAF>
  7. </bus:biBusHeader>
  8. </SOAP-ENV:Header>
  9. <SOAP-ENV:Body>
  10. <cm1:update xmlns:cm1="http://developer.cognos.com/schemas/contentManagerService/1">
  11. <objects xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="bus:baseClass[]">
  12. {{~it.schedules: schedule}}
  13. <item xsi:type="cm:schedule">
  14. <searchPath xsi:type="bus:stringProp">
  15. <value xsi:type="xsd:string">storeID('{{=schedule.id}}')</value>
  16. </searchPath>
  17. <active xsi:type="cm:anyTypeProp">
  18. <value xsi:type="xsd:string" xml:space="preserve">{{=schedule.enable}}</value>
  19. </active>
  20. </item>
  21. {{~}}
  22. </objects>
  23. </cm1:update>
  24. </SOAP-ENV:Body>
  25. </SOAP-ENV:Envelope>