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.

ShowUnAssigned

boolean

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",
  "ShowUnAssigned": true,
  "Assignments": [
    {
      "IsTeam": true,
      "Id": "sample string 2"
    },
    {
      "IsTeam": true,
      "Id": "sample string 2"
    }
  ],
  "Upcoming": true,
  "OverDue": true,
  "PageNumber": 5,
  "PageSize": 6,
  "SortDirection": "Ascending",
  "SortColumnName": "sample string 7"
}

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>5</PageNumber>
  <PageSize>6</PageSize>
  <ParentAccountId>sample string 3</ParentAccountId>
  <Priority>Normal</Priority>
  <ShowUnAssigned>true</ShowUnAssigned>
  <SortColumnName>sample string 7</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.