GET /callcenter/contact/uniqueemail


Return the email address for a crm_id and guarantee that the email address is globally unique. This is achieved by letting only the first crm_id have the email address if it is duplicate. All other crm_id's will be assigned an email address using the crm_id and a domain that can be passed to the endpoint via a prameter. If none is passed then lsi.elq is used.

Resource URL

http://www.lsitampa.com/callcenter/contact/uniqueemail.{response_format}

Method

GET

Response Format

json

Parameters

from - optional
The lower datetime limit (inclusive). Default null.
to - optional
The upper datetime limit (inclusive). Default null.
last_id - optional
This endpoint supports the seek method, instead of passing the offset, pass the highest/last id of the previous result set. This method puts more responsiblity on the client but is significantly faster than using offset, especially on large result sets. Default null.
email_domain - optional
The domain to be used for duplicate emails. Default lsi.elq.
resultschema - optional
If true return the result schema of this endpoint
offset - optional
The record offset from which point on to return records as a non-negative integer value. This is equivalent to the first parameter in the MySql LIMIT clause. If omitted: 0.
rowcount - optional
A non-negative integer value that specifies the number of records to return. If omitted: 100.
jsonp_callback - optional
If making cross domain Ajax calls use this as the call-back method name in your Ajax request.

HTTP Errors

400
{
  "error": {
    "code": 400,
    "message": "Bad request (if set by the developer, specific reason for bad request)"
  }
}
404
{
  "error": {
    "code": 404,
    "message": "Not found"
  }
}
500
{
  "error": {
    "code": 500,
    "message": "Internal Server Error"
  }
}