v1

latestOpenAPI 3.0.02026-07-1315476656.4 KB
CommunicationWay

Create a new contact communication way

Creates a new contact communication way.

post/CommunicationWay

Request body

idinteger

The communication way id

objectNamestring

The communication way object name

createstring date-time

Date of communication way creation

updatestring date-time

Date of last communication way update

type'EMAIL' | 'PHONE' | 'WEB' | 'MOBILE' required

Type of the communication way

valuestring required

The value of the communication way.<br> For example the phone number, e-mail address or website.

mainboolean nullable

Defines whether the communication way is the main communication way for the contact.

Example request

{
  "contact": {
    "objectName": "Contact"
  },
  "type": "EMAIL",
  "key": {
    "objectName": "CommunicationWayKey"
  }
}

Response

Created - Returns created contact communication way

idstring

The communication way id

objectNamestring

The communication way object name

createstring date-time

Date of communication way creation

updatestring date-time

Date of last communication way update

type'EMAIL' | 'PHONE' | 'WEB' | 'MOBILE'

Type of the communication way

valuestring

The value of the communication way.<br> For example the phone number, e-mail address or website.

mainstring

Defines whether the communication way is the main communication way for the contact.

Example response

{
  "id": "0",
  "objectName": "CommunicationWay",
  "contact": {
    "id": "0",
    "objectName": "Contact"
  },
  "type": "EMAIL",
  "key": {
    "id": "0",
    "objectName": "CommunicationWayKey"
  },
  "main": "0",
  "sevClient": {
    "id": "0",
    "objectName": "SevClient"
  }
}