Taslağı Onaylayıp Gönderir

var client = new RestClient("//einvoice/Draft/ConfirmAndSend");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Accept", "text/plain");
request.AddHeader("Authorization", "Bearer <API KEY>");
var body = "[
  {
    "Alias": "string",
    "UUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  }
]";
request.AddParameter("application/json", body,  ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);