Returns success message or error message.
-
URL
api/v1/plan/calculate
-
Method:
PUT
-
URL Params
Required:
None
-
Data Params
{
"planId" : 2,
"jsonArray" : [
{
"userId" : 1,
"lateState" : 0
},
{
"userId" : 2,
"lateState" : 2
}
]
}
- 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()
}