def getTags()

in src/main/scala/managehelpcontentpublisher/sfknowledge/Main.scala [54:66]


  def getTags(
      sfAuthentication: SfAuthDetails
  ): Either[Error, KnowledgeTags.RootInterface] = {
    val tagsQuery =
      "Select Topic.name from TopicAssignment where EntityId = '" + knowledgeArticleId + "'"

    val tagsQueryResponse = doSfGetWithQuery(sfAuthentication, tagsQuery)
    println("TAG queryResponse:" + tagsQueryResponse)
    val tagsResponse = decode[KnowledgeTags.RootInterface](tagsQueryResponse)

    println("TAG response:" + tagsResponse)
    tagsResponse
  }