Create treasury account symbols
post
/fscmRestApi/resources/11.13.18.05/fedTreasuryAccountSymbols
Request
Header Parameters
-
Metadata-Context: string
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: string
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.
-
Upsert-Mode: string
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
AllocationTransferAgency: string
Title:
Allocation Transfer Agency IdentifierMaximum Length:3Allocation transfer agency of the treasury account symbol. -
AllowPriorYearAccounting: string
Title:
Allow Prior Year AccountingIndicates whether the prior year accounting will happen for the treasury account symbol. -
AuthorityDuration: string
Title:
Authority Duration CodeAuthority duration of the treasury account symbol. -
BeginYearOfAvailability: string
Title:
Beginning Period of AvailabilityMaximum Length:4Beginning year of availability of the treasury account symbol. -
CancellationDate: string
(date)
Title:
Cancellation DateCancellation date of the treasury account symbol. -
CopyTAS: string
Title:
Copy TAS to next yearIndicates whether the TAS information of the treasury account symbol will be copied to the next year. -
EndDate: string
(date)
Title:
End DateEnd date of the treasury account symbol. -
EndingPeriodOfAvailability: string
Title:
Ending Period of AvailabilityMaximum Length:4Ending period of availability of the treasury account symbol. -
ExpirationDate: string
(date)
Title:
Expiration DateExpiration date of the treasury account symbol. -
FedAccountSymbolId: integer
(int64)
Title:
Federal Account Symbol IDUnique code of federal account symbol. -
FederalAccountSymbol: string
Title:
Federal Account SymbolFederal account symbol of the treasury account symbol. -
fedTASBusinessEventTypeCodes: array
Federal Treasury Account Symbols Business Event Type Codes
Title:
Federal Treasury Account Symbols Business Event Type CodesThe federal treasury account symbols business event type codes resource manages the business event type code references, or BETC references, for a treasury account symbol, or TAS. -
fedTreasuryAccountSymbolDFF: array
fedTreasuryAccountSymbolDFF
-
FinancingAccount: string
Title:
Financing Account CodeFinancing account of the treasury account symbol. -
FundType: string
Title:
Fund TypeFund type of the treasury account symbol. -
ReportingType: string
Title:
ReportingReporting type of the treasury account symbol. -
StartDate(required): string
(date)
Title:
Start DateStart date of the treasury account symbol. -
SubAccountCode: string
Title:
Subaccount CodeMaximum Length:3Default Value:000Subaccount code of the treasury account symbol. -
SubLevelPrefixCode: string
Title:
Sublevel PrefixMaximum Length:2Sublevel prefix code of the treasury account symbol. -
TreasuryAccountSymbol: string
Title:
Treasury Account SymbolMaximum Length:35Default Value:Name of the treasury account symbol. -
TreasuryAccountSymbolId: integer
(int64)
Title:
Treasury Account Symbol IDUnique identifier for the treasury account symbol.
Nested Schema : Federal Treasury Account Symbols Business Event Type Codes
Type:
arrayTitle:
Federal Treasury Account Symbols Business Event Type CodesThe federal treasury account symbols business event type codes resource manages the business event type code references, or BETC references, for a treasury account symbol, or TAS.
Show Source
Nested Schema : fedTreasuryAccountSymbols-fedTASBusinessEventTypeCodes-item-post-request
Type:
Show Source
object-
BusinessEventTypeCode: string
Title:
Business Event Type CodesMaximum Length:8Code of the treasury account symbol business event type code. -
fedTASBusinessEventTypeCodeDFF: array
fedTASBusinessEventTypeCodeDFF
-
IsDefault: string
Title:
DefaultIndicates whether the treasury account symbol business event type code is default. -
TasBetcMapId: integer
(int64)
Title:
TAS BETC Map IDIdentifies the TAS BETC mapping of the treasury account symbol business event type code.
Nested Schema : fedTreasuryAccountSymbols-fedTASBusinessEventTypeCodes-fedTASBusinessEventTypeCodeDFF-item-post-request
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context SegmentMaximum Length:150Context Segment -
__FLEX_Context_DisplayValue: string
Title:
Context SegmentContext Segment -
TasBetcMapId: integer
(int64)
Nested Schema : fedTreasuryAccountSymbols-fedTreasuryAccountSymbolDFF-item-post-request
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context SegmentMaximum Length:150Context Segment -
__FLEX_Context_DisplayValue: string
Title:
Context SegmentContext Segment -
TreasuryAccountSymbolId: integer
(int64)
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
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.
Root Schema : fedTreasuryAccountSymbols-item-response
Type:
Show Source
object-
AgencyIdentifier: string
Title:
Agency IdentifierRead Only:trueAgency identifier of the treasury account symbol. -
AgencyType: string
Title:
Agency TypeRead Only:trueAgency type of the treasury account symbol. -
AllocationTransferAgency: string
Title:
Allocation Transfer Agency IdentifierMaximum Length:3Allocation transfer agency of the treasury account symbol. -
AllowPriorYearAccounting: string
Title:
Allow Prior Year AccountingIndicates whether the prior year accounting will happen for the treasury account symbol. -
AuthorityDuration: string
Title:
Authority Duration CodeAuthority duration of the treasury account symbol. -
AvailabilityType: string
Title:
Availability Type CodeRead Only:trueAvailability type of the treasury account symbol. -
BeginYearOfAvailability: string
Title:
Beginning Period of AvailabilityMaximum Length:4Beginning year of availability of the treasury account symbol. -
CancellationDate: string
(date)
Title:
Cancellation DateCancellation date of the treasury account symbol. -
CopyTAS: string
Title:
Copy TAS to next yearIndicates whether the TAS information of the treasury account symbol will be copied to the next year. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the record. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date when the record was created. -
EndDate: string
(date)
Title:
End DateEnd date of the treasury account symbol. -
EndingPeriodOfAvailability: string
Title:
Ending Period of AvailabilityMaximum Length:4Ending period of availability of the treasury account symbol. -
ExpirationDate: string
(date)
Title:
Expiration DateExpiration date of the treasury account symbol. -
FedAccountSymbolId: integer
(int64)
Title:
Federal Account Symbol IDUnique code of federal account symbol. -
FederalAccountSymbol: string
Title:
Federal Account SymbolFederal account symbol of the treasury account symbol. -
fedTASBusinessEventTypeCodes: array
Federal Treasury Account Symbols Business Event Type Codes
Title:
Federal Treasury Account Symbols Business Event Type CodesThe federal treasury account symbols business event type codes resource manages the business event type code references, or BETC references, for a treasury account symbol, or TAS. -
fedTreasuryAccountSymbolDFF: array
fedTreasuryAccountSymbolDFF
-
FinancingAccount: string
Title:
Financing Account CodeFinancing account of the treasury account symbol. -
FundType: string
Title:
Fund TypeFund type of the treasury account symbol. -
LastUpdateDate: string
(date-time)
Title:
Last Update DateRead Only:trueThe date when the record was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the record. -
LastUpdateLogin: string
Title:
Last Update LoginRead Only:trueMaximum Length:32The last user login that was used to update the record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
MainAccountCode: string
Title:
Main Account CodeRead Only:trueMain account code of the treasury account symbol. -
ReportingType: string
Title:
ReportingReporting type of the treasury account symbol. -
StartDate: string
(date)
Title:
Start DateStart date of the treasury account symbol. -
SubAccountCode: string
Title:
Subaccount CodeMaximum Length:3Default Value:000Subaccount code of the treasury account symbol. -
SubLevelPrefixCode: string
Title:
Sublevel PrefixMaximum Length:2Sublevel prefix code of the treasury account symbol. -
TreasuryAccountSymbol: string
Title:
Treasury Account SymbolMaximum Length:35Default Value:Name of the treasury account symbol. -
TreasuryAccountSymbolId: integer
(int64)
Title:
Treasury Account Symbol IDUnique identifier for the treasury account symbol.
Nested Schema : Federal Treasury Account Symbols Business Event Type Codes
Type:
arrayTitle:
Federal Treasury Account Symbols Business Event Type CodesThe federal treasury account symbols business event type codes resource manages the business event type code references, or BETC references, for a treasury account symbol, or TAS.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : fedTreasuryAccountSymbols-fedTASBusinessEventTypeCodes-item-response
Type:
Show Source
object-
AdjustmentBETC: string
Title:
Adjustment BETCRead Only:trueMaximum Length:8Adjustment BETC of the treasury account symbol business event type code. -
BusinessEventTypeCode: string
Title:
Business Event Type CodesMaximum Length:8Code of the treasury account symbol business event type code. -
BusinessEventTypeName: string
Title:
Business Event Type NameRead Only:trueMaximum Length:100Name of the treasury account symbol business event type code. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the record. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date when the record was created. -
fedTASBusinessEventTypeCodeDFF: array
fedTASBusinessEventTypeCodeDFF
-
FundingDerivationType: string
Title:
Funding Derivation TypeRead Only:trueType of funding derivation associated with the adjustment business event type codes list of values. The valid values are Derived from General Fund, Not Derived from General Fund. -
IsDefault: string
Title:
DefaultIndicates whether the treasury account symbol business event type code is default. -
LastUpdateDate: string
(date-time)
Title:
Last Update DateRead Only:trueThe date when the record was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the record. -
LastUpdateLogin: string
Title:
Last Update LoginRead Only:trueMaximum Length:32The last user login that was used to update the record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PaymentOrCollection: string
Title:
Payment or CollectionRead Only:trueMaximum Length:255Indicates whether the treasury account symbol BETC is a payment or collection type. -
TasBetcMapId: integer
(int64)
Title:
TAS BETC Map IDIdentifies the TAS BETC mapping of the treasury account symbol business event type code. -
TreasuryAccountSymbolId: integer
(int64)
Title:
Treasury Account Symbol IDRead Only:trueUnique identifier for the treasury account symbol business event type code.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : fedTreasuryAccountSymbols-fedTASBusinessEventTypeCodes-fedTASBusinessEventTypeCodeDFF-item-response
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context SegmentMaximum Length:150Context Segment -
__FLEX_Context_DisplayValue: string
Title:
Context SegmentContext Segment -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
TasBetcMapId: integer
(int64)
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.
Nested Schema : fedTreasuryAccountSymbols-fedTreasuryAccountSymbolDFF-item-response
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context SegmentMaximum Length:150Context Segment -
__FLEX_Context_DisplayValue: string
Title:
Context SegmentContext Segment -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
TreasuryAccountSymbolId: integer
(int64)
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- fedTASBusinessEventTypeCodes
-
Parameters:
- TreasuryAccountSymbolId:
$request.path.TreasuryAccountSymbolId
The federal treasury account symbols business event type codes resource manages the business event type code references, or BETC references, for a treasury account symbol, or TAS. - TreasuryAccountSymbolId:
- fedTreasuryAccountSymbolDFF
-
Parameters:
- TreasuryAccountSymbolId:
$request.path.TreasuryAccountSymbolId
- TreasuryAccountSymbolId:
Examples
The following example shows how to create treasury account symbols by submitting a POST request on the REST resource using cURL.
curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -X POST -d <payload> https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/fedAccountSymbols
Example Request Payload
The following example shows the contents of the request body in JSON format:
{
"FederalAccountSymbol": "Fund for Rural America",
"AgencyIdentifier": "108",
"MainAccountCode": "0108",
"FedAccountSymbolId": 300100589623074,
"SubLevelPrefixCode": null,
"AllocationTransferAgency": null,
"AuthorityDuration": "Multiyear",
"BeginYearOfAvailability": "2017",
"EndingPeriodOfAvailability": "2018",
"SubAccountCode": "000",
"FinancingAccount": "Direct",
"ReportingType": "GTAS and Data Act Reportable",
"AllowPriorYearAccounting": "No",
"EndDate": null,
"ExpirationDate": "2018-09-30",
"CancellationDate": "2023-09-30",
"FundType": "General Fund 0000 - 3899",
"StartDate": "2016-10-01",
"CopyTAS": "No"
}
Example Response Body
The following example shows the contents of the response body in JSON format:
{
"TreasuryAccountSymbolId": 300100589623075,
"TreasuryAccountSymbol": "108170108.000",
"FederalAccountSymbol": "Fund for Rural America",
"AgencyType": "Internal",
"AgencyIdentifier": "108",
"MainAccountCode": "0108",
"FedAccountSymbolId": 300100589623074,
"SubLevelPrefixCode": null,
"AllocationTransferAgency": null,
"AuthorityDuration": "Multiyear",
"BeginYearOfAvailability": "2017",
"EndingPeriodOfAvailability": "2018",
"AvailabilityType": null,
"SubAccountCode": "000",
"FinancingAccount": "Direct",
"ReportingType": "GTAS and Data Act Reportable",
"AllowPriorYearAccounting": "No",
"EndDate": null,
"ExpirationDate": "2018-09-30",
"CancellationDate": "2023-09-30",
"FundType": "General Fund 0000 - 3899",
"StartDate": "2016-10-01",
"CopyTAS": "No",
"CreatedBy": "username",
"CreationDate": "2024-04-24T08:22:30.001+00:00",
"LastUpdateDate": "2024-04-24T08:22:30.325+00:00",
"LastUpdateLogin": "16207570CA3E5434E063426315AC3A53",
"LastUpdatedBy": "username",
"links": [
{
"rel": "self",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/fedTreasuryAccountSymbols/300100589623075",
"name": "fedTreasuryAccountSymbols",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
}
},
{
"rel": "canonical",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/fedTreasuryAccountSymbols/300100589623075",
"name": "fedTreasuryAccountSymbols",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/fedTreasuryAccountSymbols/300100589623075/child/fedTASBusinessEventTypeCodes",
"name": "fedTASBusinessEventTypeCodes",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/fedTreasuryAccountSymbols/300100589623075/child/fedTreasuryAccountSymbolDFF",
"name": "fedTreasuryAccountSymbolDFF",
"kind": "collection"
}
]
}