POST api/Contact/AddOrRemoveContactsByCategories
Request Information
URI Parameters
None.
Body Parameters
ContactCategoryFilterName | Description | Type | Additional information |
---|---|---|---|
ContactIds | Collection of string |
None. |
|
CategoryIds | Collection of string |
None. |
|
ContactCategory | ContactCategory |
None. |
|
SearchValue | string |
None. |
|
AccountId | string |
None. |
|
IsAddContactInCategory | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ContactIds": [ "sample string 1", "sample string 2" ], "CategoryIds": [ "sample string 1", "sample string 2" ], "ContactCategory": "List", "SearchValue": "sample string 1", "AccountId": "sample string 2", "IsAddContactInCategory": true }
application/xml, text/xml
Sample:
<ContactCategoryFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel"> <AccountId>sample string 2</AccountId> <CategoryIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </CategoryIds> <ContactCategory>List</ContactCategory> <ContactIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ContactIds> <IsAddContactInCategory>true</IsAddContactInCategory> <SearchValue>sample string 1</SearchValue> </ContactCategoryFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.