Get Started
Usage API
More information

POST api/2.0/crm/contact/person/quick This function requires authentication

Description

Creates a list of persons with the first and last names specified in the request.

Parameters
Name Description Type Example
data
sent in body
Pairs: user first name, user last name Collection of ASC.Api.Collections.ItemKeyValuePair`2[System.String,System.String]s
collection
Remark

Data has the following format: [{key: 'First name 1', value: 'Last name 1'}, {key: 'First name 2', value: 'Last name 2'}].

Example
POST api/2.0/crm/contact/person/quick
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "data": [
    {
      "Key": null,
      "Value": null
    }
  ]
}
Returns

List of contacts

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "smallFotoUrl": "url to foto",
      "displayName": "Tadjeddine Bachir",
      "isCompany": false,
      "isPrivate": true,
      "isShared": false,
      "shareType": 0,
      "currency": null,
      "canEdit": false,
      "canDelete": false,
      "id": 0
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <smallFotoUrl>url to foto</smallFotoUrl>
    <displayName>Tadjeddine Bachir</displayName>
    <isCompany>false</isCompany>
    <isPrivate>true</isPrivate>
    <isShared>false</isShared>
    <shareType>0</shareType>
    <currency />
    <canEdit>false</canEdit>
    <canDelete>false</canDelete>
    <id>0</id>
  </response>
</result>