Get Started
Usage API
More information

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

Description

Creates a list of companies with the names specified in the request.

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

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>