POST api/Customer/GetCustomerFlagCounts

Request Information

URI Parameters

None.

Body Parameters

CustomerGridRequestData
NameDescriptionTypeAdditional information
GroupId

string

None.

SegmentId

string

None.

RepId

string

None.

IncludeOnlyCustomersWithPendingUsers

boolean

None.

City

string

None.

State

string

None.

Zip

string

None.

Category

string

None.

SearchTerm

string

None.

NoSalesActive

boolean

None.

NoSalesDays

integer

None.

ActiveLastActive

boolean

None.

ActiveLastMonths

integer

None.

NewCustomersActive

boolean

None.

InventoryOnly

boolean

None.

PaginatedGridData

StandardPaginatedGridData

None.

Request Formats

application/json, text/json

Sample:
{
  "GroupId": "sample string 1",
  "SegmentId": "sample string 2",
  "RepId": "sample string 3",
  "IncludeOnlyCustomersWithPendingUsers": true,
  "City": "sample string 5",
  "State": "sample string 6",
  "Zip": "sample string 7",
  "Category": "sample string 8",
  "SearchTerm": "sample string 9",
  "NoSalesActive": true,
  "NoSalesDays": 11,
  "ActiveLastActive": true,
  "ActiveLastMonths": 13,
  "NewCustomersActive": true,
  "InventoryOnly": true,
  "PaginatedGridData": {
    "PageSize": 1,
    "CurrentPage": 2,
    "SortColumn": "sample string 3",
    "SortDirection": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<CustomerGridRequestData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoHarrellsAPI.Models">
  <ActiveLastActive>true</ActiveLastActive>
  <ActiveLastMonths>13</ActiveLastMonths>
  <Category>sample string 8</Category>
  <City>sample string 5</City>
  <GroupId>sample string 1</GroupId>
  <IncludeOnlyCustomersWithPendingUsers>true</IncludeOnlyCustomersWithPendingUsers>
  <InventoryOnly>true</InventoryOnly>
  <NewCustomersActive>true</NewCustomersActive>
  <NoSalesActive>true</NoSalesActive>
  <NoSalesDays>11</NoSalesDays>
  <PaginatedGridData>
    <CurrentPage>2</CurrentPage>
    <PageSize>1</PageSize>
    <SortColumn>sample string 3</SortColumn>
    <SortDirection>sample string 4</SortDirection>
  </PaginatedGridData>
  <RepId>sample string 3</RepId>
  <SearchTerm>sample string 9</SearchTerm>
  <SegmentId>sample string 2</SegmentId>
  <State>sample string 6</State>
  <Zip>sample string 7</Zip>
</CustomerGridRequestData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CustomerFlagCounts
NameDescriptionTypeAdditional information
PendingFlagCount

integer

None.

NoSalesFlagCount

integer

None.

ActiveFlagCount

integer

None.

NewCustomersFlagCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "PendingFlagCount": 1,
  "NoSalesFlagCount": 2,
  "ActiveFlagCount": 3,
  "NewCustomersFlagCount": 4
}

application/xml, text/xml

Sample:
<CustomerFlagCounts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GoHarrellsAPI.Models">
  <ActiveFlagCount>3</ActiveFlagCount>
  <NewCustomersFlagCount>4</NewCustomersFlagCount>
  <NoSalesFlagCount>2</NoSalesFlagCount>
  <PendingFlagCount>1</PendingFlagCount>
</CustomerFlagCounts>