Şablonları Listeler

Şablonları Listeler.

GET/edespatch/Templates
Query parameters
Response

Şablonları Listeler.

Body
Pageinteger (int32)
PageSizeinteger (int32)
TotalCountnullable integer (int32)
TotalPagesnullable integer (int32)
Contentnullable array of TemplateResponse (object)
Request
const response = await fetch('/edespatch/Templates', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "Page": 0,
  "PageSize": 0,
  "TotalCount": 0,
  "TotalPages": 0,
  "Content": [
    {
      "ID": 0,
      "UUID": "text",
      "Name": "text",
      "IsActive": false,
      "IsDefault": false,
      "CreationDate": "2025-01-22T05:04:08.711Z",
      "TemplateID": 0
    }
  ]
}
var client = new RestClient("https://apitest.nilvera.com/edespatch/Templates");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <API KEY>");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Yanıt şablonlarını Listeler.

GET/edespatch/AnswerTemplates
Query parameters
Response

Yanıt şablonlarını Listeler.

Body
Pageinteger (int32)
PageSizeinteger (int32)
TotalCountnullable integer (int32)
TotalPagesnullable integer (int32)
Contentnullable array of TemplateResponse (object)
Request
const response = await fetch('/edespatch/AnswerTemplates', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "Page": 0,
  "PageSize": 0,
  "TotalCount": 0,
  "TotalPages": 0,
  "Content": [
    {
      "ID": 0,
      "UUID": "text",
      "Name": "text",
      "IsActive": false,
      "IsDefault": false,
      "CreationDate": "2025-01-22T05:04:08.711Z",
      "TemplateID": 0
    }
  ]
}
var client = new RestClient("https://apitest.nilvera.com/edespatch/AnswerTemplates");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <API KEY>");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);