Update a business category
patch
/fscmRestApi/resources/11.13.18.05/publicSectorBusinessCategories/{publicSectorBusinessCategoriesUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
publicSectorBusinessCategoriesUniqID: integer
This is the hash key of the attributes which make up the composite key--- AgencyId and BusCategory ---for the Business Categories resource and used to uniquely identify an instance of Business Categories. The client should not generate the hash key value. Instead, the client should query on the Business Categories collection resource with a filter on the primary key values in order to navigate to a specific instance of Business Categories.
For example: publicSectorBusinessCategories?q=AgencyId=<value1>;BusCategory=<value2>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorBusinessCategories-item
Type:
Show Source
object-
AgencyId(optional):
integer(int64)
The agency identifier of the public sector entity to which this business category applies.
-
BusCategory(optional):
string
Maximum Length:
50The unique identifier for the business category. -
BusinessSubcategory(optional):
array Business Subcategories
Title:
Business SubcategoriesUse the business subcategories resource to view, update, create, and delete business subcategories. A business subcategory is used to specify the subcategory of a business category of a business entity. -
Category(optional):
string
Maximum Length:
25The value that will be displayed for business category. -
Description(optional):
string
Maximum Length:
100The long description value for business category. -
EnabledFlag(optional):
string
Maximum Length:
1Indicates whether the business category is enabled. The default value is Yes. -
links(optional):
array Items
Title:
ItemsLink Relations
Nested Schema : Business Subcategories
Type:
arrayTitle:
Business SubcategoriesUse the business subcategories resource to view, update, create, and delete business subcategories. A business subcategory is used to specify the subcategory of a business category of a business entity.
Show Source
Nested Schema : publicSectorBusinessCategories-BusinessSubcategory-item
Type:
Show Source
object-
AgencyId(optional):
integer(int64)
The agency identifier of the public sector entity to which this business subcategory applies.
-
BusCategory(optional):
string
Maximum Length:
50The unique identifier for the business category. -
BusSubCategory(optional):
string
Maximum Length:
50The unique identifier for the business subcategory. -
Description(optional):
string
Maximum Length:
100The long description value for business subcategory. -
EnabledFlag(optional):
string
Maximum Length:
1Indicates whether the business subcategory is enabled. The default value is Yes. -
links(optional):
array Items
Title:
ItemsLink Relations -
Subcategory(optional):
string
Maximum Length:
25The value that will be displayed for business subcategory.
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 : publicSectorBusinessCategories-item
Type:
Show Source
object-
AgencyId(optional):
integer(int64)
The agency identifier of the public sector entity to which this business category applies.
-
BusCategory(optional):
string
Maximum Length:
50The unique identifier for the business category. -
BusinessSubcategory(optional):
array Business Subcategories
Title:
Business SubcategoriesUse the business subcategories resource to view, update, create, and delete business subcategories. A business subcategory is used to specify the subcategory of a business category of a business entity. -
Category(optional):
string
Maximum Length:
25The value that will be displayed for business category. -
Description(optional):
string
Maximum Length:
100The long description value for business category. -
EnabledFlag(optional):
string
Maximum Length:
1Indicates whether the business category is enabled. The default value is Yes. -
links(optional):
array Items
Title:
ItemsLink Relations
Nested Schema : Business Subcategories
Type:
arrayTitle:
Business SubcategoriesUse the business subcategories resource to view, update, create, and delete business subcategories. A business subcategory is used to specify the subcategory of a business category of a business entity.
Show Source
Nested Schema : publicSectorBusinessCategories-BusinessSubcategory-item
Type:
Show Source
object-
AgencyId(optional):
integer(int64)
The agency identifier of the public sector entity to which this business subcategory applies.
-
BusCategory(optional):
string
Maximum Length:
50The unique identifier for the business category. -
BusSubCategory(optional):
string
Maximum Length:
50The unique identifier for the business subcategory. -
Description(optional):
string
Maximum Length:
100The long description value for business subcategory. -
EnabledFlag(optional):
string
Maximum Length:
1Indicates whether the business subcategory is enabled. The default value is Yes. -
links(optional):
array Items
Title:
ItemsLink Relations -
Subcategory(optional):
string
Maximum Length:
25The value that will be displayed for business subcategory.
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.