Contacts APIs
-
Get Count of Search Results
Description: Returns the total number of contacts from the search results.Usage:
GET api/ContactLists/Contacts/Search/Count/{ListCode}/{SearchField}/{SearchCriteria}
Parameter Type Source Description ListCode Int32 FromUri Unique numerical code that identifies the contact list SearchField String FromUri The direction to sort the results Value Description EntityName The name of the contact entity EntityGuid Guid that uniquely identifies the contact Phone The phone number of the entity Email The email address of the entity Address The street address of the entity City The city of the entity StateProv The state or provence of the entity PostalCode The postal code of the contact entity SearchCriteria String FromUri The value to search for in the given field Returns:
Examples:
<!-- Intent: gets the total number of contacts in the contact list with ListCode 123456 where the EntityName is like Bob. GET to the following url http://api.v4.swiftreach.com/api/ContactLists/Contacts/Search/Count/123456/EntityName/Bob --> <!-- No XML input is required --> <!-- example return value --> <int>1</int>