Get eVital Billing Config
curl --request GET \
--url https://api.eka.care/ipd/service/pharmacies/billing-config/evital \
--header 'auth: <auth>'import requests
url = "https://api.eka.care/ipd/service/pharmacies/billing-config/evital"
headers = {"auth": "<auth>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {auth: '<auth>'}};
fetch('https://api.eka.care/ipd/service/pharmacies/billing-config/evital', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.eka.care/ipd/service/pharmacies/billing-config/evital")
.header("auth", "<auth>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.eka.care/ipd/service/pharmacies/billing-config/evital");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("auth", "<auth>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.eka.care/ipd/service/pharmacies/billing-config/evital")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["auth"] = '<auth>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"isEnabled": true,
"exemptAdmissionPricing": "base"
}
}{
"success": true,
"error": "<string>"
}{
"message": "<string>"
}Billing settings
Get eVital Billing Config
Overview
This API returns the eVital integration’s state for your workspace: whether eVital is set up (isEnabled), and how medicines from eVital are priced for a GST-exempt admission (exemptAdmissionPricing).
exemptAdmissionPricing is base (the default) or mrp:
base— bill the tax-exclusive rate; the workspace absorbs the pharmacy’s GST.mrp— bill the GST-inclusive price per unit that the pharmacy charged.
It reads as base when it has never been set, or while eVital is not set up.
GET
/
ipd
/
service
/
pharmacies
/
billing-config
/
evital
Get eVital Billing Config
curl --request GET \
--url https://api.eka.care/ipd/service/pharmacies/billing-config/evital \
--header 'auth: <auth>'import requests
url = "https://api.eka.care/ipd/service/pharmacies/billing-config/evital"
headers = {"auth": "<auth>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {auth: '<auth>'}};
fetch('https://api.eka.care/ipd/service/pharmacies/billing-config/evital', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.eka.care/ipd/service/pharmacies/billing-config/evital")
.header("auth", "<auth>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.eka.care/ipd/service/pharmacies/billing-config/evital");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("auth", "<auth>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.eka.care/ipd/service/pharmacies/billing-config/evital")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["auth"] = '<auth>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"isEnabled": true,
"exemptAdmissionPricing": "base"
}
}{
"success": true,
"error": "<string>"
}{
"message": "<string>"
}Was this page helpful?

