Batch Create Activity Favorites
post
/api/restapi/activityFavorite/batch
Send a request to this endpoint to create one or more activity favorites. An application object will be created for each JSON object provided in the request body.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : List<ApiEntityActivityFavoriteInput>
Type:
array
Title:
Show Source
List<ApiEntityActivityFavoriteInput>
-
Array of:
object ApiEntityActivityFavoriteInput
Title:
ApiEntityActivityFavoriteInput
This entity represents a ActivityFavorite object, a unique ActivityFavorite object can be identified by the following combinations of the fields.- activityFavoriteId
- activity,applicationUser
- activityCode,projectCode,workspaceCode,applicationUser
- activity,userName
- activityCode,projectCode,workspaceCode,userName
Nested Schema : ApiEntityActivityFavoriteInput
Type:
object
Title:
ApiEntityActivityFavoriteInput
This entity represents a ActivityFavorite object, a unique ActivityFavorite object can be identified by the following combinations of the fields.
Show Source
- activityFavoriteId
- activity,applicationUser
- activityCode,projectCode,workspaceCode,applicationUser
- activity,userName
- activityCode,projectCode,workspaceCode,userName
-
activity(required): integer
(int64)
The unique identifier for the activity.The activity object can also be identified by its unique criteria.
-
activityCode: string
Minimum Length:
0
Maximum Length:60
The user-specified identifier of the activity. -
activityFavoriteId: integer
(int64)
The unique identifier of an activity favorite.
-
applicationUser(required): integer
(int64)
Unique identifier of a user.
-
link: string(url)Read Only:true
Deprecated. As of 24.5.The self-link to the object. This field is populated only in the responses generated by the batch create APIs. -
projectCode: string
Minimum Length:
1
Maximum Length:60
The unique identifier for a project set by the user who created the project. -
updateDate: string(date-time)Read Only:true
Deprecated. As of 24.5.Date when the record was last updated. -
userName: string
Maximum Length:
255
The username a user uses to log in to the system. -
workspaceCode: string
Minimum Length:
0
Maximum Length:60
The user-specified identifier of a workspace.
Examples
Back to Top
Response
Supported Media Types
- application/json
201 Response
The object was successfully created.
Root Schema : List<ApiEntityActivityFavorite>
Type:
array
Title:
Show Source
List<ApiEntityActivityFavorite>
-
Array of:
object ApiEntityActivityFavorite
Title:
ApiEntityActivityFavorite
Nested Schema : ApiEntityActivityFavorite
Type:
object
Title:
Show Source
ApiEntityActivityFavorite
-
activity: integer
(int64)
The unique identifier for the activity.The activity object can also be identified by its unique criteria.
-
activityCode: string
Minimum Length:
0
Maximum Length:60
The user-specified identifier of the activity. -
activityFavoriteId: integer
(int64)
The unique identifier of an activity favorite.
-
applicationUser: integer
(int64)
Unique identifier of a user.
-
link: string
(url)
The self-link to the object. This field is populated only in the responses generated by the batch create APIs.
-
projectCode: string
Minimum Length:
1
Maximum Length:60
The unique identifier for a project set by the user who created the project. -
updateDate: string
(date-time)
Date when the record was last updated.
-
userName: string
Maximum Length:
255
The username a user uses to log in to the system. -
workspaceCode: string
Minimum Length:
0
Maximum Length:60
The user-specified identifier of a workspace.
400 Response
Invalid input for the Activity Favorite service.