Create Metering Policy Assignment Using POST 1
Create a new pricing card policy assignment based on request body and validate its field according to business rules. Request body with ALL entityType will delete the older assignments for the given pricingCardId
The pricing card assignment to be created
{
"createdAt": "string",
"entityId": "string",
"entityName": "string",
"entityType": "string",
"id": "string",
"lastUpdatedAt": "string",
"orgId": "string",
"pricingCardId": "string",
"pricingCardName": "string"
}
Creation time
Pricing card assigned entity id
Pricing card assigned entity name
Pricing card assigned entity type
Id of the pricingCardAssignment
Updated time
OrgId of the pricingCardAssignment
Pricing card id
Pricing card name
OK
{
"createdAt": "string",
"entityId": "string",
"entityName": "string",
"entityType": "string",
"id": "string",
"lastUpdatedAt": "string",
"orgId": "string",
"pricingCardId": "string",
"pricingCardName": "string"
}
Creation time
Pricing card assigned entity id
Pricing card assigned entity name
Pricing card assigned entity type
Id of the pricingCardAssignment
Updated time
OrgId of the pricingCardAssignment
Pricing card id
Pricing card name
Created
{
"createdAt": "string",
"entityId": "string",
"entityName": "string",
"entityType": "string",
"id": "string",
"lastUpdatedAt": "string",
"orgId": "string",
"pricingCardId": "string",
"pricingCardName": "string"
}
Creation time
Pricing card assigned entity id
Pricing card assigned entity name
Pricing card assigned entity type
Id of the pricingCardAssignment
Updated time
OrgId of the pricingCardAssignment
Pricing card id
Pricing card name
Unauthorized
Forbidden