143 | | The request for information requires sending the following request HTTP POST http://hostname:port/sqr/requestInformation with the XML in the body: |
| 143 | The request for information requires sending the following request HTTP POST http://hostname:port/sqr/requestInformation . |
| 144 | |
| 145 | The 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 | |
| 158 | In 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 | }}} |