Reporting

Provides access to Task Force reports for third-party applications.

Methods:

General Notes: All Scaffold web methods require that the Content Type of your request is "application/scaffold+json". The Host and Content-Length headers are not required. Scaffold's response Content-Type will always be "application/json". The formatting of JSON shown in the examples on this page is not enforced in requests or necessarily followed in responses--it is only shown as such to enhance human readability--assume that you can send (and may receive) any legal JSON that has the same object, property, and array structures.


Breakdown

Runs the Task Force Breakdown report with the specified parameters.

Parameters:

Example Request:

POST /API/Reporting.aspx/Breakdown HTTP/1.1
Host: taskforce.epiforge.com
Content-Type: application/scaffold+json
Content-Length: 319

{
  "accountLogin": "string",
  "userLogin": "string",
  "password": "string",
  "breakdownBy": "string",
  "taskNameFilter": "string",
  "customFieldFilters": [
    {
      "customFieldId": 0,
      "filter": "string"
    }
  ],
  "dateFrom": "string",
  "dateTo": "string",
  "userIds": [
    0
  ]
}

Example Response:

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 107

{
  "Response": [
    {
      "Name": "string",
      "Seconds": 0
    }
  ],
  "Error": "string"
}

Grid

Runs the Task Force Grid report with the specified parameters.

Parameters:

Example Request:

POST /API/Reporting.aspx/Grid HTTP/1.1
Host: taskforce.epiforge.com
Content-Type: application/scaffold+json
Content-Length: 349

{
  "accountLogin": "string",
  "userLogin": "string",
  "password": "string",
  "breakdownBy1": "string",
  "breakdownBy2": "string",
  "taskNameFilter": "string",
  "customFieldFilters": [
    {
      "customFieldId": 0,
      "filter": "string"
    }
  ],
  "dateFrom": "string",
  "dateTo": "string",
  "userIds": [
    0
  ]
}

Example Response:

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 337

{
  "Response": {
    "Headers": [
      "string"
    ],
    "Rows": [
      {
        "Name": "string",
        "Hours": [
          0.0
        ],
        "Total": 0.0
      }
    ],
    "Footer": {
      "Name": "string",
      "Hours": [
        0.0
      ],
      "Total": 0.0
    }
  },
  "Error": "string"
}

TimeLog

Runs the Task Force Time Log report with the specified parameters.

Parameters:

Example Request:

POST /API/Reporting.aspx/TimeLog HTTP/1.1
Host: taskforce.epiforge.com
Content-Type: application/scaffold+json
Content-Length: 291

{
  "accountLogin": "string",
  "userLogin": "string",
  "password": "string",
  "taskNameFilter": "string",
  "customFieldFilters": [
    {
      "customFieldId": 0,
      "filter": "string"
    }
  ],
  "dateFrom": "string",
  "dateTo": "string",
  "userIds": [
    0
  ]
}

Example Response:

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 434

{
  "Response": [
    {
      "Id": 0,
      "Start": "string",
      "End": "string",
      "Duration": 0,
      "Notes": "string",
      "TaskId": 0,
      "TaskName": "string",
      "TaskCustomValues": [
        {
          "CustomFieldId": 0,
          "CustomFieldName": "string",
          "Value": "string"
        }
      ],
      "UserId": 0,
      "UserName": "string"
    }
  ],
  "Error": "string"
}

Timesheet

Runs the Task Force Timesheet report with the specified parameters.

Parameters:

Example Request:

POST /API/Reporting.aspx/Timesheet HTTP/1.1
Host: taskforce.epiforge.com
Content-Type: application/scaffold+json
Content-Length: 297

{
  "accountLogin": "string",
  "userLogin": "string",
  "password": "string",
  "startDate": "string",
  "breakdownBy": "string",
  "taskNameFilter": "string",
  "customFieldFilters": [
    {
      "customFieldId": 0,
      "filter": "string"
    }
  ],
  "userIds": [
    0
  ]
}

Example Response:

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 294

{
  "Response": [
    {
      "Name": "string",
      "CustomFieldValues": [
        {
          "CustomFieldId": 0,
          "CustomFieldName": "string",
          "Value": "string"
        }
      ],
      "DailyHours": [
        0.0
      ]
    }
  ],
  "Error": "string"
}

UserSyncs

Runs the Task Force Breakdown report with the specified parameters.

Parameters:

Example Request:

POST /API/Reporting.aspx/UserSyncs HTTP/1.1
Host: taskforce.epiforge.com
Content-Type: application/scaffold+json
Content-Length: 160

{
  "accountLogin": "string",
  "userLogin": "string",
  "password": "string",
  "dateFrom": "string",
  "dateTo": "string",
  "userIds": [
    0
  ]
}

Example Response:

HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 163

{
  "Response": [
    {
      "Activity": "string",
      "Instant": "string",
      "User": "string",
      "UserId": 0
    }
  ],
  "Error": "string"
}