Eski Faturalara Yeni Durum Atar

Faturalara toplu olarak yeni durum atar.

PUT/earchive/Old/Operation/{operationType}
Path parameters
operationType*OperationType (enum)
UnPrintPrintTransferredUntransferred
Body
itemsstring (uuid)
Response

Faturalara toplu olarak yeni durum atar

Body
itemsstring
Request
const response = await fetch('/earchive/Old/Operation/{operationType}', {
    method: 'PUT',
    headers: {
      "Content-Type": "application/json-patch+json"
    },
    body: JSON.stringify([
      "123e4567-e89b-12d3-a456-426614174000"
    ]),
});
const data = await response.json();
Response
[
  "text"
]
var options = new RestClientOptions("https://apitest.nilvera.com")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/earchive/Old/Operation/UnPrint", Method.Put);
request.AddHeader("Authorization", "Bearer <API KEY>");
request.AddHeader("Content-Type", "application/json");
var body = @"["ff618918-6243-4ea4-a880-3c0f645c16b1"]";
request.AddStringBody(body, DataFormat.Json);
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);