Metrics
/metrics/future-booked-revenue
Future / booked revenue metric
Authorization
apiKey X-API-Key<token>
API key provided in dashboard
In: header
Query Parameters
dimension?string
Default
"month"Value in
"month" | "week" | "day" | "year"startDate*string
Date boundary string. Accepted syntax: YYYY, YYYY-MM, or YYYY-MM-DD.
Format
vrp-date-boundaryendDate*string
Date boundary string. Accepted syntax: YYYY, YYYY-MM, or YYYY-MM-DD.
Format
vrp-date-boundaryResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.vrplatform.app/metrics/future-booked-revenue?startDate=2024-01-15&endDate=2024-01-15"{
"data": [
{
"date": "string",
"futureRevenue": 0,
"bookedRevenue": 0
}
]
}{
"code": "string",
"message": "string",
"issues": [
{
"message": "string"
}
],
"context": null
}{
"code": "string",
"message": "string",
"issues": [
{
"message": "string"
}
],
"context": null
}{
"code": "string",
"message": "string",
"issues": [
{
"message": "string"
}
],
"context": null
}{
"code": "string",
"message": "string",
"issues": [
{
"message": "string"
}
],
"context": null
}{
"code": "string",
"message": "string",
"issues": [
{
"message": "string"
}
],
"context": null
}