curl --request PUT \
--url https://api.decodahealth.com/billing/rule-set/edit/{rule_set_id} \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--header 'TENANT: <tenant>' \
--data '
{
"name": "<string>",
"description": "<string>",
"rules": []
}
'{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"rules": []
}Edit an existing RuleSet and its associated Rules.
curl --request PUT \
--url https://api.decodahealth.com/billing/rule-set/edit/{rule_set_id} \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--header 'TENANT: <tenant>' \
--data '
{
"name": "<string>",
"description": "<string>",
"rules": []
}
'{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"rules": []
}The tenant you are making this request on behalf of
Your api key
Name of the rule set to be updated.
Optional description of the rule set.
List of rules to update or create.
Show child attributes
Name of the rule.
Identifier of the rule set this rule belongs to.
Optional ID of the rule. If present, the rule will be updated.
Number of days to delay before applying the rule.
Upper bound for the amount, exclusive.
Lower bound for the amount, exclusive.
Upper bound for the amount, inclusive.
Communication methods to be used for this rule.
The method used to send an invoice to a patient.
CHARGE_CARD, SMS, EMAIL, CALL, MAIL, EXPIRY Message to be sent when applying this rule, must contain the {url} and {first_name} placeholders.
Successful Response
Unique identifier for the rule set.
Name of the rule set.
Optional description of the rule set.
List of rules contained in this rule set.
Show child attributes
Unique identifier for the rule.
Name of the rule.
Number of days to delay before applying the rule.
Identifier of the rule set this rule belongs to.
Communication methods to be used for this rule.
The method used to send an invoice to a patient.
CHARGE_CARD, SMS, EMAIL, CALL, MAIL, EXPIRY Upper bound for the amount, exclusive.
Lower bound for the amount, exclusive.
Upper bound for the amount, inclusive.
Message to be sent when applying this rule.