ZenDesk Api

Rapide exemple de MVC – Razor avec l’Api ZenDesk

Código Coté Atrás

var api = new ZendeskApi (“https: //*****.zendesk.com/api/v2”, “Email”, “Senha”);
return View (api.Views.GetAllViews ());

Coté Vue

@model ZendeskApi_v2.Models.Views.GroupViewResponse
<table>
@foreach (var item em 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>