İrsaliyelere Yeni Durum Atar

İrsaliyelere toplu olarak yeni durum atar.

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

İrsaliyelere toplu olarak yeni durum atar.

Body
itemsstring
Request
const response = await fetch('/edespatch/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/edespatch/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 = @"["3fa85f64-5717-4562-b3fc-2c963f66afa6"]";
request.AddParameter("application/json", body,  ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);