From previous post,
Marcos Vainer Loeff suggested to create a custom ASP.NET Web API project with PI AF SDK and then create actions in order to create new element versions.
Currently PI Web API does not support AF Element version information, so creating custom application that Marcos suggested is a good way to go.
I found following link to create new web API application. Maybe we can use it to create new custom Web API with AFSDK.
Sorry, I tested it from following link and it works fine as Web API. I have not done with AFSDK but it should work for you.