sample rest apifor calendar model