Taslak Olarak Kaydeder

Gelen irsaliyeyi taslak olarak kaydeder.

POST/edespatch/Purchase/{UUID}/CreateDraft
Path parameters
UUID*string (uuid)
Response

Gelen irsaliyeyi taslak olarak kaydeder.

Body
UUIDnullable string
DespatchNumbernullable string
Request
const response = await fetch('/edespatch/Purchase/{UUID}/CreateDraft', {
    method: 'POST',
    headers: {},
});
const data = await response.json();
Response
{
  "UUID": "text",
  "DespatchNumber": "text"
}
var client = new RestClient("https://apitest.nilvera.com/edespatch/Purchase/0050568C-C008-1EDD-A0A4-192134665EE4/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);