Şablonun Detayını Getirir

Şablonun detayını getirir.

GET/evoucher/Templates/{id}
Path parameters
id*integer (int32)
Response

Şablonun detayını getirir.

Body
IDinteger (int32)
UUIDnullable string
Namenullable string
IsActiveboolean
IsDefaultboolean
CreationDatestring (date-time)
TemplateIDinteger (int32)
Request
const response = await fetch('/evoucher/Templates/{id}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "UUID": "text",
  "Name": "text",
  "IsActive": false,
  "IsDefault": false,
  "CreationDate": "2024-05-30T01:08:33.103Z"
}
var client = new RestClient("https://apitest.nilvera.com/evoucher/Templates/123456");
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <API KEY>");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);