Get Started
Portal api methods
Help

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

Description

Quickly creates the list of companies

Parameters
Name Description Type Example
companyName
sent in body
Company name Collection of strings
collection
some text
Example
POST api/2.0/crm/contact/company/quick
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "companyName": [
    "some text"
  ]
}
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>