Hello,
I have created a page using kentico REST API. But I am not sure how to publish the page. I did tried to set the "DocumentCanBePublished" property to true but no luck. Any help is highly appreciated.
Information
Method: POST
URL: http://website/rest/content/currentsite/en-AU/document/Offices?format=json
JSON Object:
{
"NodeClassID": 4620,
"OfficeName":"Test Office",
"OfficePhone":"0412 345 678",
"OfficeEmail":"test@test.com",
"DocumentCanBePublished":true
}
Regards, Gopala
I believe you have to use workflow actions API as described here.
Thank you so much Roman, that helped me to solve the issue
Please, sign in to be able to submit a new answer.