List of Biz partner contacts

GET/biz-partners-contacts

List of Biz partner contacts.

Privileges:

  • biz-core.view
  • biz-core.own.view

Audit event:

  • biz.core.v2.biz.partner.all.contact.list

Sorting:

  • id
  • contactTypeId
  • customTypeName
  • firstName
  • lastName
  • nickName
  • salutation
  • titel
  • gender
  • language
  • addressId
  • eMailBusiness
  • eMailPrivate
  • phoneOfficeDirect
  • phoneOfficeCentral
  • mobile
  • mobileBusiness
  • skype
  • birthday
  • departmentId
  • positionId
  • customPositionName
  • fax
  • status
  • contactTypeName
  • languageName
  • departmentName
  • positionName
  • address
  • postalCode
  • city
  • countryName
  • countryId
  • note
  • bizPartnerId

Filters:

  • id
  • contactTypeId
  • firstName
  • lastName
  • nickName
  • salutation
  • eMailBusiness
  • departmentName
  • positionName
  • address
  • postalCode
  • city
  • countryName
  • note
  • contactTypeName
  • titel
  • birthday
  • gender
  • languageName
  • addressId
  • eMailPrivate
  • skype
  • departmentId
  • positionId
  • status
  • countryId
  • bizPartnerId
  • phoneOfficeDirect
  • phoneOfficeCentral
  • mobileBusiness
  • mobile
  • language
  • fax

Search:

  • contactTypeId
  • customTypeName
  • firstName
  • lastName
  • salutation
  • titel
  • gender
  • eMailBusiness
  • eMailPrivate
  • phoneOfficeDirect
  • phoneOfficeCentral
  • mobile
  • mobileBusiness
  • skype
  • customPositionName
  • fax
  • status
  • contactTypeName
  • languageName
  • departmentName
  • positionName
  • address
  • postalCode
  • city
  • countryName
  • note
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

Query parameters

allstring

Return all records for given criteria (disables pagination)

Possible values: yes, no
page_sizeinteger

Page size

Default: 10
page_numberinteger

Page number

Default: 1
pagingstring

Paging options in form of &paging=page_num,page_size e.g. paging=1,10

sortstring

Sort options in form of sort=-attribute1,attribute2,-attribute3 (prefix - for descending)

operator(fieldName)string

Search criteria can be specified using the following operators and attributes:

Available Operators:

  • isnull, isnotnull
  • isempty, isnotempty
  • eq, neq
  • startswith, endswith, contains, doesnotcontain
  • lt, lte, gt, gte
  • in, notin
  • between, notbetween

Special Cases:

  1. For operators [isnull, isnotnull, isempty, isnotempty]: field value can be omitted.
  2. For operators [in, notin]: field value must be a comma-separated list. Example: in(status)=active,inactive
  3. For operators [between, notbetween]: field value must be two comma-separated values. Example: between(insertDt)=2024-01-01,2024-12-31

Default Behavior:

  • If operator is omitted, 'eq' is assumed
  • Example: fieldName=fieldValue is equivalent to eq(fieldName)=fieldValue

Example Usage:

  • startswith(name)=EUR # Find records where name starts with "EUR"
  • in(status)=active,inactive # Find records with active or inactive status
  • gt(maxAllowedPrice)=0.05 # Find records where max allowed price is greater than 0.05

Request example

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

Responses

List of Biz partner contacts

application/json
dataobject[]required
Show child attributes
addressstring
addressIdinteger
birthdaystring (date)
bizPartnerIdinteger
citystring
contactTypeIdinteger
contactTypeNamestring
countryIdinteger
countryNamestring
customPositionNamestring
customTypeNamestring
departmentIdinteger
departmentNamestring
eMailBusinessstring
eMailPrivatestring
extraAttributesobject
Show child attributes
dataobject[]
Show child attributes
attributeCodeNamestring
attributeIdinteger
attributeNamestring
attributeTypeIdinteger
attributeValuestring
customAttrNamestring
idinteger
sectionIdinteger
faxstring
firstNamestring
genderstring
Possible values: male, female, unknown
idinteger
languagestring
languageNamestring
lastNamestring
mobilestring
mobileBusinessstring
nickNamestring
notestring
partnerBriefNamestring
partnerNamestring
phoneOfficeCentralstring
phoneOfficeDirectstring
picturestring
positionIdinteger
positionNamestring
postalCodestring
salutationstring
Possible values: formal, informal
skypestring
statusstring
Possible values: active, inactive
statusDtstring (date-time)
titelstring
metaobjectrequired
Show child attributes
paginationobjectrequired
Show child attributes
countintegerrequired
current_pageintegerrequired
linksobjectrequired
Show child attributes
firststring
laststring
nextstring
prevstring
per_pageintegerrequired
totalintegerrequired
total_pagesintegerrequired
Example response
{
  "data": [
    {
      "address": "string",
      "addressId": 0,
      "birthday": "2026-01-01",
      "bizPartnerId": 0,
      "city": "string",
      "contactTypeId": 0,
      "contactTypeName": "string",
      "countryId": 0,
      "countryName": "string",
      "customPositionName": "string",
      "customTypeName": "string",
      "departmentId": 0,
      "departmentName": "string",
      "eMailBusiness": "string",
      "eMailPrivate": "string",
      "extraAttributes": {
        "data": [
          {
            "attributeCodeName": "string",
            "attributeId": 0,
            "attributeName": "string",
            "attributeTypeId": 0,
            "attributeValue": "string",
            "customAttrName": "string",
            "id": 0,
            "sectionId": 0
          }
        ]
      },
      "fax": "string",
      "firstName": "string",
      "gender": "male",
      "id": 0,
      "language": "string",
      "languageName": "string",
      "lastName": "string",
      "mobile": "string",
      "mobileBusiness": "string",
      "nickName": "string",
      "note": "string",
      "partnerBriefName": "string",
      "partnerName": "string",
      "phoneOfficeCentral": "string",
      "phoneOfficeDirect": "string",
      "picture": "string",
      "positionId": 0,
      "positionName": "string",
      "postalCode": "string",
      "salutation": "formal",
      "skype": "string",
      "status": "active",
      "statusDt": "2026-01-01T12:00:00Z",
      "titel": "string"
    }
  ],
  "meta": {
    "pagination": {
      "count": 0,
      "current_page": 0,
      "links": {
        "first": "string",
        "last": "string",
        "next": "string",
        "prev": "string"
      },
      "per_page": 0,
      "total": 0,
      "total_pages": 0
    }
  }
}