Create an Activity Favorite
post
/primeapi/restapi/activityFavorite
Send a request to this endpoint to create an activity favorite. An application object will be created using the JSON data provided in the request body.
Request
Supported Media Types
- application/json
An activity favorite object.
Root Schema : ApiEntityActivityFavorite
Type:
Show Source
object
-
activity(optional):
integer(int64)
Unique identifier of an activity.
-
activityFavoriteId(optional):
integer(int64)
The unique identifier of an activity favorite.
-
applicationUser(optional):
integer(int64)
Unique identifier of a user.
-
link(optional):
string(url)
Read Only:
true
-
uniqueName(optional):
string
-
updateDate(optional):
string(date-time)
Read Only:
true
Date when the record was last updated. Used for viewing and filtering records, obtained ONLY from GET calls, modified on and after a particular date. Not a part of POST response.
Response
Supported Media Types
- application/json
201 Response
The object was successfully created.
Root Schema : ApiEntityActivityFavorite
Type:
Show Source
object
-
activity(optional):
integer(int64)
Unique identifier of an activity.
-
activityFavoriteId(optional):
integer(int64)
The unique identifier of an activity favorite.
-
applicationUser(optional):
integer(int64)
Unique identifier of a user.
-
link(optional):
string(url)
Read Only:
true
-
uniqueName(optional):
string
-
updateDate(optional):
string(date-time)
Read Only:
true
Date when the record was last updated. Used for viewing and filtering records, obtained ONLY from GET calls, modified on and after a particular date. Not a part of POST response.
400 Response
Invalid input for the Activity Favorite service.