Get Group Boards
You can view a list of all boards assigned to a group in WebEOC Nexus.
Description | Returns a list of all boards assigned to a group |
---|---|
URL | /groups/{groupname}/boards |
Method | GET |
Parameters |
groupname |
Return Type | WebEOC Nexus board array |
Sample JSON Response | [{"board": "Shelters", "boardPermissionTags": ["Create", "Delete"], "defaultLabel": "Shelters 2025", ""displayView": "List", "viewFilters": ["Status Full", "Status Open"]},...] |
Review the parameter definitions and examples of how to use this endpoint in JavaScript and C# calls.
Parameter
Variable Name | Type | Description | Required |
---|---|---|---|
groupname | String | The name of the WebEOC Nexus group to retrieve boards assigned to it |
True (URL) |
Review the examples of how to use the GetGroupNames endpoint in JavaScript and C# calls.
Examples
JQuery Call
Copy Code
$.ajax({
async: false,
contentType: 'application/json',
type: 'GET',
url: baseUrl + '/groups/Group A/boards' //Returns the boards assigned to 'Group A'.
});
C# Call
Copy Code
public string GetGroupBoards(Cookie cookie)
{
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(baseUrl + "/groups/Group A/boards");
request.Method = "GET";
CookieContainer cookieJar = new CookieContainer();
cookieJar.Add(cookie);
request.CookieContainer = cookieJar;
WebResponse getResponse = request.GetResponse();
string[] result = new string[]{string.Empty};
using (Stream responseStream = getResponse.GetResponseStream())
{
StreamReader reader = new StreamReader(responseStream, Encoding.UTF8);
result = new JavaScriptSerializer().Deserialize<string[]>(reader.ReadToEnd());
}
return result;
}