<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel = "stylsheet" type = "text/css" href= "https://cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"/>
<script type= "text/javascript" src = "https://cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script>
</script>
</head>
<body>
<h2>Resource Model</h2>
<p>The Envestnet | Yodlee Resource Model explains the details of the entities that are provided in the response of REST APIs. This helps you define the entities to read the payload returned by our services. Here you can view the supported list of attributes, their data types and the valid set of values for an attribute.
</p>
<div class="tabs">
<ul class="nav nav-tabs">
<li class="active"><a data-toggle="tab" href="#Entities">Entities</a></li>
<li><a data-toggle="tab" href="#Enums">Enums</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="Entities">
<h4>Entity: Cobrand</h4>
<table id="cobrand_resource" class="table table-bordered table-striped table-hover" cellspacing="0" width="100%">
<tbody>
<tr>
<td width="153"><strong>Attribute Name</strong></td>
<td width="84"><strong>Type</strong></td>
<td width="535"><strong>Description</strong></td>
<td width="151"><strong>Endpoints</strong></td>
</tr>
<tr>
<td width="153">locale</td>
<td width="84">string</td>
<td width="535">The locale of the customer which will be considered for the localization functionalities.</td>
<td width="151">POST cobrand/login</td>
</tr>
<tr>
<td width="153">cobrandId</td>
<td width="84">long</td>
<td width="535">Unique identifier of the cobrand in the system.</td>
<td width="151">POST cobrand/login</td>
</tr>
<tr>
<td width="153">applicationId</td>
<td width="84">string</td>
<td width="535">The application identfier.</td>
<td width="151">POST cobrand/login</td>
</tr>
<tr>
<td width="153"><a href = "#session_resource">session</a></td>
<td width="84">entity</td>
<td width="535">Information on session.</td>
<td width="151">POST cobrand/login</td>
</tr>
<tr>
<td width="153">keyAlias</td>
<td width="84">string</td>
<td width="535">The key name used for encryption.</td>
<td width="151">GET cobrand/publicKey</td>
</tr>
<tr>
<td width="153">keyAsPemString</td>
<td width="84">string</td>
<td width="535">Public key which the customer should be using to encrypt the credentials and answers before sending to the add & update providerAccounts APIs.</td>
<td width="151">GET cobrand/publicKey</td>
</tr>
<tr>
<td width="153"><a href ="#event_resource">event</a></td>
<td width="84">entity</td>
<td width="535">Notification events that customers could subscribe for.</td>
<td width="151">GET cobrand/config/notifications/events</td>
</tr>
</tbody>
</table>
<h4><div id = "event">Entity: event</div></h4>
<table id="event_resource" class="table table-bordered table-striped table-hover" cellspacing="0" width="100%">
<tbody>
<tr>
<td width="137"><strong>Attribute Name</strong></td>
<td width="43"><strong>Type</strong></td>
<td width="420"><strong>Description</strong></td>
<td width="193"><strong>Endpoints</strong></td>
</tr>
<tr>
<td width="137">callbackUrl</td>
<td>string</td>
<td>URL to which the notification should be posted</td>
<td width="193">GET cobrand/config/notifications/events</td>
</tr>
<tr>
<td width="137">name</td>
<td>string</td>
<td width="420">Name of the event for which the customers must subscribe to receive notifications<br /> <strong>Valid Value:</strong> <a href="#noti-event" data-tab="Enums">Notification_Events_Name</a></td>
<td width="193">GET cobrand/config/notifications/events</td>
</tr>
</tbody>
</table>
<h4><div id ="session">Entity: session</div></h4>
<table id="session_resource" class="table table-bordered table-striped table-hover" cellspacing="0" width="100%">
<tbody>
<tr>
<td width="153"><strong>Attribute Name</strong></td>
<td width="84"><strong>Type</strong></td>
<td width="535"><strong>Description</strong></td>
<td width="151"><strong>Endpoints</strong></td>
</tr>
<tr>
<td width="108">cobSession</td>
<td>string</td>
<td width="330">Session provided for a valid customer to access other API services upon successful authentication.</td>
<td width="149">POST cobrand/login</td>
</tr>
</tbody>
</table>
</div>
<div class="tab-pane" id="Enums">
<h2>Resource: Cobrand</h2>
<div id="EAN">
<h4 id="noti-event">Notification Events Name</h4>
<table width="733">
<div class "table-responsive">
<table id="EAN" class="table table-bordered table-striped table-hover" cellspacing="0" width="100%">
<tbody>
<tr>
<td width="157"><strong>Name</strong></td>
<td width="668"><strong>Description</strong></td>
</tr>
<tr>
<td>REFRESH</td>
<td>Events that happen during add, edit and update aggregated accounts processes.</td>
</tr>
<tr>
<td>DATA_UPDATES</td>
<td width="668">Data updates that happen on provider accounts, accounts, transactions and holdings data due to user actions or auto updates. This event is triggered to help the customer perform data extracts from Yodlee system to their system.</td>
</tr>
</tbody>
</table>
</div></div>
</div>
</div>
</div>
</body>
</html>
<script>
jQuery(document).ready(function($){
$("a[data-tab]").on('click', function() {
console.log('data-tab');
var tab = $(this).attr('data-tab'),
target = $(this).attr('href');
$('ul.nav a[href="' + tab + '"]').tab('show');
$('html, body').animate({
scrollTop: $(noti-event).offset().top
}, 100);
});
});</script>