Creates a list of persons with the first and last names specified in the request.
Name | Description | Type | Example |
data
sent in body
|
Pairs: user first name, user last name |
Dictionary(key:string, value:string)
collection
|
[{"Key": "some text","Value": "some text"}] |
Data has the following format: [{key: 'First name 1', value: 'Last name 1'}, {key: 'First name 2', value: 'Last name 2'}].
POST api/2.0/crm/contact/person/quick Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "data": [ { "Key": "some text", "Value": "some text" } ] }
List of contacts
application/json
{ "status": 0, "response": [ { "SmallFotoUrl": "url to foto", "MediumFotoUrl": "url to foto", "DisplayName": "Tadjeddine Bachir", "IsCompany": false, "AccessList": [ { "Id": "00000000-0000-0000-0000-000000000000", "DisplayName": "Mike Zanyatski", "Title": "Manager", "AvatarSmall": "url to small avatar", "ProfileUrl": "\\/Products\\/People\\/Profile.aspx?user=administrator" } ], "IsPrivate": true, "IsShared": false, "ShareType": 0, "Currency": { "Title": "Chinese Yuan", "Symbol": "¥", "Abbreviation": "CNY", "CultureName": "CN", "IsConvertable": true, "IsBasic": false }, "CanEdit": true, "CanDelete": true, "id": 1234 } ] }
text/xml
<result> <status>0</status> <response> <SmallFotoUrl>url to foto</SmallFotoUrl> <MediumFotoUrl>url to foto</MediumFotoUrl> <DisplayName>Tadjeddine Bachir</DisplayName> <IsCompany>False</IsCompany> <AccessList> <Id>00000000-0000-0000-0000-000000000000</Id> <DisplayName>Mike Zanyatski</DisplayName> <Title>Manager</Title> <AvatarSmall>url to small avatar</AvatarSmall> <ProfileUrl>\/Products\/People\/Profile.aspx?user=administrator</ProfileUrl> </AccessList> <IsPrivate>True</IsPrivate> <IsShared>False</IsShared> <ShareType>0</ShareType> <Currency> <Title>Chinese Yuan</Title> <Symbol>¥</Symbol> <Abbreviation>CNY</Abbreviation> <CultureName>CN</CultureName> <IsConvertable>True</IsConvertable> <IsBasic>False</IsBasic> </Currency> <CanEdit>True</CanEdit> <CanDelete>True</CanDelete> <id>1234</id> </response> </result>