Update an accounting rule criterion

patch

/fscmRestApi/resources/11.13.18.05/publicSectorAccountingRuleCriteria/{publicSectorAccountingRuleCriteriaUniqID}

Request

Path Parameters
  • This is the hash key of the attributes which make up the composite key--- AgencyId, AccountingRuleId, EffectiveStartDate, EffectiveEndDate and FieldName ---for the Accounting Rule Criteria resource and used to uniquely identify an instance of Accounting Rule Criteria. The client should not generate the hash key value. Instead, the client should query on the Accounting Rule Criteria collection resource with a filter on the primary key values in order to navigate to a specific instance of Accounting Rule Criteria.

    For example: publicSectorAccountingRuleCriteria?q=AgencyId=<value1>;AccountingRuleId=<value2>;EffectiveStartDate=<value3>;EffectiveEndDate=<value4>;FieldName=<value5>
Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Title: End Date
    The last day that the rule criterion may be used.
  • Title: Start Date
    The first day that the rule criterion may be used.
  • Title: Field Name
    Maximum Length: 30
    The field for which a criterion is specified by the user to control which accounting transactions are processed by the rule.
  • Title: Field Value
    Maximum Length: 200
    The values for the specified field name that are used to select accounting transactions for processing.
  • Title: Logical Operator
    Maximum Length: 2
    The logical operator associated with the field values specified by the user. A list of accepted values is defined in the lookup type ORA_PSC_CC_LOGICAL_OPERATOR.
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : publicSectorAccountingRuleCriteria-item-response
Type: object
Show Source
  • Title: Accounting Rule
    Maximum Length: 50
    The unique identifier of the accounting rule. Describes how accounting journal entries are created for a specific type of transaction. Value is mandatory and is defined by the user during a create action.
  • Title: Agency ID
    Default Value: 1
    The unique identifier of the agency associated with the accounting rule. Value is mandatory and is set programmatically based on the user's login.
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    The user who created the accounting rule criterion.
  • Title: Creation Date
    Read Only: true
    The date and time that the accounting rule criterion was created.
  • Title: End Date
    The last day that the rule criterion may be used.
  • Title: Start Date
    The first day that the rule criterion may be used.
  • Title: Field Name
    Maximum Length: 30
    The field for which a criterion is specified by the user to control which accounting transactions are processed by the rule.
  • Title: Field Value
    Maximum Length: 200
    The values for the specified field name that are used to select accounting transactions for processing.
  • Title: Last Updated Date
    Read Only: true
    The date and time that the accounting rule criterion was last updated.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    The user who last updated the accounting rule criterion.
  • Links
  • Title: Logical Operator
    Maximum Length: 2
    The logical operator associated with the field values specified by the user. A list of accepted values is defined in the lookup type ORA_PSC_CC_LOGICAL_OPERATOR.
  • Read Only: true
    Maximum Length: 80
    The meaning for the logical operator value.
Back to Top