Create new Attribute section

POST/attributes/{id}/attribute-sections

Create new Attribute section.

Privileges:

  • bp-settings-custom-fields.manage

Audit event:

  • biz.core.v2.attribute.section.add

Validation errors:

  • BIZ_CORE:ATTRIBUTE_SECTION_ATTRIBUTE_NOT_SUPPORTED - Attribute of the Attribute section is not supported.
  • BIZ_CORE:ATTRIBUTE_SECTION_ATTRIBUTE_NOT_ACTIVE - Attribute of the Attribute section is not active.
  • BIZ_CORE:ATTRIBUTE_SECTION_SECTION_NOT_SUPPORTED - Section of the Attribute section is not supported.
  • BIZ_CORE:ATTRIBUTE_SECTION_SECTION_NOT_ACTIVE - Section of the Attribute section is not active.
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

idintegerrequired

id.

Body

application/json
sectionIdintegerrequired

Request example

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

Responses

Attribute section created successfully

application/json
attributeIdinteger
attributeSectionTagsobject[]
Show child attributes
attributeIdinteger
attributeTagCategoryIdinteger
attributeTagCodeNamestring
attributeTagNamestring
attributeTagRowTypestring
attributeTagStatusstring
attributeTagStatusDtstring
insertTsstring (date-time)
sectionIdinteger
tagIdinteger
attributeStatusstring
Possible values: active, inactive, deleted
dbCodeNamestring
sectionCodeNamestring
sectionIdinteger
sectionNamestring
sectionStatusstring
Possible values: active, inactive, deleted
statusstring
Possible values: active, inactive, deleted
statusDtstring (date-time)
Example response
{
  "attributeId": 0,
  "attributeSectionTags": [
    {
      "attributeId": 0,
      "attributeTagCategoryId": 0,
      "attributeTagCodeName": "string",
      "attributeTagName": "string",
      "attributeTagRowType": "string",
      "attributeTagStatus": "string",
      "attributeTagStatusDt": "string",
      "insertTs": "2026-01-01T12:00:00Z",
      "sectionId": 0,
      "tagId": 0
    }
  ],
  "attributeStatus": "active",
  "dbCodeName": "string",
  "sectionCodeName": "string",
  "sectionId": 0,
  "sectionName": "string",
  "sectionStatus": "active",
  "status": "active",
  "statusDt": "2026-01-01T12:00:00Z"
}