- Process Claim
- Reports
- Converse
- Policy Management
- Insights
- Tariff Management
- Provider Management
- Neural Center
- IndexGET
Update Policy
POST
/policy/update
Policy Management
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
policy_name
string
Policy Name
grades
array[string]
Grades
Allowed values:
ABCDEF
annual_limit
number
Annual Limit
limits
object (Limits)
required
hospitalization
number
Hospitalization
pathology
number
Pathology
radiology
number
Radiology
physiotherapy
number
Physiotherapy
dental
number
Dental
optical
number
Optical
drugs
number
Drugs
anesthetic
number
Anesthetic
consultation
number
Consultation
gynaecology
number
Gynaecology
maternity
number
Maternity
hearing_aids
number
Hearing Aids
rules
array[string]
Rules
currency
enum<string>
Currency
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
Body
No schema defined
Example
null
🟠422Parameter Error
Modified at 2024-12-07 17:10:47