Patch Metering Policy Assignment Using PATCH 1

Patch Metering Policy Assignment Using PATCH 1

Updates the pricing card assignment id with the supplied id. Request body with ALL entityType will delete the older assignments for the given pricingCardId

Request
URI
PATCH
https://{api_host}//sc2-10-185-6-200.eng.vmware.com/price/api/private/pricing-card-assignments/{id}
COPY
Path Parameters
string
id
Required

pricing card Assignment Id


Request Body

A pricing card assignment with pricing card Id to override existing pricing card Id

MeteringPolicyAssignment of type(s) application/json
Optional
{
    "createdAt": "string",
    "entityId": "string",
    "entityName": "string",
    "entityType": "string",
    "id": "string",
    "lastUpdatedAt": "string",
    "orgId": "string",
    "pricingCardId": "string",
    "pricingCardName": "string"
}
string As date-time As date-time
createdAt
Optional

Creation time

string
entityId
Optional

Pricing card assigned entity id

string
entityName
Optional

Pricing card assigned entity name

string
entityType
Optional

Pricing card assigned entity type

Possible values are : ALL, PROJECT, CLOUDZONE,
string As uuid As uuid
id
Optional

Id of the pricingCardAssignment

string As date-time As date-time
lastUpdatedAt
Optional

Updated time

string
orgId
Optional

OrgId of the pricingCardAssignment

string As uuid As uuid
pricingCardId
Optional

Pricing card id

string
pricingCardName
Optional

Pricing card name

Responses
200

OK

Returns MeteringPolicyAssignment of type(s) application/json
{
    "createdAt": "string",
    "entityId": "string",
    "entityName": "string",
    "entityType": "string",
    "id": "string",
    "lastUpdatedAt": "string",
    "orgId": "string",
    "pricingCardId": "string",
    "pricingCardName": "string"
}
string As date-time As date-time
createdAt
Optional

Creation time

string
entityId
Optional

Pricing card assigned entity id

string
entityName
Optional

Pricing card assigned entity name

string
entityType
Optional

Pricing card assigned entity type

Possible values are : ALL, PROJECT, CLOUDZONE,
string As uuid As uuid
id
Optional

Id of the pricingCardAssignment

string As date-time As date-time
lastUpdatedAt
Optional

Updated time

string
orgId
Optional

OrgId of the pricingCardAssignment

string As uuid As uuid
pricingCardId
Optional

Pricing card id

string
pricingCardName
Optional

Pricing card name


401

Unauthorized

Operation doesn't return any data structure