{
  "opencollection": "1.0.0",
  "info": {
    "name": "Helpcenter TimeTracking API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "TimeTracking",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get TimeTrack Settings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/timeTrackSettings",
            "params": [
              {
                "name": "depId",
                "value": "",
                "type": "query",
                "description": "ID of the department"
              }
            ]
          },
          "docs": "This API fetches the details of the TimeTrack Settings configured in your helpdesk."
        },
        {
          "info": {
            "name": "Create TimeTrackSettings",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/v1/timeTrackSettings",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This API adds a TimeTracking configuration to your helpdesk."
        },
        {
          "info": {
            "name": "Update TimeTrackSettings",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/api/v1/timeTrackSettings",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This API updates an existing TimeTracking configuration."
        },
        {
          "info": {
            "name": "List history details of billing TimeTrack Settings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/v1/timeTrackHistory",
            "params": [
              {
                "name": "depId",
                "value": "",
                "type": "query",
                "description": "ID of the department"
              }
            ]
          },
          "docs": "This API fetches the history of changes made to the billing preferences in time tracking settings. The different events supported are @BILLING_PREFERENCE_ENABLED@, @BILLING_PREFERENCE_DISABLED@, @BILLING_TYPE_SELECTED@, @BILLING_TYPE_CHANGED@, @FIXED_COST_ENTERED@, @FIXED_COST_EDITED@, @AGENT_ADDED@, @AGENT_COST_EDITED@, @AGENT_DELETED@, @PROFILE_ADDED@, @PROFILE_COST_EDITED@, and @PROFILE_DELETED@."
        }
      ]
    }
  ],
  "bundled": true
}