Get a Record

The data ID for a record is required if you want to return a particular record from a board. If you know the record's data ID, use the GetData endpoint to retrieve the specific record.

GetData endpoint description
Description Returns a specific record from a board
URL /board/[boardname]/display/[displayviewname]/[dataid]
Method GET
Parameters
  • boardname

  • displayviewname

  • dataid

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 record you want to retrieve True (URL)
displayviewname String Name of the view that displays the record you want to retrieve True (URL)
dataid Integer Unique ID of the board record you want to retrieve True (URL)

Examples

JavaScript Call

Copy Code
await fetch(`${baseUrl}/board/Road Closures/display/Details/1`)
.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/1");
return await response.Content.ReadAsStringAsync();
}
}