Evo Voice

<back to all web services

ListCrmCustomers

The following routes are available for this service:
All Verbs/integrations/{integrationId}/customers
"use strict";
export class CrmCustomerInfo {
    /** @param {{id?:string,displayName?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    id;
    /** @type {string} */
    displayName;
}
export class ListCrmCustomersResponse {
    /** @param {{customers?:CrmCustomerInfo[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {CrmCustomerInfo[]} */
    customers;
}
export class ListCrmCustomers {
    /** @param {{integrationId?:string,query?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    integrationId;
    /** @type {string} */
    query;
}

JavaScript ListCrmCustomers DTOs

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

HTTP + OTHER

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

POST /integrations/{integrationId}/customers HTTP/1.1 
Host: team.evovoice.io 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"integrationId":"String","query":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"customers":[{"id":"String","displayName":"String"}]}