Get Records

View all the records for a particular board when you apply the GetData call.

GetData endpoint description
Description Returns all records associated with a particular board
URL /board/[boardname]/display/[displayview name]
Method GET
Parameters
  • boardname

  • displayviewname

Return Type JSON

Review the parameter definitions and examples of how to use the GetData endpoint in JavaScript and C# calls.

Parameters

GetData endpoint parameters
Variable Name Type Description Required
boardname String Name of the board containing the records you want to retrieve True (URL)
displayviewname String Name of the view that displays the records you want to retrieve True (URL)

Example

JavaScript Call

Copy Code
await fetch(`${baseUrl}/board/Road Closures/display/Details`)
.then((response) => response.json())

C# Call

Copy Code
public async Task<string> GetData()
{
using (var httpClient = new HttpClient(httpClientHandler))
{
var response = await httpClient.GetAsync($"{baseUrl}/board/Road Closures/display/Details");
return await response.Content.ReadAsStringAsync();
}
}