Fórum
JSON Rest web service
syed ziaula huq, modificado 7 Anos atrás.
JSON Rest web service
New Member Postagens: 4 Data de Entrada: 07/05/16 Postagens Recentes
Here is my requirement to add interval time n number of times to database.i have two tables one is reminder and another is reminder_time .
can any body tell howw to staored in both the tables with n-number of interval time i have to store in bulk amount for notificationTime
JSON Request Structure
{
"token": "sd33434@!2323dwdeeewewew4343434",
"medicationId": "2008",
"startDate": "2016-01-01",
"notificationTime": [{
"time": "9:30"
}, {
"time": "21:30"
}]
}
JSON Response Structure
{
"responseCode": "200",
"responseMessage": "Medication reminder addedd Successfully",
"responseData": {}
}
can any body tell howw to staored in both the tables with n-number of interval time i have to store in bulk amount for notificationTime
JSON Request Structure
{
"token": "sd33434@!2323dwdeeewewew4343434",
"medicationId": "2008",
"startDate": "2016-01-01",
"notificationTime": [{
"time": "9:30"
}, {
"time": "21:30"
}]
}
JSON Response Structure
{
"responseCode": "200",
"responseMessage": "Medication reminder addedd Successfully",
"responseData": {}
}