post https://example.com/api_gateway/rewards/core/v1/brand/richContentMeta
This endpoint allows you to create a new Rich Text meta object in the system. Rich text metas are used to provide formatted content for various fields within the rewards catalog system.
Request Body Parameters
Parameter | Data Type | Description |
---|---|---|
name | string | Mandatory, Unique and case sensitive; max 255 chars |
description | string | Not Mandatory (used only in meta GET api) max 255 chars |
isMandatory | boolean | Mandatory |
isActive | boolean | Not Mandatory (takes true by default, will be hardcoded to true in create RC flow even if false is set) |
scope | string | Mandatory (should be an enum) |
defaultValue | string | Mandatory only when isMandatory = true, 50K char limit and empty strings not allowed and regex validation will be performed on tags |
Response Body Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the created Rich Text Meta object. |
message | string | A success message. |