Update a code type
patch
/fscmRestApi/resources/11.13.18.05/publicSectorCodeTypes/{publicSectorCodeTypesUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
publicSectorCodeTypesUniqID: integer
This is the hash key of the attributes which make up the composite key--- CodeTypeId and AgencyId ---for the Code Types resource and used to uniquely identify an instance of Code Types. The client should not generate the hash key value. Instead, the client should query on the Code Types collection resource with a filter on the primary key values in order to navigate to a specific instance of Code Types.
For example: publicSectorCodeTypes?q=CodeTypeId=<value1>;AgencyId=<value2>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorCodeTypes-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int32)
The unique identifier for an agency that is associated with a code type.
-
CodeName(optional):
string
Title:
Code Name
Maximum Length:100
The name for a code type. -
CodeTypeId(optional):
string
Title:
Code Type ID
Maximum Length:30
The unique identifier for a code type. -
CreatedBy(optional):
string
Maximum Length:
64
The user who created the code type. -
CreationDate(optional):
string(date-time)
The date and time of the creation of the code type.
-
Description(optional):
string
Title:
Description
Maximum Length:250
The description of the code type. -
LastUpdateDate(optional):
string(date-time)
The date and time when the code type was last updated.
-
LastUpdatedBy(optional):
string
Maximum Length:
64
The user who last updated the code type. -
links(optional):
array Items
Title:
Items
Link Relations
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 : publicSectorCodeTypes-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int32)
The unique identifier for an agency that is associated with a code type.
-
CodeName(optional):
string
Title:
Code Name
Maximum Length:100
The name for a code type. -
CodeTypeId(optional):
string
Title:
Code Type ID
Maximum Length:30
The unique identifier for a code type. -
CreatedBy(optional):
string
Maximum Length:
64
The user who created the code type. -
CreationDate(optional):
string(date-time)
The date and time of the creation of the code type.
-
Description(optional):
string
Title:
Description
Maximum Length:250
The description of the code type. -
LastUpdateDate(optional):
string(date-time)
The date and time when the code type was last updated.
-
LastUpdatedBy(optional):
string
Maximum Length:
64
The user who last updated the code type. -
links(optional):
array Items
Title:
Items
Link Relations
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.