Task

Get All Tasks

GET
/task/all

Query Parameters

sort?object
pagination?object
searchQuery?string
filters?array<TaskFilterDto>
position?number
title?string
body?string
dueAt?string
Formatdate-time
statusId?string
status?object
createdBySource?string
Value in"EMAIL" | "CALENDAR" | "WORKFLOW" | "API" | "IMPORT" | "MANUAL" | "SYSTEM"
createdByWorkspaceMemberId?string
Formatuuid
createdByName?string
assigneeId?string
Formatuuid

Response Body

curl -X GET "http://crm-apiprod.b2bleadsmarket.com/task/all?field=string&orderby=ASC&page=0&pageSize=0&searchQuery=string&filters=%5Bobject+Object%5D&position=0&title=string&body=string&dueAt=2019-08-24T14%3A15%3A22Z&statusId=string&name=string&description=string&isActive=true&isCustom=true&createdBySource=EMAIL&createdByWorkspaceMemberId=497f6eca-6276-4993-bfeb-53cbbbba6f08&createdByName=string&assigneeId=497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "docs": [
    {
      "id": "string",
      "position": 0,
      "title": "string",
      "body": "string",
      "dueAt": "2019-08-24T14:15:22Z",
      "statusId": "string",
      "status": {
        "name": "string",
        "description": "string",
        "isActive": true,
        "isCustom": true
      },
      "assigneeId": "string",
      "assignee": {
        "nameFirstName": "string",
        "nameLastName": "string",
        "userEmail": "string",
        "avatarUrl": "string"
      },
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "deletedAt": "2019-08-24T14:15:22Z",
      "createdBy": {
        "source": "EMAIL",
        "workspaceMemberId": "string",
        "name": "string"
      }
    }
  ],
  "total": 0,
  "pagination": {}
}