Retrieves the list of Banners in account scope
Example response
[- {
- "banner": {
- "name": "string",
- "identifier": "string",
- "enabled": false,
- "intent": "INFORMATIONAL",
- "title": "string",
- "message": "string",
- "callToActions": { }
}, - "created": 0,
- "updated": 0
}
]
Creates a new Banner in Account Scope.
Example response
{- "name": "string",
- "identifier": "string",
- "enabled": false,
- "intent": "INFORMATIONAL",
- "title": "string",
- "message": "string",
- "callToActions": { }
}
{- "banner": {
- "name": "string",
- "identifier": "string",
- "enabled": false,
- "intent": "INFORMATIONAL",
- "title": "string",
- "message": "string",
- "callToActions": { }
}, - "created": 0,
- "updated": 0
}
Validate if the specified BannerDTO identifier is available for use in account scope
This Response body is used in validate banner identifier endpoint & /v1/banners/allowed
true
Check for a current account max 5 banners are enabled or not.
This Response body is used in validate banner identifier endpoint & /v1/banners/allowed
true
Updates the specified Banner in account scope
Request body when updating respective Banner.
Example response
{- "name": "string",
- "identifier": "string",
- "enabled": false,
- "intent": "INFORMATIONAL",
- "title": "string",
- "message": "string",
- "callToActions": { }
}
{- "banner": {
- "name": "string",
- "identifier": "string",
- "enabled": false,
- "intent": "INFORMATIONAL",
- "title": "string",
- "message": "string",
- "callToActions": { }
}, - "created": 0,
- "updated": 0
}
This API endpoint will return max 5 banners as that is the enabled banners count.
Example response
[- {
- "banner": {
- "name": "string",
- "identifier": "string",
- "enabled": false,
- "intent": "INFORMATIONAL",
- "title": "string",
- "message": "string",
- "callToActions": { }
}, - "created": 0,
- "updated": 0
}
]