Batch Create Assignment Favorites
post
/primeapi/restapi/assignmentFavorite/batch
Send a request to this endpoint to create one or more assignment favorites. An application object will be created for each JSON object provided in the request body.
Request
Supported Media Types
- application/json
One or more assignment favorite objects.
Root Schema : List<ApiEntityAssignmentFavorite>
Type:
array
Title:
Show Source
List<ApiEntityAssignmentFavorite>
Nested 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.
Nested 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.