GET api/Gadget/GetUserAndContactsForVendor?vendorAccountId={vendorAccountId}&searchWord={searchWord}
Return the list of contacts.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
vendorAccountId | globally unique identifier |
Required |
|
searchWord | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ContactModelName | Description | Type | Additional information |
---|---|---|---|
string |
None. |
||
Name | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Email": "sample string 1", "Name": "sample string 2" }, { "Email": "sample string 1", "Name": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfContactModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gosocket.Web.Api.Models"> <ContactModel> <Email>sample string 1</Email> <Name>sample string 2</Name> </ContactModel> <ContactModel> <Email>sample string 1</Email> <Name>sample string 2</Name> </ContactModel> </ArrayOfContactModel>