Fixed SQL syntax error for action
All POST enpoints defined in api.ini now working. Unit tests passing.