Approves and Sends the Draft

Taslak E-SKGB onaylayıp gönderir.

post

Taslak olarak oluşturduğunuz E-SKGB onaylayıp göndermek için bu ucu kullanabilirsiniz.

Authorizations
Body
string · uuid[]Optional
Responses
200
Taslak E-SKGB onaylayıp gönderir.
application/json
Responsestring
post
POST /einvoice/Draft/ConfirmAndSend HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 40

[
  "123e4567-e89b-12d3-a456-426614174000"
]
text
var options = new RestClientOptions("//einsurance/Draft/ConfirmAndSend")
{
  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