Refactor out common parts of dashboard creation and replacement api methods
Refactor out common parts of dashboard creation and replacement api methods

praekelt/diamondash,praekelt/diamondash,praekelt/diamondash