Faturaları Toplu Dışarı Aktarır

Faturaları toplu olarak dışarı aktarır.

post
Authorizations
Path parameters
fileTypestring · enumRequiredPossible values:
Body
string · uuid[]Optional
Responses
200
Faturaları toplu olarak dışarı aktarır.
application/json
Responsestring
post
POST /einvoice/Purchase/Export/{fileType} HTTP/1.1
Host: 
Authorization: Bearer JWT
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 40

[
  "123e4567-e89b-12d3-a456-426614174000"
]
text
var client = new RestClient("https://apitest.nilvera.com/einvoice/Purchase/Export/Xml");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <API KEY>");
request.AddHeader("Content-Type", "application/json");
var body = @"["e9c251fd-0cd2-45ea-9c08-00f9d2e2b37c"@"]";
request.AddParameter("application/json", body,  ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Last updated