ZenDesk Api
Rapide exemple de MVC - Razor avec l'Api ZenDesk
Coté Code Behind
var api = new ZendeskApi("https://*****.zendesk.com/api/v2", "Email", "Password");
return View(api.Views.GetAllViews());
Coté Vue
@model ZendeskApi_v2.Models.Views.GroupViewResponse
<table>
@foreach (var item in Model.Views) {
<tr>
<td>@item.Active</td>
<td>@item.Url</td>
<td>@item.CreatedAt</td>
<td>@item.UpdatedAt</td>
<td>@item.Title</td>
</tr>
}
</table>
Written by tw
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#