POST api/Contact/GetSearchedContactCustomCategories

Request Information

URI Parameters

None.

Body Parameters

SearchedContactCustomCategoriesVM
NameDescriptionTypeAdditional information
SubAccountId

string

None.

UserId

string

None.

IsCustomFilters

boolean

None.

FilterByCategory

ContactFilterByCategory

None.

SourceFilterSelectionType

ContactSourceFilterSelectionType

None.

MobilePageOrCampaignFilterDetail

MobilePageOrCampaignFilterDetailViewModel

None.

IncludedCategoryIds

Collection of string

None.

SearchValue

string

None.

IsAnyCategoryOptionIncluded

boolean

None.

IsNoCategoryOptionIncluded

boolean

None.

FilterPreferences

FiltersSortPreferences

None.

SelectedFilterNames

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "SubAccountId": "sample string 1",
  "UserId": "sample string 2",
  "IsCustomFilters": true,
  "FilterByCategory": "List",
  "SourceFilterSelectionType": "None",
  "MobilePageOrCampaignFilterDetail": {
    "SelectedMobilePageOrCampaignFilterId": "sample string 1",
    "MobilePageOrCampaignFilterSelectionType": "None",
    "RecurringCampaignSendSummaryFilterId": "sample string 2",
    "RecurringCampaignContactFilterType": "None",
    "CampaignGeneralFilterType": "None",
    "FilterSelectedBuilderElementId": "sample string 3",
    "MobilePageGeneralFilterType": "None",
    "BuilderElementFilterType": "NA",
    "OfferBuilderElementFilterType": "None",
    "ButtonBuilderElementFilterType": "None",
    "DownloadBuilderElementFilterType": "None",
    "FormBuilderElementFilterType": "None"
  },
  "IncludedCategoryIds": [
    "sample string 1",
    "sample string 2"
  ],
  "SearchValue": "sample string 4",
  "IsAnyCategoryOptionIncluded": true,
  "IsNoCategoryOptionIncluded": true,
  "FilterPreferences": "None",
  "SelectedFilterNames": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<SearchedContactCustomCategoriesVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.Contact">
  <FilterByCategory>List</FilterByCategory>
  <FilterPreferences>None</FilterPreferences>
  <IncludedCategoryIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </IncludedCategoryIds>
  <IsAnyCategoryOptionIncluded>true</IsAnyCategoryOptionIncluded>
  <IsCustomFilters>true</IsCustomFilters>
  <IsNoCategoryOptionIncluded>true</IsNoCategoryOptionIncluded>
  <MobilePageOrCampaignFilterDetail xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">
    <d2p1:BuilderElementFilterType>NA</d2p1:BuilderElementFilterType>
    <d2p1:ButtonBuilderElementFilterType>None</d2p1:ButtonBuilderElementFilterType>
    <d2p1:CampaignGeneralFilterType>None</d2p1:CampaignGeneralFilterType>
    <d2p1:DownloadBuilderElementFilterType>None</d2p1:DownloadBuilderElementFilterType>
    <d2p1:FilterSelectedBuilderElementId>sample string 3</d2p1:FilterSelectedBuilderElementId>
    <d2p1:FormBuilderElementFilterType>None</d2p1:FormBuilderElementFilterType>
    <d2p1:MobilePageGeneralFilterType>None</d2p1:MobilePageGeneralFilterType>
    <d2p1:MobilePageOrCampaignFilterSelectionType>None</d2p1:MobilePageOrCampaignFilterSelectionType>
    <d2p1:OfferBuilderElementFilterType>None</d2p1:OfferBuilderElementFilterType>
    <d2p1:RecurringCampaignContactFilterType>None</d2p1:RecurringCampaignContactFilterType>
    <d2p1:RecurringCampaignSendSummaryFilterId>sample string 2</d2p1:RecurringCampaignSendSummaryFilterId>
    <d2p1:SelectedMobilePageOrCampaignFilterId>sample string 1</d2p1:SelectedMobilePageOrCampaignFilterId>
  </MobilePageOrCampaignFilterDetail>
  <SearchValue>sample string 4</SearchValue>
  <SelectedFilterNames xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </SelectedFilterNames>
  <SourceFilterSelectionType>None</SourceFilterSelectionType>
  <SubAccountId>sample string 1</SubAccountId>
  <UserId>sample string 2</UserId>
</SearchedContactCustomCategoriesVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.