Saves as Draft

Makbuzu taslak olarak kaydeder.

POST/evoucher/Vouchers/{UUID}/CreateDraft
Path parameters
UUID*string (uuid)
Response

Makbuzu taslak olarak kaydeder.

Body
UUIDstring (uuid)
VoucherNumbernullable string
Request
const response = await fetch('/evoucher/Vouchers/{UUID}/CreateDraft', {
    method: 'POST',
    headers: {},
});
const data = await response.json();
Response
{
  "UUID": "123e4567-e89b-12d3-a456-426614174000",
  "VoucherNumber": "text"
}
var client = new RestClient("https://apitest.nilvera.com/evoucher/Vouchers/12efc08a-8763-42cd-8876-32463babd5c7/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);

Last updated