Create an accounting rule
post
/fscmRestApi/resources/11.13.18.05/publicSectorAccountingRules
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
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 EventMaximum Length:30The unique identifier of the accounting event. Identifies a specific type of transaction for which accounting journals are required. -
AccountingRuleGroup(optional):
string
Title:
Accounting Rule GroupMaximum Length:50The 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 RuleMaximum Length:50The 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 IDThe 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:
ValidMaximum Length:1Indicates whether the rule is complete and valid for processing. The default value is false. -
CreatedBy(optional):
string
Title:
Created ByMaximum Length:64The user who created the accounting rule. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date and time that the accounting rule was created. -
EffectiveEndDate(optional):
string(date)
Title:
End DateThe last day that the rule may be used. -
EffectiveStartDate(optional):
string(date)
Title:
Start DateThe first day that the rule may be used. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date and time that the accounting rule was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated ByMaximum Length:64The user who last updated the accounting rule. -
LedgerId(optional):
string
Title:
LedgerMaximum Length:30The 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:
ItemsLink Relations -
RuleDescription(optional):
string
Title:
DescriptionMaximum Length:240The description of the rule.
Nested Schema : link
Type:
Show Source
object-
href(optional):
string
Title:
hyperlink referenceThe URI to the related resource. -
rel(optional):
string
Title:
relationThe 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 EventMaximum Length:30The unique identifier of the accounting event. Identifies a specific type of transaction for which accounting journals are required. -
AccountingRuleGroup(optional):
string
Title:
Accounting Rule GroupMaximum Length:50The 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 RuleMaximum Length:50The 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 IDThe 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:
ValidMaximum Length:1Indicates whether the rule is complete and valid for processing. The default value is false. -
CreatedBy(optional):
string
Title:
Created ByMaximum Length:64The user who created the accounting rule. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date and time that the accounting rule was created. -
EffectiveEndDate(optional):
string(date)
Title:
End DateThe last day that the rule may be used. -
EffectiveStartDate(optional):
string(date)
Title:
Start DateThe first day that the rule may be used. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date and time that the accounting rule was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated ByMaximum Length:64The user who last updated the accounting rule. -
LedgerId(optional):
string
Title:
LedgerMaximum Length:30The 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:
ItemsLink Relations -
RuleDescription(optional):
string
Title:
DescriptionMaximum Length:240The description of the rule.
Nested Schema : link
Type:
Show Source
object-
href(optional):
string
Title:
hyperlink referenceThe URI to the related resource. -
rel(optional):
string
Title:
relationThe name of the relation to the resource instance. Example: self.