Telfa Configuration

Example configuration for Telfa API.

{
  "parameters": {
    "api": {
      "authentication": {
        "type": "basic"
      },
      "baseUrl": "https://www4.telfa.cz/",
      "pagination": {
        "method": "pagenum",
        "limit": "20"
      }
    },
    "config": {
      "username": "USERNAME",
      "password": "PASSWORD",
      "headers": {
        "Content-Type": "application/json"
      },
      "outputBucket": "telfaCalls",
      "debug": true,
      "jobs": [
        {
          "endpoint": "calls.json",
          "params": {
            "from": "2016-01-01"
          },
          "dataType": "calls"
        }
      ]
    }
  }
}

To get data for last month, use: "from": "now.getFullYear().concat(now.getMonth(),'-01')"
Comments