var options = new RestClientOptions("https://apitest.nilvera.com")
{
MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/eledger/Documents/History/d564b745-b92e-4552-a10c-e435118c2474", Method.Get);
request.AddHeader("Authorization", "Bearer <API KEY>");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);
const axios = require('axios');
let config = {
method: 'get',
maxBodyLength: Infinity,
url: 'https://apitest.nilvera.com/eledger/Documents/History/d564b745-b92e-4552-a10c-e435118c2474',
headers: {
'Authorization': 'Bearer <API KEY>'
}
};
axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
const axios = require('axios');
let config = {
method: 'get',
maxBodyLength: Infinity,
url: 'https://apitest.nilvera.com/einvoice/Draft',
headers: {
'Authorization': 'Bearer <API KEY>'
}
};
axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});