How-to Create a State Version Using the API