RestApi trigger