AIM Web Services

<back to all web services

SearchContactManagementRequest

SearchContactManagement web service.

The following routes are available for this service:
POST, GET/api/SearchContactManagement
SearchContactManagementRequest Parameters:
NameParameterData TypeRequiredDescription
FormattedNotesbodybool?No
RefquerystringNoIf sent, all other search parameters will be ignored.
Acctbodyint?No
DateFrombodyDateTime?No
DateTobodyDateTime?No
IncludeClosedbodybool?No
SearchStringquerystringNo
ActionIdbodylong?No
BaseSecureRequest Parameters:
NameParameterData TypeRequiredDescription
TokenHeaderstringNo
DeviceIdHeaderstringNo
AppIdHeaderstringYes
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyheaderstringYesThis is your AIM API Key provided by Tri-Tech
OAuthTokenheaderstringNo
SearchContactManagementResponse Parameters:
NameParameterData TypeRequiredDescription
ContactManagementRecordsformList<ContactManagementRecord>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
StatusbodyBaseResponseResultNo
BaseResponseResult Parameters:
NameParameterData TypeRequiredDescription
StatusCodebodystringNo
LoginbodystringNo
ErrorCodebodystringNo
ErrorDisplayTextbodystringNo
ErrorMessagebodystringNo
DomainNamebodystringNo
IpAddressbodystringNo
ContactManagementRecord Parameters:
NameParameterData TypeRequiredDescription
RefformstringNo
DateTimeformDateTimeNo
ContactformstringNo
CusAcctformintNo
ActionIdformlongNo
StatusformstringNo
ActionDateformDateTime?No
PopUpformboolNo
TopicIdformlong?No
TopicformstringNo
ClosedformboolNo
ClosedDateformDateTime?No
ColorValueformintNo
LanIdformstringNo
FormattedNotesformboolNo
Note1formstringNo
Note2formstringNo
Note3formstringNo
AttributesformList<AttributeValuePair>No
AttributeValuePair Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
ValueformstringNo

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 /api/SearchContactManagement HTTP/1.1 
Host: active-ewebservice.biz 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"FormattedNotes":false,"Ref":"String","Acct":0,"DateFrom":"0001-01-01T00:00:00.0000000","DateTo":"0001-01-01T00:00:00.0000000","IncludeClosed":false,"SearchString":"String","ActionId":0,"Token":"String","DeviceId":"String","AppId":"String","ApiKey":"String","OAuthToken":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ContactManagementRecords":[{"Ref":"String","Contact":"String","CusAcct":0,"ActionId":0,"Status":"String","ActionDate":"0001-01-01T00:00:00.0000000","PopUp":false,"TopicId":0,"Topic":"String","Closed":false,"ClosedDate":"0001-01-01T00:00:00.0000000","ColorValue":0,"LanId":"String","FormattedNotes":false,"Note1":"String","Note2":"String","Note3":"String","Attributes":[{"Name":"String","Value":"String"}]}],"Status":{"StatusCode":"String","Login":"String","ErrorCode":"String","ErrorDisplayText":"String","ErrorMessage":"String","DomainName":"String","IpAddress":"String"}}