Services Api
Services
Description :
This API endpoint is used to get the login history of the user.
Endpoint URL :Request Parameters
| Request Parameter | Data Type | Default Value | Required | Description | Change Date | Change Description |
|---|
Request Example
Responses (JSON)
- Status Code 1: records fetched
- Description: records successfully fetched.
- 'status_code' (integer): 1
- 'message' (string): "records successfully fetched"
- 'total_records' (integer): "number or records fetched"
-
'data' (Array): "it contains array of object"
- 'id' (integer): "unique id of the record"
- 'cat' (string): "category of service"
- 'wallet_type' (string): "type of waller"
- 'status' (string): "status of service Active or not"
{"status_code": 0, "message": "records not found"}, 200
- Status Code 0: Error message
- Description: A specific error message.
- 'status_code' (integer): 0
- 'message' (string): "there is no data found"
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.