Creating for method for easing REST API usage for updating asset status