Updates Series

Seriyi düzenler.

PUT/evoucher/Series
Body
IDinteger (int32)
IsDefaultnullable boolean
IsActivenullable boolean
Response

Seriyi düzenler.

Body
boolean
Request
const response = await fetch('/evoucher/Series', {
    method: 'PUT',
    headers: {
      "Content-Type": "application/json-patch+json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
false
var client = new RestClient("https://apitest.nilvera.com/evoucher/Series");
client.Timeout = -1;
var request = new RestRequest(Method.PUT);
request.AddHeader("Authorization", "Bearer <API KEY>");
request.AddHeader("Content-Type", "application/json");
var body = @"{"ID": 0,
"IsDefault": true,
"IsActive": true}";
request.AddParameter("application/json", body,  ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Last updated