Update a business category

patch

/fscmRestApi/resources/11.13.18.05/publicSectorBusinessCategories/{publicSectorBusinessCategoriesUniqID}

Request

Path Parameters
  • 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>
Header Parameters
  • 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".
  • 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
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Business Subcategories
    Title: Business Subcategories
    Use 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.
  • Maximum Length: 25
    The value that will be displayed for business category.
  • Maximum Length: 100
    The long description value for business category.
  • Maximum Length: 1
    Indicates whether the business category is enabled. The default value is Yes.
Nested Schema : Business Subcategories
Type: array
Title: Business Subcategories
Use 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 : schema
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • 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".
  • 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.
Body ()
Root Schema : publicSectorBusinessCategories-item-response
Type: object
Show Source
  • Default Value: 1
    The agency identifier of the public sector entity to which this business category applies.
  • Maximum Length: 50
    The unique identifier for the business category.
  • Business Subcategories
    Title: Business Subcategories
    Use 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.
  • Maximum Length: 25
    The value that will be displayed for business category.
  • Maximum Length: 100
    The long description value for business category.
  • Maximum Length: 1
    Indicates whether the business category is enabled. The default value is Yes.
  • Links
Nested Schema : Business Subcategories
Type: array
Title: Business Subcategories
Use 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-response
Type: object
Show Source
Back to Top