initial checkin with rest api