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
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

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 Code 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

Example
null
🟠422Parameter Error
Modified at 2024-12-07 17:10:47
Previous
Create Schema
Next
Delete Policy
Built with