Changes between Version 17 and Version 18 of SQR


Ignore:
Timestamp:
Nov 5, 2010, 8:53:51 AM (14 years ago)
Author:
claudia.villalonga
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SQR

    v17 v18  
    141141
    142142=== Request Information ===
    143 The request for information requires sending the following request HTTP POST http://hostname:port/sqr/requestInformation with the XML in the body:
     143The request for information requires sending the following request HTTP POST http://hostname:port/sqr/requestInformation .
     144
     145The body of the message contains the following XML for the case of a context selector:
     146
     147{{{
     148<requestInformation>
     149        <Selector xsi:type="ContextSelector" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     150                <Type>Context</Type>
     151                <EntityID>123456</EntityID>
     152                <EntityType>http://www.ict-sensei.org/EntityOfInterest#Apartment</EntityType>
     153                <Attribute>personPresent</Attribute>
     154        </Selector>
     155</requestInformation>
     156}}}
     157
     158In the case of a resource selector, the XML in the body of the message would be the following:
     159
     160{{{
     161<requestInformation>
     162        <Selector xsi:type="ResourceSelector" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     163        </Selector>
     164</requestInformation>
     165}}}
    144166
    145167