Create a department
post
/fscmRestApi/resources/11.13.18.05/publicSectorDepartments
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 : publicSectorDepartments-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int32)
Title:
Agency ID
The unique identifier of the agency associated with the department. Value is mandatory and is set programmatically based on the user's login. -
CreatedBy(optional):
string
Title:
Created By
Maximum Length:64
The user who created the department. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The date and time the department was created. -
DepartmentId(optional):
string
Title:
Department
Maximum Length:30
The unique identifier of the department. Identifies the financial entity or management unit that is responsible for an accounting transaction. Value is mandatory and is defined by the user during a create action. -
Description(optional):
string
Title:
Description
Maximum Length:100
The description of the department. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated Date
The date and time the department was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The user who last updated the department. -
links(optional):
array Items
Title:
Items
Link Relations -
ValidFromDate(optional):
string(date-time)
Title:
From Date
The first day the value may be used. -
ValidToDate(optional):
string(date-time)
Title:
To Date
The last day the value may be used.
Nested Schema : link
Type:
Show Source
object
-
href(optional):
string
Title:
hyperlink reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The 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 : publicSectorDepartments-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int32)
Title:
Agency ID
The unique identifier of the agency associated with the department. Value is mandatory and is set programmatically based on the user's login. -
CreatedBy(optional):
string
Title:
Created By
Maximum Length:64
The user who created the department. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The date and time the department was created. -
DepartmentId(optional):
string
Title:
Department
Maximum Length:30
The unique identifier of the department. Identifies the financial entity or management unit that is responsible for an accounting transaction. Value is mandatory and is defined by the user during a create action. -
Description(optional):
string
Title:
Description
Maximum Length:100
The description of the department. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated Date
The date and time the department was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The user who last updated the department. -
links(optional):
array Items
Title:
Items
Link Relations -
ValidFromDate(optional):
string(date-time)
Title:
From Date
The first day the value may be used. -
ValidToDate(optional):
string(date-time)
Title:
To Date
The last day the value may be used.
Nested Schema : link
Type:
Show Source
object
-
href(optional):
string
Title:
hyperlink reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The name of the relation to the resource instance. Example: self.