Get PartnerType

GET/partner-types/{id}

Returns PartnerType data by id.

Privileges:

  • bp-settings-lists.view

Audit event:

  • biz.core.v2.partner.type.get

Errors:

  • BIZ_CORE:PARTNER_TYPE_NOTFOUND - Partner type with given id not found.
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.

Request example

cURL · cURL
curl -L -X GET "https://api-cpaas.sms.es/biz-core/v2/partner-types/{id}" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <access_token>"

Responses

PartnerType data

application/json
commentstring
Possible values: yes, no
dbCodeNamestring
idinteger
namestring
statusstring
Possible values: active, inactive, deleted, misc
statusDtstring (date-time)
Example response
{
  "comment": "yes",
  "dbCodeName": "string",
  "id": 0,
  "name": "string",
  "status": "active",
  "statusDt": "2026-01-01T12:00:00Z"
}