POST api/Account/GetAccountsGridDataWithFilters

Request Information

URI Parameters

None.

Body Parameters

AccountGridFiltersRequestVM
NameDescriptionTypeAdditional information
AdminUserId

string

Required

SortingDirection

SortingDirection

Required

StatusFilters

Collection of AccountStatusFilters

None.

RecentFilter

AccountRecentFilters

None.

PastDueFilter

PastDueFilters

None.

AffiliateIds

Collection of string

None.

AgencyIds

Collection of string

None.

FlagMarked

boolean

None.

PlanFilters

Collection of PlansDetail

None.

TagIds

Collection of string

None.

SubscriptionTypeFilter

SubscriptionType

None.

BillingFrequencyFilter

BillingFrequencyFilter

None.

PageNumber

integer

Required

PageSize

integer

Required

SortColumnName

string

None.

SearchValue

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AdminUserId": "sample string 1",
  "SortingDirection": "Ascending",
  "StatusFilters": [
    "Active",
    "Active"
  ],
  "RecentFilter": "NewToday",
  "PastDueFilter": "Current",
  "AffiliateIds": [
    "sample string 1",
    "sample string 2"
  ],
  "AgencyIds": [
    "sample string 1",
    "sample string 2"
  ],
  "FlagMarked": true,
  "PlanFilters": [
    {
      "Id": "sample string 1",
      "Name": "sample string 2",
      "IsTrial": true,
      "Accounts": 4
    },
    {
      "Id": "sample string 1",
      "Name": "sample string 2",
      "IsTrial": true,
      "Accounts": 4
    }
  ],
  "TagIds": [
    "sample string 1",
    "sample string 2"
  ],
  "SubscriptionTypeFilter": "Billed",
  "BillingFrequencyFilter": 1,
  "PageNumber": 2,
  "PageSize": 3,
  "SortColumnName": "sample string 4",
  "SearchValue": "sample string 5"
}

application/xml, text/xml

Sample:
<AccountGridFiltersRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.AccountsAndUsers">
  <AdminUserId>sample string 1</AdminUserId>
  <AffiliateIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </AffiliateIds>
  <AgencyIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </AgencyIds>
  <BillingFrequencyFilter>Monthly</BillingFrequencyFilter>
  <FlagMarked>true</FlagMarked>
  <PageNumber>2</PageNumber>
  <PageSize>3</PageSize>
  <PastDueFilter>Current</PastDueFilter>
  <PlanFilters xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ResponseModel.Admin.AccountsAndUsers">
    <d2p1:PlansDetail>
      <d2p1:Accounts>4</d2p1:Accounts>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:IsTrial>true</d2p1:IsTrial>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:PlansDetail>
    <d2p1:PlansDetail>
      <d2p1:Accounts>4</d2p1:Accounts>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:IsTrial>true</d2p1:IsTrial>
      <d2p1:Name>sample string 2</d2p1:Name>
    </d2p1:PlansDetail>
  </PlanFilters>
  <RecentFilter>NewToday</RecentFilter>
  <SearchValue>sample string 5</SearchValue>
  <SortColumnName>sample string 4</SortColumnName>
  <SortingDirection>Ascending</SortingDirection>
  <StatusFilters xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Shared.Common">
    <d2p1:AccountStatusFilters>Active</d2p1:AccountStatusFilters>
    <d2p1:AccountStatusFilters>Active</d2p1:AccountStatusFilters>
  </StatusFilters>
  <SubscriptionTypeFilter>Billed</SubscriptionTypeFilter>
  <TagIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </TagIds>
</AccountGridFiltersRequestVM>

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.