Get Started
Portal api methods
Help

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

Description

Quickly creates the 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 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

Contact list

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "smallFotoUrl": "url to foto",
      "displayName": "Tadjeddine Bachir",
      "isCompany": false,
      "isPrivate": false,
      "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>false</isPrivate>
    <isShared>false</isShared>
    <shareType>0</shareType>
    <currency />
    <canEdit>false</canEdit>
    <canDelete>false</canDelete>
    <id>0</id>
  </response>
</result>