code: function(oEvent) {
  			var sEntityType,
  				sEntityId,
  				aSplit,
  				sId = oEvent.getParameter("arguments").id;
  
  			if (sId) {
  				aSplit = sId.split("#");
  				if (aSplit.length === 2) {
  					sId = aSplit[0];
  					sEntityType = aSplit[1];
  
  					aSplit = sEntityType.split(":");
  					if (aSplit.length === 2) {
  						sEntityType = aSplit[0];
  						sEntityId = aSplit[1];
  					}
  				}
  
  				sId = sId.replace(/.html$/, "");
  
  				if (sEntityType === 'event') { // legacy keyword is singular
  					sEntityType = "events";
  				}
  			}
  
  			this.navTo("apiId", {id: sId, entityType: sEntityType, entityId: sEntityId});
  		}
docs: Handling old Demo Kit API routes which should be navigated to new routes
  @param {object} oEvent event object
  @private