GET Request for General Task and Item Review Task (JSON)

General Task Response

{
  "count": null,
  "top": null,
  "skip": null,
  "pageCount": null,
  "nextPageLink": null,
  "prevPageLink": null,
  "response": [
    {
      "id": 23,
      "name": "Surpass API General Task",
      "reference": "12345",
      "description": "A General Task for the Surpass API",
      "href": "https://...surpass.com/api/v2/GeneralTask/23",
      "type": 0,
      "startDate": "2018-05-08T00:00:00",
      "expiryDate": "2018-05-11T00:00:00",
      "createDate": "2018-05-08T09:39:31.867",
      "creator": {
        "id": 190,
        "reference": "123",
        "href": "https://...surpass.com/api/v2/User/190",
        "firstName": "Task",
        "lastName": "Creator",
        "email": "task.creator@btl.com",
        "jobTitle": "",
        "defaultLanguage": "English",
        "dateCreated": "2016-04-14T09:02:15.847",
        "retired": false,
        "expiryDate": "2027-07-21T10:47:35.263"
      },
      "status": 0,
      "executor": {
        "id": 190,
        "reference": "123",
        "href": "https://...surpass.com/api/v2/User/190",
        "firstName": "Task",
        "lastName": "Creator",
        "email": "task.creator@workplace.com",
        "jobTitle": "",
        "defaultLanguage": "English",
        "dateCreated": "2016-04-14T09:02:15.847",
        "retired": false,
        "expiryDate": "2027-07-21T10:47:35.263"
      }
    }
  ],
  "errors": null,
  "serverTimeZone": "GMT Standard Time"
}


Item Review Response

{
  "count": null,
  "top": null,
  "skip": null,
  "pageCount": null,
  "nextPageLink": null,
  "prevPageLink": null,
  "response": [
    {
      "id": 24,
      "name": "Surpass API Review Task",
      "reference": "123456",
      "description": "A Task for the reviewing items in a particular list.",
      "href": "https://...surpass.com/api/v2/ItemReviewTask/24",
      "type": 1,
      "startDate": "2018-05-08T00:00:00",
      "expiryDate": "2018-05-18T00:00:00",
      "createDate": "2018-05-08T09:42:58.077",
      "creator": {
        "id": 190,
        "reference": "123",
        "href": "https://...surpass.com/api/v2/User/190",
        "firstName": "Task",
        "lastName": "Assignee",
        "email": "task.assignee@workplace.com",
        "jobTitle": "",
        "defaultLanguage": "English",
        "dateCreated": "2016-04-14T09:02:15.847",
        "retired": false,
        "expiryDate": "2027-07-21T10:47:35.263"
      },
      "itemList": {
        "id": 18,
        "reference": "12345",
        "href": "https://...surpass.com/api/v2/ItemList/18"
      },
      "executors": [
        {
          "status": 1,
          "executor": {
            "id": 190,
            "reference": "123",
            "href": "https://...surpass.com/api/v2/User/190",
            "firstName": "Task",
            "lastName": "Reviewer",
            "email": "task.reviewer@workplace.com",
            "jobTitle": "",
            "defaultLanguage": "English",
            "dateCreated": "2016-04-14T09:02:15.847",
            "retired": false,
            "expiryDate": "2027-07-21T10:47:35.263"
          }
        }
      ]
    }
  ],
  "errors": null,
  "serverTimeZone": "GMT Standard Time"
}

Feedback and Knowledge Base