This guide is intended to provide instructions on how to interact with and use the External NordBord API.
The External NordBord API can be utilised to access team and athlete test data.
- Identify your region
- Scenario 1: Retrieve a collection of tests for a tenant
- Scenario 2: Retrieve a single test
- Scenario 3: Retrieve a NordBord force trace associated with a single test
Identify your region
The endpoint you use to interact with the External NordBord API is dependant on what region you (the client) reside in.
Please note that only tenant data which resides within the region of the API endpoint used is accessible. Therefore, if a tenant's data resides in Australia (East), it will only be accessible from that region's API.
Choose your region below and copy the endpoint URL provided.
Australia (East) |
https://prd-aue-api-externalnordbord.valdperformance.com/swagger/index.html |
United States (East) |
https://prd-use-api-externalnordbord.valdperformance.com/swagger/index.html |
Europe (West) |
https://prd-euw-api-externalnordbord.valdperformance.com/swagger/index.html |
If you are unsure which region-specific URL you should be using, please contact support@vald.com.
Scenario 1: Retrieve a collection of tests for a tenant
Details
URL: | /tests |
Path Parameters: | None |
Query Parameters: |
Parameter | Required | Description |
tenantId | True | ID of the tenant from which to retrieve tests. |
modifiedFromUtc | True | Retrieve tests modified after the specified UTC date. |
testFromUtc | True | Retrieve tests recorded after the specified UTC date. |
testToUtc | True | Retrieve tests recorded before the specified UTC date. |
athleteId | False | ID of the athlete from which to retrieve tests. |
page | False | The page number to return (default is 1). |
pageSize | False | The number of tests returned by a single page (default is 50). |
Description
- Set the required parameters.
- Ensure the
testFromUtc
andtestToUtc
are within six months of each other. - Use the
modifiedFromUtc
as a mechanism to refine the tests down further. If unsure, set this parameter to be equal totestFromUtc
. - Set
page
equal to1
.
- Ensure the
- Retrieve a page of data using
/tests?TenantId={tenantId}&ModifiedFromUtc={modifiedFromUtc}&TestFromUtc={testFromUtc}&TestToUtc={testToUtc}&Page={page}
- Increment the
page
parameter. - Repeat steps 2 - 3 until a No Content
204
status code is returned.
Note: Tests are returned in descending order of test date (i.e. newest to oldest).
Response
Below is a sample response you would expect to see.
{
"tests": [
{
"athleteId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"testId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"modifiedUtc": "2024-02-20T23:59:07.756Z",
"testDateUtc": "2024-02-20T23:59:07.756Z",
"testTypeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"testTypeName": "string",
"notes": "string",
"device": "string",
"leftAvgForce": 0,
"leftImpulse": 0,
"leftMaxForce": 0,
"leftTorque": 0,
"leftCalibration": 0,
"rightAvgForce": 0,
"rightImpulse": 0,
"rightMaxForce": 0,
"rightTorque": 0,
"rightCalibration": 0,
"leftRepetitions": 0,
"rightRepetitions": 0
}
],
"page": 1,
"pageCount": 1
}
Scenario 2: Retrieve a single test
Details
URL: | /tests/{testId} |
Path Parameters: |
Parameter | Required | Description |
testId | True | ID of test to retrieve. |
Query Parameters: |
Parameter | Required | Description |
tenantId | True | ID of the tenant from which to retrieve tests. |
Description
Use to retrieve summary information about a test.
Response
Below is a sample response you would expect to see.
{
"athleteId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"testId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"modifiedUtc": "2024-02-20T23:59:53.820Z",
"testDateUtc": "2024-02-20T23:59:53.820Z",
"testTypeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"testTypeName": "string",
"notes": "string",
"device": "string",
"leftAvgForce": 0,
"leftImpulse": 0,
"leftMaxForce": 0,
"leftTorque": 0,
"leftCalibration": 0,
"rightAvgForce": 0,
"rightImpulse": 0,
"rightMaxForce": 0,
"rightTorque": 0,
"rightCalibration": 0,
"leftRepetitions": 0,
"rightRepetitions": 0
}
Scenario 3: Retrieve a NordBord force trace associated with a single test
Details
URL: | /tests/{testId}/nordbordtrace |
Path Parameters: |
Parameter | Required | Description |
testId | True | ID of test to retrieve. |
Query Parameters: |
Parameter | Required | Description |
tenantId | True | ID of the tenant from which to retrieve tests. |
Description
Use to retrieve a NordBord force trace.
Response
Below is a sample response you would expect to see.
{
"athleteId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"testId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"testTypeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"testTypeName": "string",
"forces": [
{
"ticks": 0,
"leftForce": 0,
"rightForce": 0
}
],
"device": "string",
"testDateUtc": "2024-02-21T00:00:07.953Z",
"notes": "string"
}
Comments
0 comments
Please sign in to leave a comment.