Adisyonu Mail Üzerinden Gönderir

Adisyonu mail üzerinden gönderir.

post
Authorizations
Body
UUIDstring · uuidOptional
emailAddressesstring[] | nullableOptional
Responses
200
Adisyonu mail üzerinden gönderir.
application/json
Responsestring
post
POST /einvoice/Bills/Email/Send HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 73

{
  "UUID": "123e4567-e89b-12d3-a456-426614174000",
  "emailAddresses": [
    "text"
  ]
}
text

var options = new RestClientOptions("https://apitest.nilvera.com")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/ebill/Bills/Email/Send", Method.Post);
request.AddHeader("Authorization", "Bearer <API KEY>");
request.AddHeader("Content-Type", "application/json");
var body = @"{
"UUID": "1357ba09-29e1-4e65-b600-6247ddd57f93",
"emailAddresses": ["string"]"}";
request.AddStringBody(body, DataFormat.Json);
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);

Last updated