Saving new object with rest call.