GET v1/Companies({CompanyId})/CustomerSearch?filterCriteria={filterCriteria}
This call returns the Customers that match your Search Criteria
Information:
Base URL:
https://api.covasoft.net/crm
Example of a call would be:
https://api.covasoft.net/crm/v1/Companies({CompanyId})/CustomerSearch?$filter=Criteria eq 'Peter.Smith@email.com'
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CompanyId |
Company Id from your onboarding package |
integer |
Required |
filterCriteria |
This is fitering criteria for your Customer Search |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns Customers that match your Search Criteria
Collection of CustomerSearchUsingFilteringReturnName | Description | Type | Additional information |
---|---|---|---|
Criteria | string |
None. |
|
Addresses | Collection of Object |
None. |
|
ContactMethods | Collection of ContactMethod |
None. |
|
CustomerExtensions | Collection of CustomerExtension |
None. |
|
RelatedCustomers | Collection of Object |
None. |
|
MemberOf | Collection of Object |
None. |
|
Documents | Collection of Object |
None. |
|
MergedCustomers | Collection of Object |
None. |
|
PrimaryName | string |
None. |
|
Title | Object |
None. |
|
AlternateName | Object |
None. |
|
MiddleName | Object |
None. |
|
FamilyName | string |
None. |
|
ReferralSource | Object |
None. |
|
Notes | Object |
None. |
|
UniqueIdentifier | string |
None. |
|
Id | globally unique identifier |
None. |
|
CustomerTypeId | integer |
None. |
|
CustomerType | string |
None. |
|
DateOfBirth | date |
None. |
|
PricingGroupId | integer |
None. |
|
Disabled | boolean |
None. |
|
DoNotContact | boolean |
None. |
|
Version | integer |
None. |
|
MergedIntoCustomerId | Object |
None. |
|
LastModifiedDateUtc | date |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Criteria": "sample string 1", "Addresses": [ {}, {} ], "ContactMethods": [ { "Value": "sample string 1", "Id": "c82140c3-e0e6-4c42-bd38-89fe15495711", "CustomerId": "c11cd915-f0ff-4d40-b9c3-08e537a4becb", "ContactMethodCategoryId": 4, "ContactMethodCategory": "sample string 5", "ContactMethodTypeId": 6, "ContactMethodType": "sample string 7", "DoNotContact": true, "Default": true, "Notes": "sample string 10", "Version": 11 }, { "Value": "sample string 1", "Id": "c82140c3-e0e6-4c42-bd38-89fe15495711", "CustomerId": "c11cd915-f0ff-4d40-b9c3-08e537a4becb", "ContactMethodCategoryId": 4, "ContactMethodCategory": "sample string 5", "ContactMethodTypeId": 6, "ContactMethodType": "sample string 7", "DoNotContact": true, "Default": true, "Notes": "sample string 10", "Version": 11 } ], "CustomerExtensions": [ { "Value": "sample string 1", "Id": "2d90a08f-2b7c-4f4e-90b3-3d7098457d8b", "CustomerId": "4ef0c289-2c96-4ae2-b4c7-a86a17eda855", "ExtensionTypeId": 4, "ExtensionType": "sample string 5", "ExtensionTypeFeature": "sample string 6", "Version": 7 }, { "Value": "sample string 1", "Id": "2d90a08f-2b7c-4f4e-90b3-3d7098457d8b", "CustomerId": "4ef0c289-2c96-4ae2-b4c7-a86a17eda855", "ExtensionTypeId": 4, "ExtensionType": "sample string 5", "ExtensionTypeFeature": "sample string 6", "Version": 7 } ], "RelatedCustomers": [ {}, {} ], "MemberOf": [ {}, {} ], "Documents": [ {}, {} ], "MergedCustomers": [ {}, {} ], "PrimaryName": "sample string 2", "Title": {}, "AlternateName": {}, "MiddleName": {}, "FamilyName": "sample string 6", "ReferralSource": {}, "Notes": {}, "UniqueIdentifier": "sample string 9", "Id": "7e15da3f-4f6b-4e6d-b310-62a2334b9ba2", "CustomerTypeId": 11, "CustomerType": "sample string 12", "DateOfBirth": "2024-11-07T08:48:49.4677056+00:00", "PricingGroupId": 14, "Disabled": true, "DoNotContact": true, "Version": 17, "MergedIntoCustomerId": {}, "LastModifiedDateUtc": "2024-11-07T08:48:49.4677056+00:00" }, { "Criteria": "sample string 1", "Addresses": [ {}, {} ], "ContactMethods": [ { "Value": "sample string 1", "Id": "c82140c3-e0e6-4c42-bd38-89fe15495711", "CustomerId": "c11cd915-f0ff-4d40-b9c3-08e537a4becb", "ContactMethodCategoryId": 4, "ContactMethodCategory": "sample string 5", "ContactMethodTypeId": 6, "ContactMethodType": "sample string 7", "DoNotContact": true, "Default": true, "Notes": "sample string 10", "Version": 11 }, { "Value": "sample string 1", "Id": "c82140c3-e0e6-4c42-bd38-89fe15495711", "CustomerId": "c11cd915-f0ff-4d40-b9c3-08e537a4becb", "ContactMethodCategoryId": 4, "ContactMethodCategory": "sample string 5", "ContactMethodTypeId": 6, "ContactMethodType": "sample string 7", "DoNotContact": true, "Default": true, "Notes": "sample string 10", "Version": 11 } ], "CustomerExtensions": [ { "Value": "sample string 1", "Id": "2d90a08f-2b7c-4f4e-90b3-3d7098457d8b", "CustomerId": "4ef0c289-2c96-4ae2-b4c7-a86a17eda855", "ExtensionTypeId": 4, "ExtensionType": "sample string 5", "ExtensionTypeFeature": "sample string 6", "Version": 7 }, { "Value": "sample string 1", "Id": "2d90a08f-2b7c-4f4e-90b3-3d7098457d8b", "CustomerId": "4ef0c289-2c96-4ae2-b4c7-a86a17eda855", "ExtensionTypeId": 4, "ExtensionType": "sample string 5", "ExtensionTypeFeature": "sample string 6", "Version": 7 } ], "RelatedCustomers": [ {}, {} ], "MemberOf": [ {}, {} ], "Documents": [ {}, {} ], "MergedCustomers": [ {}, {} ], "PrimaryName": "sample string 2", "Title": {}, "AlternateName": {}, "MiddleName": {}, "FamilyName": "sample string 6", "ReferralSource": {}, "Notes": {}, "UniqueIdentifier": "sample string 9", "Id": "7e15da3f-4f6b-4e6d-b310-62a2334b9ba2", "CustomerTypeId": 11, "CustomerType": "sample string 12", "DateOfBirth": "2024-11-07T08:48:49.4677056+00:00", "PricingGroupId": 14, "Disabled": true, "DoNotContact": true, "Version": 17, "MergedIntoCustomerId": {}, "LastModifiedDateUtc": "2024-11-07T08:48:49.4677056+00:00" } ]