Update an accounting rule
patch
/fscmRestApi/resources/11.13.18.05/publicSectorAccountingRules/{publicSectorAccountingRulesUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
publicSectorAccountingRulesUniqID: integer
This is the hash key of the attributes which make up the composite key--- AgencyId, AccountingRuleId, EffectiveStartDate and EffectiveEndDate ---for the Accounting Rules resource and used to uniquely identify an instance of Accounting Rules. The client should not generate the hash key value. Instead, the client should query on the Accounting Rules collection resource with a filter on the primary key values in order to navigate to a specific instance of Accounting Rules.
For example: publicSectorAccountingRules?q=AgencyId=<value1>;AccountingRuleId=<value2>;EffectiveStartDate=<value3>;EffectiveEndDate=<value4>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorAccountingRules-item
Type:
Show Source
object
-
AccountingEventId(optional):
string
Title:
Accounting Event
Maximum Length:30
The unique identifier of the accounting event. Identifies a specific type of transaction for which accounting journals are required. -
AccountingRuleGroup(optional):
string
Title:
Accounting Rule Group
Maximum Length:50
The group, if any, that this rule belongs to. When multiple accounting rules are assigned the same group, transactions meeting the selection criteria are processed by each rule in the group. -
AccountingRuleId(optional):
string
Title:
Accounting Rule
Maximum Length:50
The unique identifier of the accounting rule. Describes how accounting journal entries are to be created for a specific type of transaction. Value is mandatory and is defined by the user during a create action. -
AgencyId(optional):
integer(int32)
Title:
Agency ID
The unique identifier of the agency associated with the accounting rule. Value is mandatory and is set programmatically based on the user's login. -
CompleteFlag(optional):
string
Title:
Valid
Maximum Length:1
Indicates whether the rule is complete and valid for processing. The default value is false. -
CreatedBy(optional):
string
Title:
Created By
Maximum Length:64
The user who created the accounting rule. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The date and time that the accounting rule was created. -
EffectiveEndDate(optional):
string(date)
Title:
End Date
The last day that the rule may be used. -
EffectiveStartDate(optional):
string(date)
Title:
Start Date
The first day that the rule may be used. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated Date
The date and time that the accounting rule was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The user who last updated the accounting rule. -
LedgerId(optional):
string
Title:
Ledger
Maximum Length:30
The unique identifier of the ledger that the rule is associated with. Identifies the accounting treatment of the journals associated with the ledger. Value is mandatory and is defined by the user during a create action. -
links(optional):
array Items
Title:
Items
Link Relations -
RuleDescription(optional):
string
Title:
Description
Maximum Length:240
The description of the rule.
Nested Schema : link
Type:
Show Source
object
-
href(optional):
string
Title:
hyperlink reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The name of the relation to the resource instance. Example: self.
Response
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Default Response
The following table describes the default response for this task.
Root Schema : publicSectorAccountingRules-item
Type:
Show Source
object
-
AccountingEventId(optional):
string
Title:
Accounting Event
Maximum Length:30
The unique identifier of the accounting event. Identifies a specific type of transaction for which accounting journals are required. -
AccountingRuleGroup(optional):
string
Title:
Accounting Rule Group
Maximum Length:50
The group, if any, that this rule belongs to. When multiple accounting rules are assigned the same group, transactions meeting the selection criteria are processed by each rule in the group. -
AccountingRuleId(optional):
string
Title:
Accounting Rule
Maximum Length:50
The unique identifier of the accounting rule. Describes how accounting journal entries are to be created for a specific type of transaction. Value is mandatory and is defined by the user during a create action. -
AgencyId(optional):
integer(int32)
Title:
Agency ID
The unique identifier of the agency associated with the accounting rule. Value is mandatory and is set programmatically based on the user's login. -
CompleteFlag(optional):
string
Title:
Valid
Maximum Length:1
Indicates whether the rule is complete and valid for processing. The default value is false. -
CreatedBy(optional):
string
Title:
Created By
Maximum Length:64
The user who created the accounting rule. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The date and time that the accounting rule was created. -
EffectiveEndDate(optional):
string(date)
Title:
End Date
The last day that the rule may be used. -
EffectiveStartDate(optional):
string(date)
Title:
Start Date
The first day that the rule may be used. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated Date
The date and time that the accounting rule was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The user who last updated the accounting rule. -
LedgerId(optional):
string
Title:
Ledger
Maximum Length:30
The unique identifier of the ledger that the rule is associated with. Identifies the accounting treatment of the journals associated with the ledger. Value is mandatory and is defined by the user during a create action. -
links(optional):
array Items
Title:
Items
Link Relations -
RuleDescription(optional):
string
Title:
Description
Maximum Length:240
The description of the rule.
Nested Schema : link
Type:
Show Source
object
-
href(optional):
string
Title:
hyperlink reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The name of the relation to the resource instance. Example: self.