Taslak Faturayı Whatsapp Üzerinden Gönderir

Taslak faturayı whatsapp üzerinden gönderir.

POST/earchive/Draft/Whatsapp/Send
Body
UUIDstring (uuid)
Phonenullable string
Response

Taslak faturayı whatsapp üzerinden gönderir

Body
string
Request
const response = await fetch('/earchive/Draft/Whatsapp/Send', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json-patch+json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
text
var client = new RestClient("https://apitest.nilvera.com/earchive/Draft/Whatsapp/Send");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <API KEY>");
request.AddHeader("Content-Type", "application/json");
var body = @"{
"UUID": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"Phone": "string"}";
request.AddParameter("application/json", body,  ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);