receive json post to create scan