Get interests by UUID

GET/services/{serviceUuid}/cds/interests/{interestId}

Get interests by UUID

Base URL
https://api-cpaas.sms.es/news/v1
Authentication

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

Request

Path parameters

serviceUuidstringrequired

service (BM Account) UUID

interestIdstringrequired

Interests ID to get

Query parameters

embedstring[]

Embed additional entities

Possible values: interests

Request example

cURL · cURL
curl -L -X GET "https://api-cpaas.sms.es/news/v1/services/{serviceUuid}/cds/interests/{interestId}" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <access_token>"

Responses

List data

application/json
uuidstring
parent_idinteger
namestringrequired
statusstring
created_dtstring
updated_dtstring
levelinteger
descriptionstring
order_numintegerrequired
interestsobject
Show child attributes
dataobject[]
Example response
{
  "uuid": "string",
  "parent_id": 0,
  "name": "string",
  "status": "string",
  "created_dt": "string",
  "updated_dt": "string",
  "level": 0,
  "description": "string",
  "order_num": 0,
  "interests": {
    "data": []
  }
}