mt.setPostCategories
Sets the categories for a post.
Parameters
- String postid
- String username
- String password
- array categories
Return value
on success, boolean true value; on failure, fault
Notes
The array categories is an array of structs containing String categoryId and boolean isPrimary. Using isPrimary to set the primary category is optional—in the absence of this flag, the first struct in the array will be assigned the primary category for the post.
