Contract Amendments
Specifies the rules for processing changes to a contract, including upgrades, downgrades, and modifications triggered by API inputs.
To retrieves all the contract amendment policies setup in system.
Get contract amendment Policy
A system-generated compliance ID to retrieve the contract amendment Policies
Name of the policy fetched by the system.
ID of the user who created the policy. Example: username@rightrev.com
Timestamp of the policy created by the user. This is a unix Epoch timestamp format
ID of the user last modified by
Timestamp of the policy last modified on. This is a unix Epoch timestamp format
Represents the type of policy
Represents the status of policy
Globally unique identifier generated by the system.
Unique alpha-numeric number generated by the system
GET /apis/policy-sets/v1/policy/contract-amendments HTTP/1.1
Host: {realm}.{env}.rightrev.cloud/
Accept: */*
Get contract amendment Policy
[
{
"compliance_id": "3241415b-eaf0-42f7-933f-a0e52bd6616b",
"compliance_name": "Contract amendment",
"compliance_spec": [
{
"amendment_reason_and_treatment": [
{
"accelerate_revenue": true,
"can_delete": true,
"is_user_defined": true,
"reason": "Increase Quantity",
"treatment": "retrospective"
},
{
"accelerate_revenue": false,
"can_delete": false,
"is_user_defined": false,
"reason": "New",
"treatment": "prospective"
},
{
"accelerate_revenue": false,
"can_delete": false,
"is_user_defined": false,
"reason": "Cancel Full Obligation",
"treatment": "retrospective"
},
{
"accelerate_revenue": false,
"can_delete": false,
"is_user_defined": false,
"reason": "Cancel",
"treatment": "prospective"
}
],
"can_delete": false,
"created_at": 1758630293,
"created_by": "RIGHTREV",
"guid": "aabcd281-4f27-4ac5-a414-1263aa1dc75e",
"is_user_defined": false,
"new_product_at_ssp": "in_allocation",
"revenue_contract_initial_timeline": "rc_creation_period",
"updated_at": 1767684200,
"updated_by": "service@rightrev.com"
}
],
"created_by": "RIGHTREV",
"created_on": 1767684208,
"last_modified_by": "RIGHTREV",
"last_modified_on": 1767684208,
"policy_type": "contract-amendments",
"status": "Active",
"unique_key": "guid",
"version_id": "a1de23a8-4fdd-4167-8a7d-a7ad285baf37"
}
]Update Contract Amendment Policy
To create, update and delete the contract amendment policies in the system.
To DELETE any amendment policy or policies user has to remove that specific policy details from the payload.
A system-generated compliance ID to edit the policy.
Name of the policy.
Globally unique identifier generated by the system.
Format type of the request code used to collect data - For e.g. JSON
Create, Update or Delete contract amendment Policy
A system-generated compliance ID to create, update or delete the amendment rule.
Displays information about problems that occurred while handling the request. Commonly used to report validation errors, missing or invalid parameters, or other issues related to API processing.
PATCH /apis/policy-sets/v1/policy/contract-amendments/{compliance_id} HTTP/1.1
Host: {realm}.{env}.rightrev.cloud/
Content-Type: application/json
Accept: */*
Content-Length: 701
{
"compliance_name": "Contract amendment",
"unique_key": "guid",
"format_type": "json",
"compliance_spec": [
{
"revenue_contract_initial_timeline": "rc_creation_period",
"new_product_at_ssp": "in_allocation",
"amendment_reason_and_treatment": [
{
"reason": "Increase Quantity",
"treatment": "retrospective",
"is_user_defined": true,
"can_delete": true
},
{
"reason": "New",
"treatment": "prospective",
"is_user_defined": false,
"can_delete": false
},
{
"reason": "Cancel",
"treatment": "prospective",
"is_user_defined": false,
"can_delete": false
},
{
"reason": "Cancel Full Obligation",
"treatment": "retrospective",
"is_user_defined": false,
"can_delete": false
}
],
"is_user_defined": true,
"can_delete": true,
"guid": "0e3efa97-bf37-4713-9073-f08b046b4b3f"
}
]
}Create, Update or Delete contract amendment Policy
{
"compliance_details": [
{
"error": [],
"message": "updated successfully",
"unique_key": "0e3efa97-bf37-4713-9073-f08b046b4b3f"
}
],
"compliance_id": "fc4edc57-6bcb-4204-b6dc-878c3f8e2afe",
"error": []
}Last updated
Was this helpful?

