Create an account
post
/fscmRestApi/resources/11.13.18.05/publicSectorAccounts
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 : publicSectorAccounts-item
Type:
Show Source
object-
Account(optional):
string
Title:
AccountMaximum Length:30The unique identifier of the account. Identifies the type of economic activity associated with an accounting transaction. Value is mandatory and is defined by the user during a create action. -
AccountType(optional):
string
Title:
Account TypeMaximum Length:1The type of account. A list of accepted values is defined in the lookup type ORA_PSC_CC_ACCOUNT_TYPE. -
AgencyId(optional):
integer(int32)
Title:
Agency IDThe unique identifier of the agency associated with the account. Value is mandatory. -
CreatedBy(optional):
string
Title:
Created ByMaximum Length:64The user who created the account. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date and time the account was created. -
Description(optional):
string
Title:
DescriptionMaximum Length:100The description of the account. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date and time the account was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated ByMaximum Length:64The user who last updated the account. -
links(optional):
array Items
Title:
ItemsLink Relations -
ValidFromDate(optional):
string(date-time)
Title:
From DateThe first day the value may be used. -
ValidToDate(optional):
string(date-time)
Title:
To DateThe last day the value may be used.
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 : publicSectorAccounts-item
Type:
Show Source
object-
Account(optional):
string
Title:
AccountMaximum Length:30The unique identifier of the account. Identifies the type of economic activity associated with an accounting transaction. Value is mandatory and is defined by the user during a create action. -
AccountType(optional):
string
Title:
Account TypeMaximum Length:1The type of account. A list of accepted values is defined in the lookup type ORA_PSC_CC_ACCOUNT_TYPE. -
AgencyId(optional):
integer(int32)
Title:
Agency IDThe unique identifier of the agency associated with the account. Value is mandatory. -
CreatedBy(optional):
string
Title:
Created ByMaximum Length:64The user who created the account. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date and time the account was created. -
Description(optional):
string
Title:
DescriptionMaximum Length:100The description of the account. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date and time the account was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated ByMaximum Length:64The user who last updated the account. -
links(optional):
array Items
Title:
ItemsLink Relations -
ValidFromDate(optional):
string(date-time)
Title:
From DateThe first day the value may be used. -
ValidToDate(optional):
string(date-time)
Title:
To DateThe last day the value may be used.
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.