Evo Voice

<back to all web services

ListAutoCompleteValues

Requires Authentication
The following routes are available for this service:
All Verbs/ui/autocomplete/values
ListAutoCompleteValues Parameters:
NameParameterData TypeRequiredDescription
AccountIdquerystringNoAccount ID
CustomerIdquerystringNoFilter by customer ID
TypequeryValueTypesNoThe type of value
QueryquerystringNoThe query text to search for
TypeSpecificFilterquerystringNoType specific filter
ValuequerystringNoThe value to search for (will only return one result)
PlainTextqueryboolNoShould the results be sent back in plain text or with embedded HTML?
FullInfoqueryboolNoInclude full info?
AllqueryboolNoList all values, only use for small lists.
ValueTypes Enum:
NotSpecified
String
Boolean
Number
List
Struct
Transition
Custom
Date
AudioFile
TimeZoneId
PhoneNumber
User
Endpoint
Time
File
FaxNumber
EmailAccount
Customer
Flow
Team
FlowReference
Integration
ListAutoCompleteValuesResponse Parameters:
NameParameterData TypeRequiredDescription
ValuesformList<AutoCompleteValue>No
AutoCompleteValue Parameters:
NameParameterData TypeRequiredDescription
DisplayNameformstringNoDisplay name
ValueformstringNoValue

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /ui/autocomplete/values HTTP/1.1 
Host: evovoice.io 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"accountId":"String","customerId":"String","type":"NotSpecified","query":"String","typeSpecificFilter":"String","value":"String","plainText":false,"fullInfo":false,"all":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"values":[{"displayName":"String","value":"String"}]}