Overview
Sends an Information Query (iq) to an entity on the XMPP network, given its Full JID. For connected entities, you need to have an presence subscription to that entity, approved by the entity, to get the Full JID. You get the Full JID using the Presence Probe resource.HTTP request
POST /Agent/Xmpp/InformationQuery
Authentication
Requires a valid JWT bearer token.Request (JSON)
Input parameters
| Parameter | Description |
|---|---|
| PTo | Bare JID of contact to whom the presence probe is directed. |
| PType | Type of Information Query. Must be get or set. |
| PQuery | Valid XML (or string-representation of valid XML) of the query to send. |
Response (JSON)
Response parameters
| Parameter | Description |
|---|---|
| POk | If query executed without error. |
| PErrorCode | Optional error code, in case an error was returned. |
| PErrorText | Optional error text, in case an error was returned. |
| PErrorType | Optional error type, in case an error was returned. |
| PContent | Any XML content returned in the query result. |