Update a project type
patch
/fscmRestApi/resources/11.13.18.05/publicSectorProjectTypes/{publicSectorProjectTypesUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
publicSectorProjectTypesUniqID: integer
This is the hash key of the attributes which make up the composite key--- AgencyId and ProjectType ---for the Project Types resource and used to uniquely identify an instance of Project Types. The client should not generate the hash key value. Instead, the client should query on the Project Types collection resource with a filter on the primary key values in order to navigate to a specific instance of Project Types.
For example: publicSectorProjectTypes?q=AgencyId=<value1>;ProjectType=<value2>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorProjectTypes-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int32)
The unique identifier for a public sector agency.
-
CreatedBy(optional):
string
Title:
Created By
Maximum Length:64
The name of the user who created the project type. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The date when the project type was created. -
Description(optional):
string
Title:
Description
Maximum Length:100
The description of the project type. -
DocGroupId(optional):
string
Title:
Group ID
Maximum Length:30
The unique identifier for a document group. -
EnabledFlag(optional):
string
Title:
Enabled
Maximum Length:1
Indicates if the project type is available for the users to select while creating a project. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated Date
The date when the project type was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The name of the user who last updated the project type. -
links(optional):
array Items
Title:
Items
Link Relations -
LongDescription(optional):
string
Title:
Long Description
Maximum Length:1000
The long description of the project type. -
ProjectType(optional):
string
Title:
Project Type
Maximum Length:50
The unique name entered by the user to define the project type. Examples of the project type can be Residential and Commercial. -
RuleId(optional):
string
Title:
Rule ID
Maximum Length:20
The unique identifier of the auto numbering sequence for the project type.
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 : publicSectorProjectTypes-item
Type:
Show Source
object
-
AgencyId(optional):
integer(int32)
The unique identifier for a public sector agency.
-
CreatedBy(optional):
string
Title:
Created By
Maximum Length:64
The name of the user who created the project type. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The date when the project type was created. -
Description(optional):
string
Title:
Description
Maximum Length:100
The description of the project type. -
DocGroupId(optional):
string
Title:
Group ID
Maximum Length:30
The unique identifier for a document group. -
EnabledFlag(optional):
string
Title:
Enabled
Maximum Length:1
Indicates if the project type is available for the users to select while creating a project. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated Date
The date when the project type was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The name of the user who last updated the project type. -
links(optional):
array Items
Title:
Items
Link Relations -
LongDescription(optional):
string
Title:
Long Description
Maximum Length:1000
The long description of the project type. -
ProjectType(optional):
string
Title:
Project Type
Maximum Length:50
The unique name entered by the user to define the project type. Examples of the project type can be Residential and Commercial. -
RuleId(optional):
string
Title:
Rule ID
Maximum Length:20
The unique identifier of the auto numbering sequence for the project type.
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.