Yanıt Şablonunu Günceller

Yanıt şablonu günceller.

PUT/edespatch/AnswerTemplates
Body
IDinteger (int32)
Namenullable string
IsActivenullable boolean
IsDefaultnullable boolean
Base64Stringnullable string
Response

Yanıt şablonu günceller.

Body
boolean
Request
const response = await fetch('/edespatch/AnswerTemplates', {
    method: 'PUT',
    headers: {
      "Content-Type": "application/json-patch+json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
false
var options = new RestClientOptions("https://apitest.nilvera.com")
{
    MaxTimeout = -1,
};

var client = new RestClient(options);
var request = new RestRequest("/edespatch/AnswerTemplates", Method.Put);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "APIKEY");

var body = new
{
    ID = 0,
    Name = "string",
    IsActive = true,
    IsDefault = true,
    Base64String = "string"
};

request.AddJsonBody(body);
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);

Last updated