Update a NAICS code
patch
/fscmRestApi/resources/11.13.18.05/publicSectorNAICSCodes/{publicSectorNAICSCodesUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
publicSectorNAICSCodesUniqID: integer
This is the hash key of the attributes which make up the composite key--- AgencyId and NaicsCode ---for the NAICS Codes resource and used to uniquely identify an instance of NAICS Codes. The client should not generate the hash key value. Instead, the client should query on the NAICS Codes collection resource with a filter on the primary key values in order to navigate to a specific instance of NAICS Codes.
For example: publicSectorNAICSCodes?q=AgencyId=<value1>;NaicsCode=<value2>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorNAICSCodes-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
The agency identifier of the public sector entity to which the NAICS code applies.
-
Description(optional):
string
Title:
DescriptionMaximum Length:4000The long description value for a NAICS code. -
EnabledFlag(optional):
string
Title:
EnabledMaximum Length:1Indicates whether the NAICS code is enabled. The default value is true. -
IndustryTitle(optional):
string
Title:
Industry TitleMaximum Length:200The description value for a NAICS code. -
links(optional):
array Items
Title:
ItemsLink Relations -
NaicsCode(optional):
string
Title:
NAICS CodeMaximum Length:30The unique identifier for a NAICS code.
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 : publicSectorNAICSCodes-item
Type:
Show Source
object-
AgencyId(optional):
integer(int32)
The agency identifier of the public sector entity to which the NAICS code applies.
-
Description(optional):
string
Title:
DescriptionMaximum Length:4000The long description value for a NAICS code. -
EnabledFlag(optional):
string
Title:
EnabledMaximum Length:1Indicates whether the NAICS code is enabled. The default value is true. -
IndustryTitle(optional):
string
Title:
Industry TitleMaximum Length:200The description value for a NAICS code. -
links(optional):
array Items
Title:
ItemsLink Relations -
NaicsCode(optional):
string
Title:
NAICS CodeMaximum Length:30The unique identifier for a NAICS code.
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.