Bug fixes (CreateNewEntityWhileEditing), added Web API