Create new Biz attribute section tag

POST/attributes/{id}/attribute-sections/{secId}/tag

Create new Biz attribute section tag.

Privileges:

  • bp-settings-custom-fields.manage

Audit event:

  • biz.core.v2.attribute.section.tag.post

Errors:

  • BIZ_CORE:ATTRIBUTE_SECTION_TAG_NOTFOUND - Attribute section tag with given attributeId, sectionId and tagId not found.

Validation errors:

  • BIZ_CORE:ATTRIBUTE_SECTION_TAG_ATTRIBUTE_NOT_SUPPORTED - Attribute of the Attribute section tag is not supported.
  • BIZ_CORE:ATTRIBUTE_SECTION_SECTION_NOT_SUPPORTED - Section of the Attribute section is not supported.
  • BIZ_CORE:ATTRIBUTE_SECTION_TAG_ATTRIBUTE_NOT_SUPPORTED - Attribute of the Attribute section tag is not supported.
  • BIZ_CORE:ATTRIBUTE_SECTION_TAG_ATTRIBUTE_SECTION_NOT_ACTIVE - Attribute section of the Attribute section tag is not active.
  • BIZ_CORE:ATTRIBUTE_SECTION_TAG_TAG_ID_NOT_SUPPORTED - Tag of the Attribute section tag is not supported.
  • BIZ_CORE:ATTRIBUTE_SECTION_TAG_ALLREADY_EXIST - Attribute section tag allready exist.
Base URL
https://api-cpaas.sms.es/biz-core/v2
Authentication

OAuth2 — send Authorization: Bearer <access_token>. Token URL: https://accounts-cpaas.sms.es/oauth2/access-token

Request

Path parameters

attrIdintegerrequired

Attribute id

secIdintegerrequired

Section id

Body

application/json
tagIdinteger

Request example

cURL · cURL
curl -L -X POST "https://api-cpaas.sms.es/biz-core/v2/attributes/{id}/attribute-sections/{secId}/tag" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <access_token>" \
  --data-raw '{
  "tagId": 0
}'

Responses

Biz attribute section tag created successfully

application/json
attributeIdinteger
attributeTagCategoryIdinteger
attributeTagCodeNamestring
attributeTagNamestring
attributeTagRowTypestring
attributeTagStatusstring
attributeTagStatusDtstring
insertTsstring (date-time)
sectionIdinteger
tagIdinteger
Example response
{
  "attributeId": 0,
  "attributeTagCategoryId": 0,
  "attributeTagCodeName": "string",
  "attributeTagName": "string",
  "attributeTagRowType": "string",
  "attributeTagStatus": "string",
  "attributeTagStatusDt": "string",
  "insertTs": "2026-01-01T12:00:00Z",
  "sectionId": 0,
  "tagId": 0
}