# Save Rev Rec Contract Update Rules Save Rev Rec Contract Update Rules Endpoint: POST /rest/2.0/REVREC_UPDATE_RULE Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.UpdateRevRecContractProduct` (string, required) Update Rev Rec Contract Product: This field selection dictates the default value for the 'Update Rev Rec Contract Product' field when updating an account product. For example, when 'Update and Activate Contract Change' is selected, the account product changes will automatically update the related Rev Rec Contract Product and initiate GL changes. When 'Update as a Draft Contract Change' is selected, the account product changes will automatically update the Rev Rec Contract Product and put the contract in Draft status. GL impacts will not be made for DRAFT contracts until the status is set to ACTIVATED - `brmObjects.OrderOfEvaluation` (string, required) Order of Evaluation: It is possible to define several update rules for a single entity. Use this field to define the order in which the rules for the common entity will fire. - `brmObjects.Formula` (string) Formula - `brmObjects.CreatedUserId` (string) System controlled field: Id of the user that created the record - `brmObjects.RuleCriteria` (string, required) Rule Action Criteria: This will determine which method the update rule will use to determine if the record should enter the update process. Choose whether to use the defined record filter criteria or to use a formula to evaluate the update entry criteria. - `brmObjects.Updated` (string) System controlled field: Date and time the record was last updated - `brmObjects.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `brmObjects.FilterLogic` (string) Criteria Join Logic: Use this to define the logical grouping of your filter criteria. The ordered list of Filters defined above can be segregated to more narrowly define the filter as a whole. So let`s say you have three filters, use this field to define a meaning across the three references.For example: (1 AND 2 ) OR 3 Use parentheses as well as AND and OR operators to define the filter logic - `brmObjects.Created` (string) System controlled field: Date and time the record was created - `brmObjects.Id` (string, required) Id: Primary key - `brmObjects.EditModifyContract` (string, required) Edit or Modify Contract: This field selection dictates the default value for the 'Edit or Modify Contract' field when updating an account product. For example, when 'Contract Modification' is selected, the account product changes will automatically update the related Rev Rec Contract Product as part of a Contract Modification event. - `brmObjects.ContractModificationMethod` (string, required) Contract Modification Method: This field selection dictates the default value for the 'Contract Modification Method' field when updating an account product. For example, when 'Cumulative Catch-Up' is selected, the account product changes will automatically update the related Rev Rec Contract Product as part of a Cumulative Catch-Up Modification to the Rev Rec Contract. - `brmObjects.FieldToUpdate` (string, required) Rev Rec Contract Product Fields to Update: This field selection dictates the default value for the 'Rev Rec Contract Product Fields to Update' field when updating an account product. For example, when 'Exclude Date Fields' is selected, the account product changes will automatically update the related Rev Rec Contract Product but will not update the date fields on the Rev Rec Contract Product. - `brmObjects.ContractModificationDate` (string) Date of Contract Modification: This field selection dictates the default value for the 'Date of Contract Modification' field when updating an account product. For example, if the value executes to 10/18/20XX upon update of an Account Product then 10/18/20XX will be the date of the contract modification when the related Rev Rec Contract Product is updated. - `brmObjects.Name` (string) Name ## Response 200 fields (application/json): - `retrieveResponse` (object) - `retrieveResponse.UpdateRevRecContractProduct` (string) Update Rev Rec Contract Product: This field selection dictates the default value for the 'Update Rev Rec Contract Product' field when updating an account product. For example, when 'Update and Activate Contract Change' is selected, the account product changes will automatically update the related Rev Rec Contract Product and initiate GL changes. When 'Update as a Draft Contract Change' is selected, the account product changes will automatically update the Rev Rec Contract Product and put the contract in Draft status. GL impacts will not be made for DRAFT contracts until the status is set to ACTIVATED - `retrieveResponse.OrderOfEvaluation` (string) Order of Evaluation: It is possible to define several update rules for a single entity. Use this field to define the order in which the rules for the common entity will fire. - `retrieveResponse.Formula` (string) Formula - `retrieveResponse.CreatedUserId` (string) System controlled field: Id of the user that created the record - `retrieveResponse.RuleCriteria` (string) Rule Action Criteria: This will determine which method the update rule will use to determine if the record should enter the update process. Choose whether to use the defined record filter criteria or to use a formula to evaluate the update entry criteria. - `retrieveResponse.Updated` (string) System controlled field: Date and time the record was last updated - `retrieveResponse.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `retrieveResponse.FilterLogic` (string) Criteria Join Logic: Use this to define the logical grouping of your filter criteria. The ordered list of Filters defined above can be segregated to more narrowly define the filter as a whole. So let`s say you have three filters, use this field to define a meaning across the three references.For example: (1 AND 2 ) OR 3 Use parentheses as well as AND and OR operators to define the filter logic - `retrieveResponse.Created` (string) System controlled field: Date and time the record was created - `retrieveResponse.Id` (string) Id: Primary key - `retrieveResponse.EditModifyContract` (string) Edit or Modify Contract: This field selection dictates the default value for the 'Edit or Modify Contract' field when updating an account product. For example, when 'Contract Modification' is selected, the account product changes will automatically update the related Rev Rec Contract Product as part of a Contract Modification event. - `retrieveResponse.ContractModificationMethod` (string) Contract Modification Method: This field selection dictates the default value for the 'Contract Modification Method' field when updating an account product. For example, when 'Cumulative Catch-Up' is selected, the account product changes will automatically update the related Rev Rec Contract Product as part of a Cumulative Catch-Up Modification to the Rev Rec Contract. - `retrieveResponse.FieldToUpdate` (string) Rev Rec Contract Product Fields to Update: This field selection dictates the default value for the 'Rev Rec Contract Product Fields to Update' field when updating an account product. For example, when 'Exclude Date Fields' is selected, the account product changes will automatically update the related Rev Rec Contract Product but will not update the date fields on the Rev Rec Contract Product. - `retrieveResponse.ContractModificationDate` (string) Date of Contract Modification: This field selection dictates the default value for the 'Date of Contract Modification' field when updating an account product. For example, if the value executes to 10/18/20XX upon update of an Account Product then 10/18/20XX will be the date of the contract modification when the related Rev Rec Contract Product is updated. - `retrieveResponse.Name` (string) Name ## Response 400 fields (application/json): - `error` (string) Bad request - `message` (string) Bad request ## Response 401 fields (application/json): - `error` (string) Unauthorized - `message` (string) Unauthorized ## Response 404 fields (application/json): - `error` (string) Not found - `message` (string) Not found ## Response 429 fields (application/json): - `error` (string) Too many requests - `message` (string) Too many requests ## Response 500 fields (application/json): - `error` (string) Internal error - `message` (string) Internal error