Create an activity
post
/fscmRestApi/resources/11.13.18.05/publicSectorActivities
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
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:
50
The unique identifier of the activity. -
ActivityName(optional):
string
Maximum Length:
250
The activity name. -
AgencyId(optional):
integer(int32)
The unique identifier of the agency associated with this activity.
-
Classification(optional):
string
Maximum Length:
50
The applicable offering for the activity. -
Description(optional):
string
Maximum Length:
1000
The 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:
Items
Link 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 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 : publicSectorActivities-item
Type:
Show Source
object
-
ActivityId(optional):
string
Maximum Length:
50
The unique identifier of the activity. -
ActivityName(optional):
string
Maximum Length:
250
The activity name. -
AgencyId(optional):
integer(int32)
The unique identifier of the agency associated with this activity.
-
Classification(optional):
string
Maximum Length:
50
The applicable offering for the activity. -
Description(optional):
string
Maximum Length:
1000
The 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:
Items
Link 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 reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The name of the relation to the resource instance. Example: self.