Skip to content

Add organizational contact

Request

This endpoint creates a new organizational contact associated with the currently authenticated account.

Behavior:

  • Validates and persists the organizational contact details
  • Associates the contact with the current account
  • Returns the newly created contact information
Body
namestring or null
emailstring or null
profilePicFileIdstring or null, (uuid)
phone1string or null
phone2string or null
addressstring or null
descriptionstring or null
secondaryNamestring or null
secondaryEmailstring or null
curl -i -X POST \
  https://demozone.zlinkfm.com/RND/api/v1/account/current/contacts/Add \
  -H 'Content-Type: application/json-patch+json' \
  -d '{
    "name": "string",
    "email": "string",
    "profilePicFileId": "85d2ad86-66f3-4595-aa47-a0a38c2e3c03",
    "phone1": "string",
    "phone2": "string",
    "address": "string",
    "description": "string",
    "secondaryName": "string",
    "secondaryEmail": "string"
  }'

Responses

OK

Body
dataobject(zLink.Business.zOne.Base.ResponseModels.OrganizationalContactsResponseModel)
messagestring or null
isErrorboolean
messageCodeinteger, (int32)
statusstring or null
errorTypestring or null
traceidstring or null
responseDescriptionstring or null
Response
{
  "data": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "name": "string",
    "email": "string",
    "profilePic": "string",
    "phone1": "string",
    "phone2": "string",
    "address": "string",
    "description": "string",
    "secondaryName": "string",
    "secondaryEmail": "string",
    "responseDescription": "string"
  },
  "message": "string",
  "isError": true,
  "messageCode": 0,
  "status": "string",
  "errorType": "string",
  "traceid": "string",
  "responseDescription": "string"
}