Returns success message or error message.
-
URL
api/v1/plan/create
-
Method:
POST
-
URL Params
Required: None
-
Data Params
{
"admin" : adminUserId,
"deposit" : deposit,
"latePercent" : latePercent(0-100),
"absentPercent" : absentPercent(0-100),
"title" : title,
"location" : location,
"detailLocation" : detailLocation,
"date" : date,
"done" : false or true
}
- Success Response:
{
"status" : 200,
"data" : true,
"message" : "Success"
}
- Error Response:
{
"status" : 400,
"data" : NULL,
"message" : exception.getMessage()
}
OR
{
"status" : 500,
"data" : NULL,
"message" :exception.getMessage()
}