Create a time expense category
post
/fscmRestApi/resources/11.13.18.05/publicSectorTimeExpenseCategories
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 : publicSectorTimeExpenseCategories-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
Title:
Agency IDThe identifier for the public sector agency associated with the time expense category. -
Category(optional):
string
Title:
CategoryMaximum Length:40The name for the time expense category. -
CategoryId(optional):
string
Title:
Category IDMaximum Length:30The unique identifier for the time expense category. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date the time expense category was created. -
Description(optional):
string
Title:
DescriptionMaximum Length:500The description for the time expense category. -
EnabledFlag(optional):
boolean
Title:
EnabledIndicates whether the time expense category is enabled in time entry type setup. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date the time expense category was last updated. -
links(optional):
array Items
Title:
ItemsLink Relations -
TimeExpenseSubcategory(optional):
array Time Expense Subcategories
Title:
Time Expense SubcategoriesTime Expense Subcategories associated with this Time Expense Category.
Nested Schema : Time Expense Subcategories
Type:
arrayTitle:
Time Expense SubcategoriesTime Expense Subcategories associated with this Time Expense Category.
Show Source
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.
Nested Schema : publicSectorTimeExpenseCategories-TimeExpenseSubcategory-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
Title:
Agency IDThe identifier for the public sector agency associated with the time expense subcategory. -
CategoryId(optional):
string
Title:
Category IDMaximum Length:30The unique identifier for the parent time expense category. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date the time expense subcategory was created. -
Description(optional):
string
Title:
DescriptionMaximum Length:500The description for the associated time expense subcategory. -
EnabledFlag(optional):
boolean
Title:
EnabledInidicates whether the time expense subcategory is enabled in time entry type setup. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date the time expense subcategory was last updated. -
links(optional):
array Items
Title:
ItemsLink Relations -
Subcategory(optional):
string
Title:
SubcategoryMaximum Length:40The name for the associated time expense subcategory. -
SubcategoryId(optional):
string
Title:
Subcategory IDMaximum Length:30The unique identifier for the associated time expense subcategory.
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 : publicSectorTimeExpenseCategories-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
Title:
Agency IDThe identifier for the public sector agency associated with the time expense category. -
Category(optional):
string
Title:
CategoryMaximum Length:40The name for the time expense category. -
CategoryId(optional):
string
Title:
Category IDMaximum Length:30The unique identifier for the time expense category. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date the time expense category was created. -
Description(optional):
string
Title:
DescriptionMaximum Length:500The description for the time expense category. -
EnabledFlag(optional):
boolean
Title:
EnabledIndicates whether the time expense category is enabled in time entry type setup. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date the time expense category was last updated. -
links(optional):
array Items
Title:
ItemsLink Relations -
TimeExpenseSubcategory(optional):
array Time Expense Subcategories
Title:
Time Expense SubcategoriesTime Expense Subcategories associated with this Time Expense Category.
Nested Schema : Time Expense Subcategories
Type:
arrayTitle:
Time Expense SubcategoriesTime Expense Subcategories associated with this Time Expense Category.
Show Source
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.
Nested Schema : publicSectorTimeExpenseCategories-TimeExpenseSubcategory-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
Title:
Agency IDThe identifier for the public sector agency associated with the time expense subcategory. -
CategoryId(optional):
string
Title:
Category IDMaximum Length:30The unique identifier for the parent time expense category. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date the time expense subcategory was created. -
Description(optional):
string
Title:
DescriptionMaximum Length:500The description for the associated time expense subcategory. -
EnabledFlag(optional):
boolean
Title:
EnabledInidicates whether the time expense subcategory is enabled in time entry type setup. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date the time expense subcategory was last updated. -
links(optional):
array Items
Title:
ItemsLink Relations -
Subcategory(optional):
string
Title:
SubcategoryMaximum Length:40The name for the associated time expense subcategory. -
SubcategoryId(optional):
string
Title:
Subcategory IDMaximum Length:30The unique identifier for the associated time expense subcategory.