Get Deployment Expense History By Id Using GET 1

Get Deployment Expense History By Id Using GET 1

Returns the deployment expense history with the supplied ID.

Request
URI
GET
https:////sc2-10-185-6-200.eng.vmware.com/deployment/api/deployments/{depId}/expense-history
COPY
Path Parameters
string
depId
Required

Deployment ID

Query Parameters
string
from
Optional

The timestamp from when history is requested. Should be of ISO_INSTANT format.

string
interval
Optional

The interval of the expense history. Should be one of daily, weekly or monthly.

string
to
Optional

The timestamp until when history is requested. Should be of ISO_INSTANT format.


Responses
200

OK

Returns DeploymentExpenseHistory of type(s) application/json
{
    "currency": "string",
    "data": [
        {
            "timestamp": "string",
            "value": "number"
        }
    ],
    "interval": "string"
}
string
currency
Optional

The currency code of the expense history.

data
Optional

The list of expense history metric.

string
interval
Optional

The requested interval type.


401

Unauthorized

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure