Update an existing schema.
Resource
URL
/v2/applications/{communityApiKeyName}/customSource/schemas/{id}
Note:
Use the appropriate regional endpoint to ensure that you comply with
your organization's privacy policy, and applicable laws and regulations. For
details about the available regional endpoints, and how to identify your
organization's region, see
API Access .
Available methods
Method
Description
PUT
Update an existing schema.
Parameters for 1. POSTCollapse All Expand All
URL /v2/applications/{communityApiKeyName}/customsource/schemas/1701ce03-d78d-4220-8859-8753c0730206
Example POST body [
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "/schemas/policy",
"type": "object",
"properties": {
"Transaction ID": {
"type": "string",
"isID": true
},
"Policy Number": {
"type": "string"
},
"Product Name": {
"type": "string"
},
"Premium Currency": {
"type": "string"
},
"Premium Amount": {
"type": "number"
},
"Payment Mode": {
"enum": ["Monthly", "Annual", "Semi-Annual", "Quarterly", "Single Pay"],
"singleChoice": true
},
"Sum Insured": {
"type": "number"
},
"Owner First Name": {
"type": "string"
},
"Owner Last Name": {
"type": "string"
},
"Email": {
"type": "string",
"format": "email",
"isSensitive": true
}
},
"required": ["Transaction ID", "Owner First Name", "Owner Last Name", "Email"]
}
]