Skip to main content

Update Single

POST 

/api/student/14

Update Student Entry

This endpoint allows you to update a student's entry in the system. The request is made via an HTTP POST to the specified URL.

Request Parameters

The request body should be in JSON format and include the following parameters:

  • path (string): The specific path for the operation, indicating the type of update being performed. In this case, it is set to "student/entry/update".
  • pg (string): The page or section of the application related to the update. Here, it is set to "form/student/admission".
  • student_name (string): The name of the student whose entry is being updated. For this example, it is "Noel Tata".

Expected Response

Upon successful execution of the request, the API will return a response with the following structure:

  • status (integer): Indicates the status of the request. A value of 0 typically signifies a successful operation.
  • message (string): A message providing additional context about the operation. In this case, it may be empty.
  • data (null): Represents the data returned from the operation. In this instance, it is null, indicating no additional data is provided.

Notes

  • Ensure that the student name and other parameters are correctly formatted as JSON strings.
  • The endpoint is designed to return a status code of 200 for successful requests. Check the status field in the response for further confirmation of the operation's success.

Request

Responses