Belgeyi Mail Üzerinden Gönderir

SKG Belgesini mail üzerinden gönderir.

post
Authorizations
Body
UUIDstring · uuid · min: 1Required
emailAddressesstring · email[] | nullableRequired
Responses
200
SKG Belgesini mail üzerinden gönderir.
application/json
Responsestring
post
POST /einvoice/Insurances/Email/Send HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 83

{
  "UUID": "123e4567-e89b-12d3-a456-426614174000",
  "emailAddresses": [
    "[email protected]"
  ]
}
text
var options = new RestClientOptions("//einvoice/Insurances/Email/Send")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("", Method.Post);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Accept", "application/json");
request.AddHeader("Authorization", "Bearer {{bearerToken}}");
var body = @"[" + "\n" +
@"  ""<uuid>""," + "\n" +
@"  ""<uuid>""" + "\n" +
@"]";
request.AddStringBody(body, DataFormat.Json);
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);

Last updated