POST api/CRM/GetTasksWithFilter

Request Information

URI Parameters

None.

Body Parameters

CRMTaskFilterRequestVM
NameDescriptionTypeAdditional information
UserId

string

Required

SubAccountId

string

Required

ParentAccountId

string

Required

Priority

CRMTaskPriority

None.

Assignments

Collection of CRMAssignedToRequestVM

None.

Upcoming

boolean

None.

OverDue

boolean

None.

PageNumber

integer

None.

PageSize

integer

None.

SortDirection

SortingDirection

None.

SortColumnName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "sample string 1",
  "SubAccountId": "sample string 2",
  "ParentAccountId": "sample string 3",
  "Priority": "Normal",
  "Assignments": [
    {
      "IsTeam": true,
      "Id": "sample string 2"
    },
    {
      "IsTeam": true,
      "Id": "sample string 2"
    }
  ],
  "Upcoming": true,
  "OverDue": true,
  "PageNumber": 4,
  "PageSize": 5,
  "SortDirection": "Ascending",
  "SortColumnName": "sample string 6"
}

application/xml, text/xml

Sample:
<CRMTaskFilterRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.CRM">
  <Assignments>
    <CRMAssignedToRequestVM>
      <Id>sample string 2</Id>
      <IsTeam>true</IsTeam>
    </CRMAssignedToRequestVM>
    <CRMAssignedToRequestVM>
      <Id>sample string 2</Id>
      <IsTeam>true</IsTeam>
    </CRMAssignedToRequestVM>
  </Assignments>
  <OverDue>true</OverDue>
  <PageNumber>4</PageNumber>
  <PageSize>5</PageSize>
  <ParentAccountId>sample string 3</ParentAccountId>
  <Priority>Normal</Priority>
  <SortColumnName>sample string 6</SortColumnName>
  <SortDirection>Ascending</SortDirection>
  <SubAccountId>sample string 2</SubAccountId>
  <Upcoming>true</Upcoming>
  <UserId>sample string 1</UserId>
</CRMTaskFilterRequestVM>

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.