Symphony REST API Search Rooms Query Problem
Symphony REST API Search Rooms Query Problem
Hi,
I have a question on writing the "query" params in Search Rooms request. Im using C# httpclient, and I want to search all chat rooms that a certain member in but I dont know what should I put into the query (meaning that I dont want to be limited to chat room names and certainly I can't put nothing in it). Please help
```
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("https://your-pod-subdomain.symphony.com/pod/v3/room/search?skip=0&limit=50"),
Headers =
{
{ "accept", "application/json" },
{ "sessionToken", "123456" },
},
Content = new StringContent("{\"member\":{\"id\":123456789},\"query\":\"What should I put here?\"}")
{
Headers =
{
ContentType = new MediaTypeHeaderValue("application/json")
}
}
};
```
Hi,
I have a question on writing the "query" params in Search Rooms request. Im using C# httpclient, and I want to search all chat rooms that a certain member in but I dont know what should I put into the query (meaning that I dont want to be limited to chat room names and certainly I can't put nothing in it). Please help
```
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("https://your-pod-subdomain.symphony.com/pod/v3/room/search?skip=0&limit=50"),
Headers =
{
{ "accept", "application/json" },
{ "sessionToken", "123456" },
},
Content = new StringContent("{\"member\":{\"id\":123456789},\"query\":\"What should I put here?\"}")
{
Headers =
{
ContentType = new MediaTypeHeaderValue("application/json")
}
}
};
```
#rooms
#symphony
#search
Symphony REST API Search Rooms Query Problem
Symphony REST API Search Rooms Query Problem
Hi,
I have a question on writing the "query" params in Search Rooms request. Im using C# httpclient, and I want to search all chat rooms that a certain member in but I dont know what should I put into the query (meaning that I dont want to be limited to chat room names and certainly I can't put nothing in it). Please help
```
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("https://your-pod-subdomain.symphony.com/pod/v3/room/search?skip=0&limit=50"),
Headers =
{
{ "accept", "application/json" },
{ "sessionToken", "123456" },
},
Content = new StringContent("{\"member\":{\"id\":123456789},\"query\":\"What should I put here?\"}")
{
Headers =
{
ContentType = new MediaTypeHeaderValue("application/json")
}
}
};
```
Hi,
I have a question on writing the "query" params in Search Rooms request. Im using C# httpclient, and I want to search all chat rooms that a certain member in but I dont know what should I put into the query (meaning that I dont want to be limited to chat room names and certainly I can't put nothing in it). Please help
```
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("https://your-pod-subdomain.symphony.com/pod/v3/room/search?skip=0&limit=50"),
Headers =
{
{ "accept", "application/json" },
{ "sessionToken", "123456" },
},
Content = new StringContent("{\"member\":{\"id\":123456789},\"query\":\"What should I put here?\"}")
{
Headers =
{
ContentType = new MediaTypeHeaderValue("application/json")
}
}
};
```
#
Symphony REST API Search Rooms Query Problem
Hi,
I have a question on writing the "query" params in Search Rooms request. Im using C# httpclient, and I want to search all chat rooms that a certain member in but I dont know what should I put into the query (meaning that I dont want to be limited to chat room names and certainly I can't put nothing in it). Please help
```
var request = new HttpRequestMessage
{
Method = HttpMethod.Post,
RequestUri = new Uri("https://your-pod-subdomain.symphony.com/pod/v3/room/search?skip=0&limit=50"),
Headers =
{
{ "accept", "application/json" },
{ "sessionToken", "123456" },
},
Content = new StringContent("{\"member\":{\"id\":123456789},\"query\":\"What should I put here?\"}")
{
Headers =
{
ContentType = new MediaTypeHeaderValue("application/json")
}
}
};
```