Makbuzları Toplu Olarak Dışarı Aktarır

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

POST/eproducer/Old/Export/{fileType}
Path parameters
fileType*OldExportType (enum)
XmlPdfOnePagePdf
Body
itemsstring (uuid)
Response

Makbuzları toplu olarak dışarı aktarır

Body
string
Request
const response = await fetch('/eproducer/Old/Export/{fileType}', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json-patch+json"
    },
    body: JSON.stringify([
      "123e4567-e89b-12d3-a456-426614174000"
    ]),
});
const data = await response.json();
Response
text
var options = new RestClientOptions("https://apitest.nilvera.com")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/eproducer/Old/Export/Xml", Method.Post);
request.AddHeader("Authorization", "Bearer APIKEY");
var body = @"";
request.AddParameter("text/plain", body,  ParameterType.RequestBody);
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);

Last updated