Get Policy Using GET 2
Returns the pricing card with the specified id
Request
URI
GET
https://{api_host}//sc2-10-185-6-200.eng.vmware.com/price/api/private/pricing-cards/{id}
COPY
Path Parameters
string
id
Required
pricing card Id
Responses
200
OK
Returns MeteringPolicy of type(s) application/json
{
"chargeModel": "string",
"createdAt": "string",
"createdBy": "string",
"description": "string",
"fixedPrice": {
"chargePeriod": "string",
"rate": "number"
},
"id": "string",
"lastUpdatedAt": "string",
"meteringItems": [
{
"itemName": "string",
"metering": {
"baseRate": "number",
"chargeBasedOn": "string",
"chargeOnPowerState": "string",
"chargePeriod": "string",
"fixedPrice": "number",
"unit": "string"
}
}
],
"name": "string",
"namedMeteringItems": [
{
"itemName": "string",
"namedMeterings": [
{
"metering": {
"baseRate": "number",
"chargeBasedOn": "string",
"chargeOnPowerState": "string",
"chargePeriod": "string",
"fixedPrice": "number",
"unit": "string"
},
"name": "string"
}
]
}
],
"oneTimeMeteringItems": [
{
"itemName": "string",
"oneTimeMetering": {
"oneTimeFixedPrice": "number"
}
}
],
"orgId": "string",
"pricingCardAssignmentInfo": {
"count": 0,
"entityType": "string"
},
"tagBasedMeteringItems": [
{
"itemName": "string",
"tagBasedMeterings": [
{
"key": "string",
"metering": {
"baseRate": "number",
"chargeBasedOn": "string",
"chargeOnPowerState": "string",
"chargePeriod": "string",
"fixedPrice": "number",
"unit": "string"
},
"value": "string"
}
]
}
],
"tagBasedOneTimeMeteringItems": [
{
"itemName": "string",
"oneTimeMeterings": [
{
"key": "string",
"oneTimeMetering": {
"oneTimeFixedPrice": "number"
},
"value": "string"
}
]
}
],
"tagBasedRateFactorItems": [
{
"itemName": "string",
"rateFactors": [
{
"key": "string",
"rateFactor": {
"contextMeteringItem": "string",
"rateFactor": "number"
},
"value": "string"
}
]
}
]
}
string
chargeModel
Optional
chargeModel
string As date-time As date-time
createdAt
Optional
createdAt
string
createdBy
Optional
createdBy
string
description
Optional
description
string As uuid As uuid
id
Optional
id
string As date-time As date-time
lastUpdatedAt
Optional
lastUpdatedAt
string
name
Optional
name
string
orgId
Optional
orgId
array of TagBasedOneTimeMeteringItem
tagBasedOneTimeMeteringItems
Optional
tagBasedOneTimeMeteringItems
401
Unauthorized
Operation doesn't return any data structure
404
Not Found
Operation doesn't return any data structure