API ReferenceCosts
Get cost summary
Authorization
BearerAuth AuthorizationBearer <token>
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://loading/api/v1/costs/summary"{
"success": true,
"timestamp": "2019-08-24T14:15:22Z",
"data": {
"overall_monthly_costs": 0,
"overall_monthly_costs_percentage": 0,
"forecasted_monthly_costs": 0,
"forecasted_monthly_costs_percentage": 0,
"last_month_spend": 0,
"last_month_spend_percentage": 0,
"savings_recommendations": 0,
"savings_recommendations_percentage": 0,
"total_savings": 0,
"providers": [
{
"provider_id": "string",
"provider_name": "string",
"monthly_spending": 0,
"monthly_spending_percentage": 0,
"monthly_spending_change": 0,
"previous_month_spending": 0,
"potential_savings": 0,
"potential_savings_percentage": 0
}
]
}
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"details": null
},
"timestamp": "2019-08-24T14:15:22Z"
}