Hi all I have tap-freshdesk setup and running with...
# singer-taps
s
Hi all I have tap-freshdesk setup and running without any issues but for skills entity - I cannot get conditions column data. [ I have schema (skills.json) defined under schemas folder of tap_freshdesk ]. I cannot see conditions data inside output target jsonl file but I get other column values like id, name etc. Reference - skills columns - https://developer.freshdesk.com/api/?_gl=1*10h94bv*_gcl_au*Mzk0MDcwNjE4LjE3MDkzMDAxMDU.#skills Can anyone help me with skills.json with meta data details - Thank you
e
so what does
skills.json
look like?
s
Copy code
{
  "type": "object",
  "properties": {
    "id": {
      "type": [
        "null",
        "integer"
      ]
    },
    "name": {
      "type": [
        "null",
        "string"
      ]
    },
    "rank": {
      "type": [
        "null",
        "integer"
      ]
    },
    "agents": {
      "type": [
        "null",
        "array"
      ]
    },
    "match_type": {
      "type": [
        "null",
        "string"
      ]
    },
    "created_at": {
      "type": [
        "null",
        "string"
      ],
      "format": "date-time"
    },
    "updated_at": {
      "type": [
        "null",
        "string"
      ],
      "format": "date-time"
    },
    "condtions": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": [
          "null",
          "object"
        ],
        "properties": {
          "name": {
            "type": [
              "null",
              "string"
            ]
          },
          "value": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      }
    }
  }
}
e
You have a typo 🙂:
condtions
->
conditions
s
Thanks @Edgar Ramírez (Arch.dev) 😀 Can you help me to navigate on each resource example - For resource: "ticket" - priority,ticket_type,product_id etc For resource: "contact" - language as per documentations to define in skills.json so that I will have mapping for them - Thank you
e
So
resource_type
,
field_name
and
operator
are strings. The others seem to be variant.
1
a
HI @Sekhar Baggaraju would you consider making a pull request to contribute this stream back to https://github.com/acarter24/tap-freshdesk ?
👍 1