API Reference
Get Report
GET /v2/report/{id}
This endpoint should be polled while the report is generating to download the report, the endpoint returns a redirect to the location where the report can be downloaded. The Accept
header must also be specified to choose what format you want the report in.
Path Parameters
idstring
Format
uuid
Header Parameters
authorization?string
The only supported authorisation method is Bearer ...
x-api-key?string
A pre-shared key provided by AgriWebb
acceptstring
Value in
"text/csv" | "application/vnd.agriwebb.csv+v1"
Response Body
curl -X GET "https://api.agriwebb.com/v2/report/497f6eca-6276-4993-bfeb-53cbbbba6f08" \
-H "authorization: string" \
-H "x-api-key: string" \
-H "accept: text/csv"
[
{
"Area": 0,
"Avg Stocking Rate": 0,
"Closing Load": 0,
"Closing Stocking Rate": 0,
"Cumulative Load": 0,
"Land Use": "string",
"Paddock": "string",
"Paddock Description": "string",
"Starting Load": 0,
"Starting Stocking Rate": 0
}
]
Empty
{
"error": "string"
}
{
"error": "string"
}
{
"error": "string"
}
{
"error": "string"
}