Changes between Version 23 and Version 24 of SQR


Ignore:
Timestamp:
Nov 5, 2010, 9:27:22 AM (14 years ago)
Author:
claudia.villalonga
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SQR

    v23 v24  
    273273The execution of an actuation task requires sending the following request HTTP POST  http://hostname:port/sqr/requestActuation with the XML in the body:
    274274
    275 
    276 
     275{{{
     276<requestActuation>
     277        <ActuationRequest xsi:schemaLocation="http://www.sensei-project.eu/actuation/schemas/actuationRequest.xsd"
     278                          xmlns:act="http://www.sensei-project.eu/actuation"
     279                          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     280                <ActuationTask>
     281                        <PostCondition xsi:type="act:EntityPostCondition">
     282                                <entity>
     283                                        <EntityType>http://www.ict-sensei.org/EntityOfInterest#EntityOfInterest</EntityType>
     284                                        <ContextAttribute>
     285                                                <attributeName>hasLight</attributeName>
     286                                                <attributeType>hasLight</attributeType>
     287                                                <Object xsi:type="act:ObservationMeasurement">
     288                                                        <value>ON</value>
     289                                                </Object>
     290                                        </ContextAttribute>
     291                                </entity>
     292                        </PostCondition>
     293                </ActuationTask>
     294        </ActuationRequest>
     295</requestActuation>
     296}}}
     297