Assign New Status to Invoices

Faturalara toplu olarak yeni durum atar.

PUT/einvoice/Purchase/Operation/{operationType}
Path parameters
operationType*OperationType (enum)
UnreadReadUnPrintPrintArchivedUnarchivedTransferredUntransferred
Body
itemsstring (uuid)
Response

Faturalara toplu olarak yeni durum atar.

Body
itemsstring
Request
const response = await fetch('/einvoice/Purchase/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 client = new RestClient("https://apitest.nilvera.com/einvoice/Purchase/Operation/Unread");
client.Timeout = -1;
var request = new RestRequest(Method.PUT);
request.AddHeader("Authorization", "Bearer <API KEY>");
request.AddHeader("Content-Type", "application/json");
var body = @"["b6625de9-e4e4-4e88-9605-5e39fc3bb660""@"]";
request.AddParameter("application/json", body,  ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);