Submit Upfront Price Request For Catalog Item Using POST 1

Submit Upfront Price Request For Catalog Item Using POST 1

Returns upfront price response for a given catalog item.

Request
URI
POST
https://{api_host}//sc2-10-185-6-200.eng.vmware.com/catalog/api/items/{id}/upfront-prices
COPY
Path Parameters
string
id
Required

Catalog Item ID


Request Body
CatalogItemRequest of type(s) application/json
Optional
{
    "bulkRequestCount": 0,
    "deploymentName": "string",
    "projectId": "string",
    "reason": "string",
    "version": "string"
}
integer As int32 As int32
bulkRequestCount
Optional

Deployment request count; defaults to 1 if not specified.

string
deploymentName
Optional

Name of the requested deployment

object
inputs
Optional

Input parameters for the request. These must be compliant with the schema of the corresponding catalog item

string
projectId
Optional

Project to be used for the request

string
reason
Optional

Reason for request

string
version
Optional

Version of the catalog item. e.g. v2.0

Responses
200

OK

Returns CatalogItemUpfrontPriceResponse of type(s) application/json
{
    "dailyAdditionalPrice": "number",
    "dailyComputePrice": "number",
    "dailyNetworkPrice": "number",
    "dailyStoragePrice": "number",
    "dailyTotalPrice": "number",
    "resourcePriceDetails": [
        {
            "dailyAdditionalPrice": "number",
            "dailyComputePrice": "number",
            "dailyNetworkPrice": "number",
            "dailyStoragePrice": "number",
            "dailyTotalPrice": "number",
            "resourceName": "string",
            "resourceType": "string",
            "resourceUpfrontPriceId": "string",
            "status": "string",
            "statusDetails": "string",
            "unit": "string"
        }
    ],
    "status": "string",
    "statusDetails": "string",
    "unit": "string",
    "upfrontPriceId": "string"
}
number
dailyAdditionalPrice
Optional

Additional Price incurred for the catalog.

number
dailyComputePrice
Optional

Compute Price of the catalog.

number
dailyNetworkPrice
Optional

Network Price of the catalog.

number
dailyStoragePrice
Optional

Storage Price of the catalog.

number
dailyTotalPrice
Optional

Total Price of the catalog.

resourcePriceDetails
Optional

resourcePriceDetails

string
status
Optional

Upfront price sync status

Possible values are : STARTED, PREPARING_COST_ESTIMATION, IN_PROGRESS, SUCCESS, ERROR, DATA_NOT_AVAILABLE, CURRENCY_NOT_SET, PUBLIC_CLOUD_NOT_SUPPORTED,
string
statusDetails
Optional

Upfront price status detail.

string
unit
Optional

Monetary unit.

string
upfrontPriceId
Optional

Id


401

Unauthorized

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure