2

The SOAP API suggests that articles can be associated with categories using Article Type__DataCategorySelection. I can't find information about using the REST API to do this and I've had no luck using sobjects/MongoDB_Article__DataCategorySelection. Can someone point me in the right direction?

1 Answer 1

1

I've been able to attach categories to article via REST API using the following endoint :

/services/data/vX.X/sobjects/TYPE__DataCategorySelection

version of the API as well as TYPE must be specified depend on your needs.

HTTP POST method
Body properties :

  • dataCategoryName
  • DataCategoryGroupName
  • parentId (this is the article ID)

Don't know why there is still nothing explicit in Salesforce API doc
hope this will be helpfull

You must log in to answer this question.

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