GET contacts/suggest?prefix={prefix}&limit={limit}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
prefix

string

Default value is

limit

integer

Default value is 10

Body Parameters

None.

Response Information

Resource Description

APILongListResponseOfContactSuggestItemOutModel
NameDescriptionTypeAdditional information
totalRowCount

integer

None.

responseDate

date

None.

rows

Collection of ContactSuggestItemOutModel

None.

Response Formats

application/json, text/json, application/vnd.team.do+json

Sample:
{
  "totalRowCount": 1,
  "responseDate": "2019-03-18T05:50:28.2038428+00:00",
  "rows": [
    {
      "id": 1,
      "displayName": "sample string 2",
      "type": 3,
      "kind": 4,
      "priority": 5,
      "phones": [
        "sample string 1",
        "sample string 2"
      ],
      "emails": [
        "sample string 1",
        "sample string 2"
      ]
    },
    {
      "id": 1,
      "displayName": "sample string 2",
      "type": 3,
      "kind": 4,
      "priority": 5,
      "phones": [
        "sample string 1",
        "sample string 2"
      ],
      "emails": [
        "sample string 1",
        "sample string 2"
      ]
    }
  ]
}

text/html

Sample:
{"totalRowCount":1,"responseDate":"2019-03-18T05:50:28.2038428+00:00","rows":[{"id":1,"displayName":"sample string 2","type":3,"kind":4,"priority":5,"phones":["sample string 1","sample string 2"],"emails":["sample string 1","sample string 2"]},{"id":1,"displayName":"sample string 2","type":3,"kind":4,"priority":5,"phones":["sample string 1","sample string 2"],"emails":["sample string 1","sample string 2"]}]}