Reference

What replacing this commitment costs today

Priced from the current offering rather than from the expiring term, whose price is as old as the term. error_message carries a lookup that failed, so an unpriced renewal reads as unpriced rather than as zero.

GET
/api/v1/commitments/renewal-quote/{commitment_id}

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

commitment_id*Commitment Id

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/commitments/renewal-quote/string"
{
  "success": true,
  "timestamp": "2019-08-24T14:15:22Z",
  "data": {
    "commitment_id": "string",
    "offering_id": "string",
    "term_months": 0,
    "payment_option": "string",
    "qty": 0,
    "currency": "string",
    "fixed_price": 0,
    "recurring_hourly": 0,
    "usage_hourly": 0,
    "upfront": 0,
    "commitment_hourly": 0,
    "error_message": "string",
    "quoted_at": "string",
    "term": {
      "currency": "string",
      "term_hours": 0,
      "upfront_total": 0,
      "recurring_hourly_total": 0,
      "term_total": 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"
}
Ask the FinOps Agent about your cloud spend