Taslak Olarak Kaydeder

Adisyonu taslak olarak kaydeder.

POST/ebill/Bills/{UUID}/CreateDraft
Path parameters
UUID*string (uuid)
Response

Adisyonu taslak olarak kaydeder.

Body
UUIDstring (uuid)
BillNumbernullable string
Request
const response = await fetch('/ebill/Bills/{UUID}/CreateDraft', {
    method: 'POST',
    headers: {},
});
const data = await response.json();
Response
{
  "UUID": "123e4567-e89b-12d3-a456-426614174000",
  "BillNumber": "text"
}
var options = new RestClientOptions("https://apitest.nilvera.com")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/ebill/Bills/1357ba09-29e1-4e65-b600-6247ddd57f93/CreateDraft", Method.Post);
request.AddHeader("Authorization", "Bearer <API KEY>");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);