Update one category hierarchy
patch
/fscmRestApi/resources/11.13.18.05/categoryHierarchies/{categoryHierarchiesUniqID}
Request
Path Parameters
-
categoryHierarchiesUniqID(required): string
This is the hash key of the attributes which make up the composite key for the Catalog Category Hierarchies resource and used to uniquely identify an instance of Catalog Category Hierarchies. The client should not generate the hash key value. Instead, the client should query on the Catalog Category Hierarchies collection resource in order to navigate to a specific instance of Catalog Category Hierarchies to get the hash key.
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.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
categoryAssignments: array
Category Assignments
Title:
Category AssignmentsDisplays all content types (smart forms or catalogs) assigned to a category in the View Category Assignments page. -
CategoryDescription: string
Title:
DescriptionMaximum Length:255Description of the category hierarchy. -
CategoryImageURL: string
Title:
Image URLMaximum Length:240URL that locates the image representing the category, if available. -
CategoryName: string
Title:
Category NameMaximum Length:255Name of the category hierarchy. -
FeaturedCategoryFlag: boolean
Maximum Length:
1Indicates whether the category is a top-level category featured on the Create Requisition home page. Valid values are - true (featured), false (not featured), null (value not set). Default is null.
Nested Schema : Category Assignments
Type:
arrayTitle:
Category AssignmentsDisplays all content types (smart forms or catalogs) assigned to a category in the View Category Assignments page.
Show Source
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 : categoryHierarchies-item-response
Type:
Show Source
object-
categoryAssignments: array
Category Assignments
Title:
Category AssignmentsDisplays all content types (smart forms or catalogs) assigned to a category in the View Category Assignments page. -
CategoryDescription: string
Title:
DescriptionMaximum Length:255Description of the category hierarchy. -
CategoryId: integer
(int64)
Value that uniquely identifies the category hierarchy.
-
CategoryImageURL: string
Title:
Image URLMaximum Length:240URL that locates the image representing the category, if available. -
CategoryName: string
Title:
Category NameMaximum Length:255Name of the category hierarchy. -
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the category hierarchy. -
CreationDate: string
(date-time)
Read Only:
trueDate and time when the category hierarchy was created. -
FeaturedCategoryFlag: boolean
Maximum Length:
1Indicates whether the category is a top-level category featured on the Create Requisition home page. Valid values are - true (featured), false (not featured), null (value not set). Default is null. -
HierarchyType: string
Maximum Length:
30The type of catalog hierarchy. Valid values are - SHOPPING, SUPPLIER, SOURCING. -
ItemCategoryFlag: boolean
Read Only:
trueMaximum Length:1Indicates whether the category is a purchasing category. Valid values are - true (purchasing category), false (not a purchasing category). Default is false for browsing categories and true for item categories. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time when the category hierarchy was most recently updated. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who most recently updated the category hierarchy. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ParentCategoryId: integer
(int64)
Value that uniquely identifies the parent category hierarchy.
-
ParentCategoryName: string
Title:
Parent Category NameRead Only:trueMaximum Length:255Name of the parent category hierarchy. -
SupplierEnabledFlag: boolean
Read Only:
trueMaximum Length:255Indicates whether the category is shown in the supplier flow. Valid values are - true (shown), false (not shown).
Nested Schema : Category Assignments
Type:
arrayTitle:
Category AssignmentsDisplays all content types (smart forms or catalogs) assigned to a category in the View Category Assignments page.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : categoryHierarchies-categoryAssignments-item-response
Type:
Show Source
object-
CategoryAssignmentId: integer
(int64)
Read Only:
trueUnique identifier for the category assignment. -
CategoryId: integer
Read Only:
trueUnique identifier for the category. -
ContentName: string
Title:
Content NameRead Only:trueMaximum Length:250Name of the content. -
ContentType: string
Title:
Content TypeRead Only:trueMaximum Length:80Type of content. Valid values are Smart Form, Informational Catalog, Punchout Catalog, and Local Catalog. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ProcurementBU: string
Read Only:
trueMaximum Length:240Name of the procurement business unit.
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.
Links
- categoryAssignments
-
Parameters:
- categoryHierarchiesUniqID:
$request.path.categoryHierarchiesUniqID
Displays all content types (smart forms or catalogs) assigned to a category in the View Category Assignments page. - categoryHierarchiesUniqID:
- insertItemCategories
-
Parameters:
- categoryHierarchiesUniqID:
$request.path.categoryHierarchiesUniqID
Inserts item categories to create a hierarchy. - categoryHierarchiesUniqID:
- moveCategory
-
Parameters:
- categoryHierarchiesUniqID:
$request.path.categoryHierarchiesUniqID
Moves a browsing or item category under another browsing category. - categoryHierarchiesUniqID: