Refresh Plan
curl --request POST \
--url https://api.eka.care/abdm/nhcx/v1/policies/{policyId}/plan/refresh \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.eka.care/abdm/nhcx/v1/policies/{policyId}/plan/refresh"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.eka.care/abdm/nhcx/v1/policies/{policyId}/plan/refresh', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api.eka.care/abdm/nhcx/v1/policies/{policyId}/plan/refresh")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.eka.care/abdm/nhcx/v1/policies/{policyId}/plan/refresh");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.eka.care/abdm/nhcx/v1/policies/{policyId}/plan/refresh")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"estimated_response_time": "<string>",
"message": "<string>",
"request_id": "<string>",
"status": "<string>",
"workflow_id": "<string>"
}{
"error": "<string>",
"issues": [
"<string>"
],
"updated_at": "<string>"
}{
"error": "<string>",
"issues": [
"<string>"
],
"updated_at": "<string>"
}Policy
Refresh Plan
Requests a fresh procedure catalogue (InsurancePlan) for the policy’s product. Poll List Specialities until it is ready.
POST
/
abdm
/
nhcx
/
v1
/
policies
/
{policyId}
/
plan
/
refresh
Refresh Plan
curl --request POST \
--url https://api.eka.care/abdm/nhcx/v1/policies/{policyId}/plan/refresh \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.eka.care/abdm/nhcx/v1/policies/{policyId}/plan/refresh"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.eka.care/abdm/nhcx/v1/policies/{policyId}/plan/refresh', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.post("https://api.eka.care/abdm/nhcx/v1/policies/{policyId}/plan/refresh")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.eka.care/abdm/nhcx/v1/policies/{policyId}/plan/refresh");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
require 'uri'
require 'net/http'
url = URI("https://api.eka.care/abdm/nhcx/v1/policies/{policyId}/plan/refresh")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"estimated_response_time": "<string>",
"message": "<string>",
"request_id": "<string>",
"status": "<string>",
"workflow_id": "<string>"
}{
"error": "<string>",
"issues": [
"<string>"
],
"updated_at": "<string>"
}{
"error": "<string>",
"issues": [
"<string>"
],
"updated_at": "<string>"
}Authorizations
The API requires a Bearer token (JWT) for authentication.
Headers
Eka User ID (OID)
Partner User ID
Partner HIP ID
Path Parameters
policy_id from Search Policies or Policy Discovery Status
Required range:
x >= 0Was this page helpful?

