Create an Assignment Favorite
post
/primeapi/restapi/assignmentFavorite
Send a request to this endpoint to create an assignment favorite. An application object will be created using the JSON data provided in the request body.
Request
Supported Media Types
- application/json
An assignement favorite object.
Root Schema : ApiEntityAssignmentFavorite
Type:
Show Source
object
-
applicationUser(optional):
integer(int64)
The unique identifier of a user.
-
assignment(optional):
integer(int64)
The unique identifier of an assignment.
-
assignmentFavoriteId(optional):
integer(int64)
The unique identifier of an assignment favorite.
-
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 : ApiEntityAssignmentFavorite
Type:
Show Source
object
-
applicationUser(optional):
integer(int64)
The unique identifier of a user.
-
assignment(optional):
integer(int64)
The unique identifier of an assignment.
-
assignmentFavoriteId(optional):
integer(int64)
The unique identifier of an assignment favorite.
-
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 Assignment Favorite service.