POST api/Contact/SaveUpdateContactGridViewDetails

Request Information

URI Parameters

None.

Body Parameters

ContactGridViewDetailVM
NameDescriptionTypeAdditional information
Name

string

Required

Columns

Collection of ViewColumnVM

Required

ViewAccess

ContactsViewAccess

Required

Filters

Collection of ContactGridViewFilterConditionsVM

None.

SortingDirection

SortingDirection

None.

SortBy

string

None.

AccountId

string

Required

ParentAccountId

string

Required

UserId

string

Required

Id

string

None.

CreatedDate

date

None.

UpdatedDate

date

None.

CreatedBy

string

None.

UpdatedBy

string

None.

CreatedByUserId

string

None.

UpdatedByUserId

string

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Columns": [
    {
      "Order": 1,
      "StandardColumn": "ContactPhoto",
      "Name": "sample string 2",
      "IsCustomField": true,
      "CustomFieldId": "sample string 4"
    },
    {
      "Order": 1,
      "StandardColumn": "ContactPhoto",
      "Name": "sample string 2",
      "IsCustomField": true,
      "CustomFieldId": "sample string 4"
    }
  ],
  "ViewAccess": "ViewToMe",
  "Filters": [
    {
      "Id": "sample string 1",
      "FilterByCategory": "List",
      "AnyAllOperator": "Any",
      "ContactFilterSelectionType": "NA",
      "FilterCategoryDetails": [
        {
          "FilterId": "sample string 1",
          "FilterName": "sample string 2",
          "IsFilterCategoryExclude": true
        },
        {
          "FilterId": "sample string 1",
          "FilterName": "sample string 2",
          "IsFilterCategoryExclude": true
        }
      ],
      "ContactRecentFilter": "Created",
      "ContactRecentDayFilter": "Today",
      "ContactRecentIntervalTypeFilter": "Days",
      "RecentIntervalLength": 2,
      "ContactBirthdayFilter": "Equals",
      "ContactBirthdayEqualsFilter": "Today",
      "ContactBirthdayIntervalTypeFilter": "Week",
      "ContactAge": 3,
      "ContactBirthdayIn": 4,
      "ContactBirthdayYear": 5,
      "ContactDateOfBirth": {
        "DOB": "2022-11-26T13:33:50.8399736+00:00",
        "Day": 1,
        "Month": 1,
        "Year": 1
      },
      "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"
      },
      "ContactBirthDayAgeFilter": "GreaterThan",
      "ContactBirthdayAgeBetween": {
        "StartAge": 1,
        "EndAge": 2
      }
    },
    {
      "Id": "sample string 1",
      "FilterByCategory": "List",
      "AnyAllOperator": "Any",
      "ContactFilterSelectionType": "NA",
      "FilterCategoryDetails": [
        {
          "FilterId": "sample string 1",
          "FilterName": "sample string 2",
          "IsFilterCategoryExclude": true
        },
        {
          "FilterId": "sample string 1",
          "FilterName": "sample string 2",
          "IsFilterCategoryExclude": true
        }
      ],
      "ContactRecentFilter": "Created",
      "ContactRecentDayFilter": "Today",
      "ContactRecentIntervalTypeFilter": "Days",
      "RecentIntervalLength": 2,
      "ContactBirthdayFilter": "Equals",
      "ContactBirthdayEqualsFilter": "Today",
      "ContactBirthdayIntervalTypeFilter": "Week",
      "ContactAge": 3,
      "ContactBirthdayIn": 4,
      "ContactBirthdayYear": 5,
      "ContactDateOfBirth": {
        "DOB": "2022-11-26T13:33:50.8399736+00:00",
        "Day": 1,
        "Month": 1,
        "Year": 1
      },
      "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"
      },
      "ContactBirthDayAgeFilter": "GreaterThan",
      "ContactBirthdayAgeBetween": {
        "StartAge": 1,
        "EndAge": 2
      }
    }
  ],
  "SortingDirection": "Ascending",
  "SortBy": "sample string 2",
  "AccountId": "sample string 3",
  "ParentAccountId": "sample string 4",
  "UserId": "sample string 5",
  "Id": "sample string 6",
  "CreatedDate": "2022-11-26T13:33:50.8399736+00:00",
  "UpdatedDate": "2022-11-26T13:33:50.8399736+00:00",
  "CreatedBy": "sample string 9",
  "UpdatedBy": "sample string 10",
  "CreatedByUserId": "sample string 11",
  "UpdatedByUserId": "sample string 12",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<ContactGridViewDetailVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 9</CreatedBy>
  <CreatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 11</CreatedByUserId>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2022-11-26T13:33:50.8399736+00:00</CreatedDate>
  <Id xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 6</Id>
  <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">true</IsDeleted>
  <UpdatedBy xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 10</UpdatedBy>
  <UpdatedByUserId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">sample string 12</UpdatedByUserId>
  <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models">2022-11-26T13:33:50.8399736+00:00</UpdatedDate>
  <AccountId>sample string 3</AccountId>
  <Columns>
    <ViewColumnVM>
      <CustomFieldId>sample string 4</CustomFieldId>
      <IsCustomField>true</IsCustomField>
      <Name>sample string 2</Name>
      <Order>1</Order>
      <StandardColumn>ContactPhoto</StandardColumn>
    </ViewColumnVM>
    <ViewColumnVM>
      <CustomFieldId>sample string 4</CustomFieldId>
      <IsCustomField>true</IsCustomField>
      <Name>sample string 2</Name>
      <Order>1</Order>
      <StandardColumn>ContactPhoto</StandardColumn>
    </ViewColumnVM>
  </Columns>
  <Filters>
    <ContactGridViewFilterConditionsVM>
      <AnyAllOperator>Any</AnyAllOperator>
      <ContactAge>3</ContactAge>
      <ContactBirthDayAgeFilter>GreaterThan</ContactBirthDayAgeFilter>
      <ContactBirthdayAgeBetween>
        <EndAge>2</EndAge>
        <StartAge>1</StartAge>
      </ContactBirthdayAgeBetween>
      <ContactBirthdayEqualsFilter>Today</ContactBirthdayEqualsFilter>
      <ContactBirthdayFilter>Equals</ContactBirthdayFilter>
      <ContactBirthdayIn>4</ContactBirthdayIn>
      <ContactBirthdayIntervalTypeFilter>Week</ContactBirthdayIntervalTypeFilter>
      <ContactBirthdayYear>5</ContactBirthdayYear>
      <ContactDateOfBirth>
        <DOB>2022-11-26T13:33:50.8399736+00:00</DOB>
        <Day>1</Day>
        <Month>1</Month>
        <Year>1</Year>
      </ContactDateOfBirth>
      <ContactFilterSelectionType>NA</ContactFilterSelectionType>
      <ContactRecentDayFilter>Today</ContactRecentDayFilter>
      <ContactRecentFilter>Created</ContactRecentFilter>
      <ContactRecentIntervalTypeFilter>Days</ContactRecentIntervalTypeFilter>
      <FilterByCategory>List</FilterByCategory>
      <FilterCategoryDetails>
        <ContactFilterCategoryConditionViewModel>
          <FilterId>sample string 1</FilterId>
          <FilterName>sample string 2</FilterName>
          <IsFilterCategoryExclude>true</IsFilterCategoryExclude>
        </ContactFilterCategoryConditionViewModel>
        <ContactFilterCategoryConditionViewModel>
          <FilterId>sample string 1</FilterId>
          <FilterName>sample string 2</FilterName>
          <IsFilterCategoryExclude>true</IsFilterCategoryExclude>
        </ContactFilterCategoryConditionViewModel>
      </FilterCategoryDetails>
      <MobilePageOrCampaignFilterDetail>
        <BuilderElementFilterType>NA</BuilderElementFilterType>
        <ButtonBuilderElementFilterType>None</ButtonBuilderElementFilterType>
        <CampaignGeneralFilterType>None</CampaignGeneralFilterType>
        <DownloadBuilderElementFilterType>None</DownloadBuilderElementFilterType>
        <FilterSelectedBuilderElementId>sample string 3</FilterSelectedBuilderElementId>
        <FormBuilderElementFilterType>None</FormBuilderElementFilterType>
        <MobilePageGeneralFilterType>None</MobilePageGeneralFilterType>
        <MobilePageOrCampaignFilterSelectionType>None</MobilePageOrCampaignFilterSelectionType>
        <OfferBuilderElementFilterType>None</OfferBuilderElementFilterType>
        <RecurringCampaignContactFilterType>None</RecurringCampaignContactFilterType>
        <RecurringCampaignSendSummaryFilterId>sample string 2</RecurringCampaignSendSummaryFilterId>
        <SelectedMobilePageOrCampaignFilterId>sample string 1</SelectedMobilePageOrCampaignFilterId>
      </MobilePageOrCampaignFilterDetail>
      <RecentIntervalLength>2</RecentIntervalLength>
      <SourceFilterSelectionType>None</SourceFilterSelectionType>
      <Id>sample string 1</Id>
    </ContactGridViewFilterConditionsVM>
    <ContactGridViewFilterConditionsVM>
      <AnyAllOperator>Any</AnyAllOperator>
      <ContactAge>3</ContactAge>
      <ContactBirthDayAgeFilter>GreaterThan</ContactBirthDayAgeFilter>
      <ContactBirthdayAgeBetween>
        <EndAge>2</EndAge>
        <StartAge>1</StartAge>
      </ContactBirthdayAgeBetween>
      <ContactBirthdayEqualsFilter>Today</ContactBirthdayEqualsFilter>
      <ContactBirthdayFilter>Equals</ContactBirthdayFilter>
      <ContactBirthdayIn>4</ContactBirthdayIn>
      <ContactBirthdayIntervalTypeFilter>Week</ContactBirthdayIntervalTypeFilter>
      <ContactBirthdayYear>5</ContactBirthdayYear>
      <ContactDateOfBirth>
        <DOB>2022-11-26T13:33:50.8399736+00:00</DOB>
        <Day>1</Day>
        <Month>1</Month>
        <Year>1</Year>
      </ContactDateOfBirth>
      <ContactFilterSelectionType>NA</ContactFilterSelectionType>
      <ContactRecentDayFilter>Today</ContactRecentDayFilter>
      <ContactRecentFilter>Created</ContactRecentFilter>
      <ContactRecentIntervalTypeFilter>Days</ContactRecentIntervalTypeFilter>
      <FilterByCategory>List</FilterByCategory>
      <FilterCategoryDetails>
        <ContactFilterCategoryConditionViewModel>
          <FilterId>sample string 1</FilterId>
          <FilterName>sample string 2</FilterName>
          <IsFilterCategoryExclude>true</IsFilterCategoryExclude>
        </ContactFilterCategoryConditionViewModel>
        <ContactFilterCategoryConditionViewModel>
          <FilterId>sample string 1</FilterId>
          <FilterName>sample string 2</FilterName>
          <IsFilterCategoryExclude>true</IsFilterCategoryExclude>
        </ContactFilterCategoryConditionViewModel>
      </FilterCategoryDetails>
      <MobilePageOrCampaignFilterDetail>
        <BuilderElementFilterType>NA</BuilderElementFilterType>
        <ButtonBuilderElementFilterType>None</ButtonBuilderElementFilterType>
        <CampaignGeneralFilterType>None</CampaignGeneralFilterType>
        <DownloadBuilderElementFilterType>None</DownloadBuilderElementFilterType>
        <FilterSelectedBuilderElementId>sample string 3</FilterSelectedBuilderElementId>
        <FormBuilderElementFilterType>None</FormBuilderElementFilterType>
        <MobilePageGeneralFilterType>None</MobilePageGeneralFilterType>
        <MobilePageOrCampaignFilterSelectionType>None</MobilePageOrCampaignFilterSelectionType>
        <OfferBuilderElementFilterType>None</OfferBuilderElementFilterType>
        <RecurringCampaignContactFilterType>None</RecurringCampaignContactFilterType>
        <RecurringCampaignSendSummaryFilterId>sample string 2</RecurringCampaignSendSummaryFilterId>
        <SelectedMobilePageOrCampaignFilterId>sample string 1</SelectedMobilePageOrCampaignFilterId>
      </MobilePageOrCampaignFilterDetail>
      <RecentIntervalLength>2</RecentIntervalLength>
      <SourceFilterSelectionType>None</SourceFilterSelectionType>
      <Id>sample string 1</Id>
    </ContactGridViewFilterConditionsVM>
  </Filters>
  <Name>sample string 1</Name>
  <ParentAccountId>sample string 4</ParentAccountId>
  <SortBy>sample string 2</SortBy>
  <SortingDirection>Ascending</SortingDirection>
  <UserId>sample string 5</UserId>
  <ViewAccess>ViewToMe</ViewAccess>
</ContactGridViewDetailVM>

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.