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:
Description
Maximum Length:4000
The long description value for a NAICS code. -
EnabledFlag(optional):
string
Title:
Enabled
Maximum Length:1
Indicates whether the NAICS code is enabled. The default value is true. -
IndustryTitle(optional):
string
Title:
Industry Title
Maximum Length:200
The description value for a NAICS code. -
links(optional):
array Items
Title:
Items
Link Relations -
NaicsCode(optional):
string
Title:
NAICS Code
Maximum Length:30
The unique identifier for a NAICS code.
Nested Schema : link
Type:
Show Source
object
-
href(optional):
string
Title:
hyperlink reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The 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:
Description
Maximum Length:4000
The long description value for a NAICS code. -
EnabledFlag(optional):
string
Title:
Enabled
Maximum Length:1
Indicates whether the NAICS code is enabled. The default value is true. -
IndustryTitle(optional):
string
Title:
Industry Title
Maximum Length:200
The description value for a NAICS code. -
links(optional):
array Items
Title:
Items
Link Relations -
NaicsCode(optional):
string
Title:
NAICS Code
Maximum Length:30
The unique identifier for a NAICS code.
Nested Schema : link
Type:
Show Source
object
-
href(optional):
string
Title:
hyperlink reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The name of the relation to the resource instance. Example: self.