Service Check Post Fetch Api
Service Check Post
Description :
This API endpoint is used to fetch service check post.
Endpoint URL :Request Parameters
| Request Parameter | Data Type | Default Value | Required | Description | Change Date | Change Description |
|---|---|---|---|---|---|---|
| service_id | integer | Yes | Please pass the service id |
Request Example
Responses (JSON)
- status_code (integer): The status code of the response.
- message: Service access granted.
{"status_code": 2, "message": "service_id is required"}, 422
- status_code (integer): The status code of the response.
- message: A specific validation error message.
{"status_code": 0, "message": "service temporary down"}, 500
- status_code (integer): The status code of the response.
- message: A specific error message.
{"status_code": 3, "message": "Redirect to mobile number & email id verification page"}, 200
- status_code (integer): The status code of the response.
- message: Please redirect the user on otp screen.
{"status_code": 4, "message": "Redirect to service activation pagee"}, 200
- status_code (integer): The status code of the response.
- message: Please redirect the user on upgrade package screen.
{"status_code": 5, "message": "Redirect to kyc update page"}, 200
- status_code (integer): The status code of the response.
- message: Please redirect the user on profile update screen.
Note
- The API endpoint should be accessed via a POST request.
- Ensure that the request is properly validated and sanitized to prevent security vulnerabilities.
- Implement proper error handling on the client side to display user-friendly error messages based on the 'status_code' and 'message' fields in the response.