Taslak Makbuzları Siler

Taslak makbuzları siler.

Taslak makbuzları liste halinde silmek için bu uç kullanılır.

DELETE/eproducer/Draft
Body
itemsstring (uuid)
Response

Taslak makbuzları siler.

Body
boolean
Request
const response = await fetch('/eproducer/Draft', {
    method: 'DELETE',
    headers: {
      "Content-Type": "application/json-patch+json"
    },
    body: JSON.stringify([
      "123e4567-e89b-12d3-a456-426614174000"
    ]),
});
const data = await response.json();
Response
false
var client = new RestClient("https://apitest.nilvera.com/eproducer/Draft");
client.Timeout = -1;
var request = new RestRequest(Method.DELETE);
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);