i-Claim
  1. Policy Management
i-Claim
  • Process Claim
    • Process Claim Indepth
      POST
  • Reports
    • Get Claim Report
      GET
    • Get Claim Reports
      GET
    • Get All Reports
      GET
  • Converse
    • Converse General
      POST
    • Converse Stream
      POST
  • Policy Management
    • Get Schema
      GET
    • Get All Schema
      GET
    • Create Schema
      POST
    • Update Policy
      POST
    • Delete Policy
      DELETE
  • Insights
    • Total Processed Claims
      GET
    • Total Discrepancies Found
      GET
    • Get Error Insights
      POST
  • Tariff Management
    • Update Tariff Pricing
      POST
    • Update Tariff By Percentage
      POST
    • Rebase Tariffs
      POST
    • Get Tariff Types
      GET
    • Get All Tariffs
      GET
    • Check Custom Tariff Use
      GET
    • Use Default Tariffs
      GET
  • Provider Management
    • Add Provider
      POST
    • Add Providers
      POST
    • Get Provider
      GET
    • Get All Providers
      GET
    • Update Provider
      POST
    • Remove Provider
      DELETE
  • Neural Center
    • Add Revision
    • List Revisions
    • Get Revision
    • Remove Revision
    • Create Chronos
    • Astra
    • Create Chronos
    • Astra
    • Create Chronos
    • Astra
  • Index
    GET
  1. Policy Management

Update Policy

POST
/policy/update
Policy Management
This API endpoint facilitates the update of an existing schema. It is essential to include
the policy_id of the schema you intend to modify; failure to do so will result in an error.
The updated schema, containing all desired changes, should be provided in its entirety. Prior to
making modifications, it is recommended to retrieve the original schema using the get_schema endpoint
and make changes based on the returned data.

Request

Body Params application/json
policy_id
string 
Policy Id
required
Policy ID
policy_name
string 
Policy Name
required
Policy name
grades
array[string]
Grades
required
Contains hospital grades covered under plan eg ['A','B'] -ONLY GRADES A and B are covered
Allowed values:
ABCDEF
annual_limit
number 
Annual Limit
required
Annual benefits total amount claimable per period
limits
object (Limits) 
required
Breakdown of claimable amount for individual benefits
hospitalization
number 
Hospitalization
required
Maximum claimable amount for hospitalization per period/annually
pathology
number 
Pathology
required
Maximum claimable amount for pathology per period/annually
radiology
number 
Radiology
required
Maximum claimable amount for radiology per period/annually
physiotherapy
number 
Physiotherapy
required
Maximum claimable amount for physiotherapy per period/annually
dental
number 
Dental
required
Maximum claimable amount for dental per period/annually
optical
number 
Optical
required
Maximum claimable amount for optical per period/annually
drugs
number 
Drugs
required
Maximum claimable amount for drugs per period/annually
anesthetic
number 
Anesthetic
required
Maximum claimable amount for anesthetic per period/annually
consultation
number 
Consultation
required
Maximum claimable amount for consultation per period/annually
gynaecology
number 
Gynaecology
required
Maximum claimable amount for gynaecology per period/annually
maternity
number 
Maternity
required
Maximum claimable amount for maternity per period/annually
hearing_aids
number 
Hearing Aids
required
Maximum claimable amount for hearing aids per period/annually
rules
array[string]
Rules
required
Additional rules you would want to enforce to further process claims
currency
enum<string> 
Currency
required
Currency which is used by the policy
Allowed values:
ZiGUSD
Example
{
    "policy_id": "string",
    "policy_name": "string",
    "grades": [
        "A"
    ],
    "annual_limit": 0,
    "limits": {
        "hospitalization": 0,
        "pathology": 0,
        "radiology": 0,
        "physiotherapy": 0,
        "dental": 0,
        "optical": 0,
        "drugs": 0,
        "anesthetic": 0,
        "consultation": 0,
        "gynaecology": 0,
        "maternity": 0,
        "hearing_aids": 0
    },
    "rules": [
        "string"
    ],
    "currency": "ZiG"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/policy/update' \
--header 'Content-Type: application/json' \
--data-raw '{
    "policy_id": "string",
    "policy_name": "string",
    "grades": [
        "A"
    ],
    "annual_limit": 0,
    "limits": {
        "hospitalization": 0,
        "pathology": 0,
        "radiology": 0,
        "physiotherapy": 0,
        "dental": 0,
        "optical": 0,
        "drugs": 0,
        "anesthetic": 0,
        "consultation": 0,
        "gynaecology": 0,
        "maternity": 0,
        "hearing_aids": 0
    },
    "rules": [
        "string"
    ],
    "currency": "ZiG"
}'

Responses

🟢200OK
application/json
Successful Response
Body
No schema defined
Example
null
🟠422Parameter Error
Modified at 2024-12-07 17:10:47
Previous
Create Schema
Next
Delete Policy
Built with