Taslak Olarak Kaydeder

Faturayı taslak olarak kaydeder.

POST/earchive/Invoices/{UUID}/CreateDraft
Path parameters
UUID*string (uuid)
Response

Faturayı taslak olarak kaydeder

Body
UUIDstring (uuid)
InvoiceNumbernullable string
Request
const response = await fetch('/earchive/Invoices/{UUID}/CreateDraft', {
    method: 'POST',
    headers: {},
});
const data = await response.json();
Response
{
  "UUID": "123e4567-e89b-12d3-a456-426614174000",
  "InvoiceNumber": "text"
}
var client = new RestClient("https://apitest.nilvera.com/earchive/Invoices/2e58440f-9a81-49f3-8b82-7321265fa2f0/CreateDraft");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <API KEY>");
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);