Update an accounting event
patch
/fscmRestApi/resources/11.13.18.05/publicSectorAccountingEvents/{AccountingEventId}
Request
Path Parameters
-
AccountingEventId(required): string
The unique identifier of the accounting event. Identifies a specific type of agency transaction for which accounting journals are required. Value is delivered as seed data.
Header Parameters
-
Metadata-Context:
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".
-
REST-Framework-Version:
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
- application/json
The following table describes the body parameters in the request for this task.
Root Schema : schema
Type:
Show Source
object-
AccountingEventFields: array
Accounting Event Fields
Title:
Accounting Event FieldsThe accounting event field resource is used to view event fields. An accounting event field defines a field name from a business source table, which is used in accounting rule criteria to specify the field values for generating accounting entries. -
EnabledFlag: string
Title:
EnabledMaximum Length:1Default Value:NIndicates whether the accounting event is available to be used. The default value is N.
Nested Schema : Accounting Event Fields
Type:
arrayTitle:
Accounting Event FieldsThe accounting event field resource is used to view event fields. An accounting event field defines a field name from a business source table, which is used in accounting rule criteria to specify the field values for generating accounting entries.
Show Source
Nested Schema : schema
Type:
Show Source
object-
DisplayField: string
Maximum Length:
50The field name displayed on the page.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context(required):
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".
-
REST-Framework-Version(required):
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.
Root Schema : publicSectorAccountingEvents-item-response
Type:
Show Source
object-
AccountingEventFields: array
Accounting Event Fields
Title:
Accounting Event FieldsThe accounting event field resource is used to view event fields. An accounting event field defines a field name from a business source table, which is used in accounting rule criteria to specify the field values for generating accounting entries. -
AccountingEventId: string
Title:
Accounting EventMaximum Length:30The unique identifier of the accounting event. Identifies a specific type of agency transaction for which accounting journals are required. Value is delivered as seed data. -
BusinessFunctionId: string
Title:
Business FunctionRead Only:trueMaximum Length:30An internal code that identifies the type of agency transaction. This code is not exposed to users. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the accounting event. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date and time that the accounting event was created. -
DeletedFlag: boolean
Read Only:
trueMaximum Length:1Default Value:falseIndicates whether the seed data is logically deleted. If the value is Y, the seed data has been deleted. The default value is N. -
EnabledFlag: string
Title:
EnabledMaximum Length:1Default Value:NIndicates whether the accounting event is available to be used. The default value is N. -
EventDescription: string
Title:
DescriptionRead Only:trueMaximum Length:240The description of the accounting event. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date and time that the accounting event was last updated. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64The user who last updated the accounting event. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
SeedDataLock: integer
(int32)
Read Only:
trueDefault Value:0Indicates the level at which the seed data is locked. The value 0 indicates customer data. The value 1 means the fields are read-only. The value 2 means that only some fields can be updated. -
SourceName: string
Title:
Source TableRead Only:trueMaximum Length:30The name of the application table that contains the source transaction that supports the accounting transaction.
Nested Schema : Accounting Event Fields
Type:
arrayTitle:
Accounting Event FieldsThe accounting event field resource is used to view event fields. An accounting event field defines a field name from a business source table, which is used in accounting rule criteria to specify the field values for generating accounting entries.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : publicSectorAccountingEvents-AccountingEventFields-item-response
Type:
Show Source
object-
AccountingEventId: string
Title:
Accounting EventMaximum Length:30The accounting event identifier. Defined in an accounting event. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the accounting event field. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date and time when the accounting event field was created. -
DeletedFlag: boolean
Read Only:
trueMaximum Length:1Default Value:falseIndicates that seed data has been deleted. True means the data is deleted. False means the data is active. The default value is false. -
DisplayField: string
Maximum Length:
50The field name displayed on the page. -
FieldDescription: string
Title:
DescriptionMaximum Length:200The description of the field name. -
FieldName: string
Title:
Field NameMaximum Length:30Field name whose value defines the transactions to which the accounting event applies. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date and time when the accounting event field was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the accounting event field. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PromptField: string
Maximum Length:
30The service field that is used to get the field values. -
PromptTable: string
Maximum Length:
100The service name that is used to get the field values. -
RequiredFlag: boolean
Title:
RequiredMaximum Length:1Indicates whether a value is required for the field name. True means required. False means not required. The default value is true. -
SeedDataLock: integer
(int32)
Read Only:
trueDefault Value:0Indicates the level at which the seed data is locked. The value 0 indicates customer data. The value 1 means the fields are read-only. The value 2 means that only some fields can be updated.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Links
- AccountingEventFields
-
Parameters:
- AccountingEventId:
$request.path.AccountingEventId
The accounting event field resource is used to view event fields. An accounting event field defines a field name from a business source table, which is used in accounting rule criteria to specify the field values for generating accounting entries. - AccountingEventId: