Create update incident restful endpoint