Retrieve collection of tasks

get

/services/rest/connect/v1.4/tasks

Request

Supported Media Types
Query Parameters
  • Restrict which fields shall be returned. The value is a comma delimited string and each token is a field name
  • The requested page size, which limits the number of elements the collection should max return
  • The offset of the page. By default, offset is 0, which means first page will be returned.
  • Returns the count of elements as the given order. The value is a comma delimited string. Each token in the string is the name of the field, optionally followed by asc or desc.
  • Query parameter that allows searching by providing ROQL WHERE clause filtering
  • Indicates whether or not to calculate the totalResults property. By default, totalResults is not calculated.

Response

Supported Media Types

Default Response

Body ()
Collection of tasks
Root Schema : tasks-collection
Type: object
Collection of tasks
Show Source

Examples

Use GET with the following syntax to list all tasks:

https://your_site_interface/services/rest/connect/version/tasks

Request URI example

https://mysite.example.com/services/rest/connect/v1.4/tasks

Response body example

{
  "items": [
    {
      "id": 1,
      "lookupName": "1 - qualify lead",
      "createdTime": "2015-11-30T18:22:58Z",
      "updatedTime": "2015-11-30T18:26:17Z",
      "links": [
        {
          "rel": "canonical",
          "href": "https://mysite.example.com/services/rest/connect/v1.4/tasks/1"
        }
      ]
    },
    {
      "id": 2,
      "lookupName": "2 - request for proposal",
      "createdTime": "2015-11-30T18:23:17Z",
      "updatedTime": "2015-11-30T18:26:50Z",
      "links": [
        {
          "rel": "canonical",
          "href": "https://mysite.example.com/services/rest/connect/v1.4/tasks/2"
        }
      ]
    },
    {
      "id": 3,
      "lookupName": "3 - sales presentation",
      "createdTime": "2015-11-30T18:23:30Z",
      "updatedTime": "2015-11-30T18:27:05Z",
      "links": [
        {
          "rel": "canonical",
          "href": "https://mysite.example.com/services/rest/connect/v1.4/tasks/3"
        }
      ]
    },
    {
      "id": 4,
      "lookupName": "4 - negotiation",
      "createdTime": "2015-11-30T18:23:42Z",
      "updatedTime": "2015-11-30T18:27:24Z",
      "links": [
        {
          "rel": "canonical",
          "href": "https://mysite.example.com/services/rest/connect/v1.4/tasks/4"
        }
      ]
    },
    {
      "id": 5,
      "lookupName": "5 - close sale",
      "createdTime": "2015-11-30T18:24:00Z",
      "updatedTime": "2015-11-30T18:27:34Z",
      "links": [
        {
          "rel": "canonical",
          "href": "https://mysite.example.com/services/rest/connect/v1.4/tasks/5"
        }
      ]
    },
    {
      "id": 6,
      "lookupName": "Proof Sending",
      "createdTime": "2015-11-30T23:44:01Z",
      "updatedTime": "2015-11-30T23:44:01Z",
      "links": [
        {
          "rel": "canonical",
          "href": "https://mysite.example.com/services/rest/connect/v1.4/tasks/6"
        }
      ]
    },
    {
      "id": 7,
      "lookupName": "Complete feature area questions",
      "createdTime": "2015-11-30T23:44:01Z",
      "updatedTime": "2015-11-30T23:44:01Z",
      "links": [
        {
          "rel": "canonical",
          "href": "https://mysite.example.com/services/rest/connect/v1.4/tasks/7"
        }
      ]
    },
    {
      "id": 8,
      "lookupName": "Send invitations",
      "createdTime": "2015-11-30T23:44:01Z",
      "updatedTime": "2015-11-30T23:44:01Z",
      "links": [
        {
          "rel": "canonical",
          "href": "https://mysite.example.com/services/rest/connect/v1.4/tasks/8"
        }
      ]
    },
    {
      "id": 9,
      "lookupName": "Schedule internal trial",
      "createdTime": "2015-12-01T18:39:38Z",
      "updatedTime": "2015-12-01T18:39:38Z",
      "links": [
        {
          "rel": "canonical",
          "href": "https://mysite.example.com/services/rest/connect/v1.4/tasks/9"
        }
      ]
    },
    {
      "id": 10,
      "lookupName": "Define lead qualification process",
      "createdTime": "2015-12-01T18:39:38Z",
      "updatedTime": "2015-12-01T18:39:38Z",
      "links": [
        {
          "rel": "canonical",
          "href": "https://mysite.example.com/services/rest/connect/v1.4/tasks/10"
        }
      ]
    },
    {
      "id": 11,
      "lookupName": "Complete external event",
      "createdTime": "2015-12-01T18:39:38Z",
      "updatedTime": "2015-12-01T18:39:38Z",
      "links": [
        {
          "rel": "canonical",
          "href": "https://mysite.example.com/services/rest/connect/v1.4/tasks/11"
        }
      ]
    }
  ],
  "hasMore": false,
  "links": [
    {
      "rel": "canonical",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/tasks"
    },
    {
      "rel": "describedby",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/metadata-catalog/tasks",
      "mediaType": "application/schema+json"
    },
    {
      "rel": "self",
      "href": "https://mysite.example.com/services/rest/connect/v1.4/tasks"
    }
  ]
}