Create Metering Policy Assignment
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
Show optional properties
{
"pricingCardId": "string"
}
{
"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
"MeteringPolicyAssignment Object"
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
"MeteringPolicyAssignment Object"
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
"MeteringPolicyAssignment Object"
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
Forbidden
"MeteringPolicyAssignment Object"
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
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"pricingCardId:"string"}' https://{api_host}/price/api/private/pricing-card-assignments