POST api/PipeLinesAndDeals/GetDealsGridData

Request Information

URI Parameters

None.

Body Parameters

DealsGridFilterRequestVM
NameDescriptionTypeAdditional information
UserId

string

None.

SubAccountId

string

None.

Conditions

Collection of DealsFilterWithStagesRequestVM

None.

AllPipeLines

boolean

None.

PageNumber

integer

None.

PageSize

integer

None.

SortColumnName

string

None.

SearchValue

string

None.

SortOrder

SortingDirection

None.

Assignment

DealAssignmentFilterType

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "sample string 1",
  "SubAccountId": "sample string 2",
  "Conditions": [
    {
      "Filter": "PipeLineAndStages",
      "PipeLineId": "sample string 1",
      "AllStages": true,
      "IncludedStageIds": [
        "sample string 1",
        "sample string 2"
      ],
      "ExcludedStageIds": [
        "sample string 1",
        "sample string 2"
      ],
      "IsIncluded": true,
      "PriorityDealFilter": "Normal",
      "ClosedDateDealFilter": "Overdue"
    },
    {
      "Filter": "PipeLineAndStages",
      "PipeLineId": "sample string 1",
      "AllStages": true,
      "IncludedStageIds": [
        "sample string 1",
        "sample string 2"
      ],
      "ExcludedStageIds": [
        "sample string 1",
        "sample string 2"
      ],
      "IsIncluded": true,
      "PriorityDealFilter": "Normal",
      "ClosedDateDealFilter": "Overdue"
    }
  ],
  "AllPipeLines": true,
  "PageNumber": 4,
  "PageSize": 5,
  "SortColumnName": "sample string 6",
  "SearchValue": "sample string 7",
  "SortOrder": "Ascending",
  "Assignment": "None"
}

application/xml, text/xml

Sample:
<DealsGridFilterRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.PipeLinesAndDeals">
  <AllPipeLines>true</AllPipeLines>
  <Assignment>None</Assignment>
  <Conditions>
    <DealsFilterWithStagesRequestVM>
      <AllStages>true</AllStages>
      <ClosedDateDealFilter>Overdue</ClosedDateDealFilter>
      <ExcludedStageIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </ExcludedStageIds>
      <Filter>PipeLineAndStages</Filter>
      <IncludedStageIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </IncludedStageIds>
      <IsIncluded>true</IsIncluded>
      <PipeLineId>sample string 1</PipeLineId>
      <PriorityDealFilter>Normal</PriorityDealFilter>
    </DealsFilterWithStagesRequestVM>
    <DealsFilterWithStagesRequestVM>
      <AllStages>true</AllStages>
      <ClosedDateDealFilter>Overdue</ClosedDateDealFilter>
      <ExcludedStageIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </ExcludedStageIds>
      <Filter>PipeLineAndStages</Filter>
      <IncludedStageIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </IncludedStageIds>
      <IsIncluded>true</IsIncluded>
      <PipeLineId>sample string 1</PipeLineId>
      <PriorityDealFilter>Normal</PriorityDealFilter>
    </DealsFilterWithStagesRequestVM>
  </Conditions>
  <PageNumber>4</PageNumber>
  <PageSize>5</PageSize>
  <SearchValue>sample string 7</SearchValue>
  <SortColumnName>sample string 6</SortColumnName>
  <SortOrder>Ascending</SortOrder>
  <SubAccountId>sample string 2</SubAccountId>
  <UserId>sample string 1</UserId>
</DealsGridFilterRequestVM>

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.