Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Dış uygulamalar, dashboard arayüzü üzerinden oluşturulan bir dashboard'u kendi ekranlarında gösterebilir. Bunun için Dashboard service api'sinin aşağıdaki adresine Authorization token bilgisi ile post isteği gönderilmelidir. Service cevabı html olarak dashboard içeriği dönmektedir. Service call cevabı sonrasında dış uygulama ekranlarında gösterilebilir.


http://

...

<idmadress>/api/dashboards/{dashboardId}/htmlresponse


Örnek ajax api call :


$.ajaxSetup({
beforeSend:function (xhr) { xhr.setRequestHeader('Authorization', 'Bearer 5c8a6a65603847aa604eb045a77f5f532276c5cd82e048ebc53c5b78930e26c2');}
});
$.post("http://

...

<idmadress>/api/dashboards/1154/htmlresponse",null, function( data ) {
$( "#test" ).html( data.replace('token=""','token="5c8a6a65603847aa604eb045a77f5f532276c5cd82e048ebc53c5b78930e26c2"') ); });