This API can be used to update session position by session ID. The first-time session default position will be 1000.
We are positioning the session to the top of the list, topSessionId will be passed as 0.
We are positioning the session at the bottom of the list that time we need to pass
topBottomSessionId as 0.
If we are putting the session in between some sessions, then we need to pass id
of the top session as topSessionId and id
of the bottom session as topBottomSessionId where we want to put that session.
This API can be used by authenticated user only, and it will require super admin /event admin /event staff level access. User need to pass id
, topSessionId
and topBottomSessionId
as path parameters.
Here is the description of response attributes, which returns to the form of JSON.
It will return a success "Session position changed successfully" message if API execute successfully.
Here is the possible error messages, which return if any condition gets failed or required data is missing for processing.
Error Code | Error Description |
---|---|
400 | The request could not be understood by the server due to malformed syntax. |
401 | You are not authorized to view the resource. |
403 | Accessing the resource you were trying to reach is forbidden. |
404 | The resource you were trying to reach is not found. |