5 using the delete function on a scheduler, Using the delete function on a scheduler -17 – Echelon i.LON SmartServer 2.0 User Manual

Page 148

Advertising
background image

i.LON SmartServer 2.0 Programmer’s Reference

9-17

<UCPTfaultCount>0</UCPTfaultCount>

<Item>
<UCPTname>Net/LON/iLON

App/Scheduler[0]</UCPTname>

</Item>
</iLonItem>
</SetResponse>

9.3.5

Using the Delete Function on a Scheduler

You can use the Delete function to delete a Scheduler. To delete a Scheduler, you provide an <Item>
element with a UFPTscheduler_Cfg type that includes the <UCPTname> property of the scheduler to
be deleted. The following code sample demonstrates how to use the Delete function to delete a
Scheduler:

Request

<Delete xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem>
<Item

xsi:type="UFPTscheduler_Cfg">

<UCPTname>Net/LON/iLON

App/Scheduler[0]</UCPTname>

</Item>
</iLonItem>
</Delete>

Response

<DeleteResponse xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLonItem >

<UCPTfaultCount>0</UCPTfaultCount>

<Item>
<UCPTname>Net/LON/iLON

App/Scheduler[0]</UCPTname>

</Item>
</iLonItem>
</DeleteResponse>

Advertising