Validation rules for caller ID brand requirements including sharing, publication status, and brand asset dependencies
Brand
CallerIdBrandMustBeSharedWithPartner
| Preconditions |
|---|
| Attempt to create or update Caller ID resource |
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
| Validate that the caller ID's brand is shared with (delegated to) a partner |
Example Validation Report
{
"code": "VALIDATION__CallerIdBrandNotSharedWithPartner",
"severity": "VIOLATION",
"message": "Caller ID requires the referenced Brand '{{id}}' to be shared with a partner",
"context": {
"id": "1534556652272844800"
}
}
CallerIdRequiresPublishedBrand
| Preconditions |
|---|
| Attempt to create or update Caller ID resource |
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that the current version of a caller ID's brand is PUBLISHED |
Example Validation Report
{
"code": "VALIDATION__CallerIdRequiresPublishedBrand",
"severity": "VIOLATION",
"message": "Caller ID requires the current version of the referenced Brand '{{id}}' to be `PUBLISHED`",
"context": {
"id": "1534556652272844800"
}
}
Brand Asset
CallerIdRequiresPublishedBrandAsset
| Preconditions |
|---|
| Attempt to create or update Caller ID resource |
| Definition | Severity | API | Sample | Mode |
|---|---|---|---|---|
Validate that the current version of a caller ID's brand asset is PUBLISHED |
Example Validation Report
{
"code": "VALIDATION__CallerIdRequiresPublishedBrandAsset",
"severity": "VIOLATION",
"message": "Caller ID requires the current version of the referenced Brand Asset '{{id}}' to be `PUBLISHED`",
"context": {
"id": "1534556652272844900"
}
}