Search for Channel Partner Contacts by Name
Returns a list of contacts for the provided query parameters.
Method Type | URI |
---|---|
GET | v90/ws/partner/{partnerId}/contact.ws ?firstName={firstName} &lastName={lastName} |
Example URL: http://hostname:8080/ems/v90/ws/contact.ws?firstName=Walter&lastName=White
URI Parameters
Parameter | Description | Type |
---|---|---|
firstName | First name of the contact. | String |
lastName | Last name of the contact. | String |
partnerId | Identifier of the channel partner in the database. | Integer |
Sample Response
HTTP Status Code: 200
Success
Response Body:
<listResponse type="contact" count="1"> <instance contactId="16" emailId="heisenberg@gmail.com" customerId="23" name="Walter Hartwell White" enabled="true" default="true" firstName="Walter" middleName="Hartwell" lastName="White" locale="en"/> </listResponse>
Failure
Response Body:
<listResponse type="contact" count="0"/>