Şablonları Listeler

Şablonları Listeler.

GET/evoucher/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('/evoucher/Templates', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "Content": [
    {
      "UUID": "text",
      "Name": "text",
      "IsActive": false,
      "IsDefault": false,
      "CreationDate": "2024-11-21T06:24:22.019Z"
    }
  ]
}
var client = new RestClient("https://apitest.nilvera.com/evoucher/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);