Spent some time on the issue, and discovered, that these calls are not correctly documented and inconsistently implemented. I will document currently working solution, but will create issue in JIRA about the errors in REST documentation
.