Update Biz partner contact

PUT/biz-partners-contacts-update

Update Biz partner contact.

Privileges: biz-core.manage

Audit event:

  • biz.core.v2.biz.partner.contact.update

Validation errors:

  • BIZ_CORE:DEPARTMENT_FOR_{id}_NOT_FOUND - Biz department not found
  • BIZ_CORE:POSITIONS_FOR_{id}_NOT_FOUND - Biz positions 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

Body

application/json
departmentsobject[]
Show child attributes
idinteger
positionsobject[]
Show child attributes
idinteger

Request example

cURL · cURL
curl -L -X PUT "https://api-cpaas.sms.es/biz-core/v2/biz-partners-contacts-update" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <access_token>" \
  --data-raw '{
  "departments": [
    {
      "id": 0
    }
  ],
  "positions": [
    {
      "id": 0
    }
  ]
}'

Responses

Biz partner contact updated successfully

application/json
departmentsIdobject
Show child attributes
valuestring
errorobject
Show child attributes
Codeinteger (int32)required
Messagestringrequired
opStatusstring
Possible values: ok, error
positionsIdobject
Show child attributes
valuestring
Example response
{
  "departmentsId": {
    "value": "string"
  },
  "error": {
    "Code": 0,
    "Message": "string"
  },
  "opStatus": "ok",
  "positionsId": {
    "value": "string"
  }
}