2

My ultimate goal is to publish Knowledge Articles via API. I'm not exactly sure where to send the POST request, though. I tried:

/services/data/v36.0/sobjects/Knowledge_kav

But I just get the reply:

{
  "article_response": [
    {
      "errorCode": "NOT_FOUND",
      "message": "The requested resource does not exist"
    }
  ]
}

Where can I send the data so that it is actually inserted? Is my goal of posting articles via API even possible?

Edit: Adrian Larson solved it, it's __kav, two underscores.

2
  • Shouldn't it be two underscores? So Knowledge__kav instead of Knowledge_kav.
    – Adrian Larson
    Commented Dec 14, 2016 at 18:19
  • You know what, it is. Thanks! Someone at Salesforce should fix the documentation here, the second yellow block has it with one underscore.
    – hgentry
    Commented Dec 14, 2016 at 18:22

1 Answer 1

2

Note that the proper suffix contains two underscore characters (_) where you have one. Change Knowledge_kav to Knowledge__kav and you should be all set.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .