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.

  • Shouldn't it be two underscores? So Knowledge__kav instead of Knowledge_kav. – Adrian Larson Dec 14 '16 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 Dec 14 '16 at 18:22
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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.