White Papers

16
To schedule the automatic collection on Monday of the 2nd week of month, every quarter:
<?xml version="1.0"?>
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsman="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd"
xmlns:n1="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_LCService">
<s:Header>
<wsa:Action s:mustUnderstand="true">http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService/SupportAssistSetAutoCollectSchedule</wsa:Action>
<wsa:To s:mustUnderstand="true">https://100.97.151.51:443/wsman</wsa:To>
<wsman:ResourceURI s:mustUnderstand="true">http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService</wsman:ResourceURI>
<wsa:MessageID s:mustUnderstand="true">uuid:a1976d32-4fdd-1fdd-8002-
6cbb576a0064</wsa:MessageID>
<wsa:ReplyTo>
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
</wsa:ReplyTo>
<wsman:SelectorSet>
<wsman:Selector Name="Name">DCIM:LCService</wsman:Selector>
<wsman:Selector Name="SystemName">DCIM:ComputerSystem</wsman:Selector>
<wsman:Selector Name="CreationClassName">DCIM_LCService</wsman:Selector>
<wsman:Selector Name="SystemCreationClassName">DCIM_ComputerSystem</wsman:Selector>
</wsman:SelectorSet>
</s:Header>
<s:Body>
<n1:SupportAssistSetAutoCollectSchedule_INPUT>
<n1:Time>3:55 AM</n1:Time>
<n1:WeekOfMonth>2</n1:WeekOfMonth>
<n1:DayOfWeek>2</n1:DayOfWeek>
<n1:Recurrence>1</n1:Recurrence>
</n1:SupportAssistSetAutoCollectSchedule_INPUT>
</s:Body>
</s:Envelope>
WSMAN Output SOAP Packet:
<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:n1="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_LCService">
<s:Header>
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
<wsa:Action>http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LCService/SupportAssistSetAutoCollectScheduleResponse</wsa:Action>
<wsa:RelatesTo>uuid:99102e20-4fdd-1fdd-8002-6cbb576a0064</wsa:RelatesTo>
<wsa:MessageID>uuid:0db4d820-4faf-1faf-832d-96ffd5eb7b84</wsa:MessageID>
</s:Header>
<s:Body>
<n1:SupportAssistSetAutoCollectSchedule_OUTPUT>
<n1:Message>Command successful.</n1:Message>
<n1:MessageID>LC001</n1:MessageID>
<n1:ReturnValue>0</n1:ReturnValue>
</n1:SupportAssistSetAutoCollectSchedule_OUTPUT>
</s:Body>
</s:Envelope>DCIM_LCService.SupportAssistGetAutoCollectSchedule