Update an activity
patch
/fscmRestApi/resources/11.13.18.05/publicSectorActivities/{publicSectorActivitiesUniqID}
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Path Parameters
-
publicSectorActivitiesUniqID: integer
This is the hash key of the attributes which make up the composite key--- ActivityId, AgencyId and Classification ---for the Activities resource and used to uniquely identify an instance of Activities. The client should not generate the hash key value. Instead, the client should query on the Activities collection resource with a filter on the primary key values in order to navigate to a specific instance of Activities.
For example: publicSectorActivities?q=ActivityId=<value1>;AgencyId=<value2>;Classification=<value3>
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorActivities-item
Type:
Show Source
object-
ActivityId(optional):
string
Maximum Length:
50The unique identifier of the activity. -
ActivityName(optional):
string
Maximum Length:
250The activity name. -
AgencyId(optional):
integer(int32)
The unique identifier of the agency associated with this activity.
-
Classification(optional):
string
Maximum Length:
50The applicable offering for the activity. -
Description(optional):
string
Maximum Length:
1000The activity description. -
EnabledFlag(optional):
boolean
Indicates whether the activity is enabled for use. Valid values are Y for enabled activity and N for disabled activity.
-
links(optional):
array Items
Title:
ItemsLink Relations -
ObjectVersionNumber(optional):
integer(int32)
The object version number used to implement optimistic locking. It is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried.
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 : publicSectorActivities-item
Type:
Show Source
object-
ActivityId(optional):
string
Maximum Length:
50The unique identifier of the activity. -
ActivityName(optional):
string
Maximum Length:
250The activity name. -
AgencyId(optional):
integer(int32)
The unique identifier of the agency associated with this activity.
-
Classification(optional):
string
Maximum Length:
50The applicable offering for the activity. -
Description(optional):
string
Maximum Length:
1000The activity description. -
EnabledFlag(optional):
boolean
Indicates whether the activity is enabled for use. Valid values are Y for enabled activity and N for disabled activity.
-
links(optional):
array Items
Title:
ItemsLink Relations -
ObjectVersionNumber(optional):
integer(int32)
The object version number used to implement optimistic locking. It is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried.
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.