Taslak Olarak Kaydeder

Makbuzu taslak olarak kaydeder.

POST/eproducer/Producers/{UUID}/CreateDraft
Path parameters
UUID*string (uuid)
Response

Makbuzu taslak olarak kaydeder.

Body
UUIDstring (uuid)
ProducerNumbernullable string
Request
const response = await fetch('/eproducer/Producers/{UUID}/CreateDraft', {
    method: 'POST',
    headers: {},
});
const data = await response.json();
Response
{
  "UUID": "123e4567-e89b-12d3-a456-426614174000",
  "ProducerNumber": "text"
}
var client = new RestClient("https://apitest.nilvera.com/eproducer/Producers/140f7676-7f1b-49a0-8b93-7466f6bada9c/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);