-
Notifications
You must be signed in to change notification settings - Fork 3
API Documentation
Pavan Wadawadagi edited this page Oct 20, 2020
·
13 revisions
Domain: hostname
BaseURL: /api/
API URL = hostname + BaseURL + API Endpoint
Content-type: application/json
Generic Response Template
{
"type": "type of object",
"status": "Failure\Success"
"payload": { // JSON of java entity object like product, user etc
}
}
Generic Error Response
Http Code: 500
Error Response
{
"type": "error",
"status": "Failure"
"payload": {
"errorCode": 500
"errorMessage": "Unexpected error occured"
}
}