Next4Me
 All Classes Files Functions Variables
Application_Model_MicroflowActionAlert
MicroflowActionAlert.addEditMicroflowActionAlert
MicroflowActionAlert nou:
REQ:
{
"method": "addEditMicroflowActionAlert",
"entity": {
"IdMicroflowActionAlert": 0,
"IdMicroflowAction": 35,
"IdTplActionTypeAlert": 2,
"AlertName": "O noua Alerta",
"AlertChannel": "Canalul de Alerta",
"AlertTarget": "Telefon",
"WhenTime": "2012-03-03 10:02:22",
"IdChannel": "2"
}
}
RESP:
{
"resultId": 0,
"resultCode": "24"
}
Edit MicroflowActionAlert:
REQ:
{
"method": "addEditMicroflowActionAlert",
"entity": {
"IdMicroflowActionAlert": 24,
"IdMicroflowAction": 35,
"IdTplActionTypeAlert": 2,
"AlertName": "O noua Alerta Editat",
"AlertChannel": "Canalul de Alerta Editat",
"AlertTarget": "Telefon Editat",
"WhenTime": "2012-03-03 10:02:22",
"IdChannel": "2"
}
}
RESP:
{
"resultId": 0,
"resultCode": "24"
}
--------------------------------------------------------------------------------------------------------------
MicroflowActionAlert.deleteMicroflowActionAlert
Stergere MicroflowActionAlert:
REQ:
{
"method": "deleteMicroflowActionAlert",
"entity": {
"IdMicroflowActionAlert": "24",
"IdMicroflowAction": "35"
}
}
RESP:
{
"resultId": 0,
"resultCode": "Date Sterse"
}
--------------------------------------------------------------------------------------------------------------
MicroflowActionAlert.getMicroflowActionAlert
Listare informatii MicroflowActionAlert:
REQ:
{
"method": "getMicroflowActionAlert",
"entity": {
"IdMicroflowActionAlert": "24",
"IdMicroflowAction": "35",
"pageNo": "1",
"pageSize": "10",
"orderColumn": "IdMicroflowActionAlert",
"orderType": "DESC"
}
}
RESP:
{
"resultId": 0,
"resultCode": {
"pageNo": "1",
"pageSize": "10",
"pageCount": 1,
"orderColumn": "IdMicroflowActionAlert",
"orderType": "DESC",
"entity": [
{
"IdMicroflowActionAlert": 24,
"IdMicroflowAction": 35,
"IdTplActionTypeAlert": 2,
"AlertName": "O noua Alerta",
"AlertChannel": "Canalul de Alerta",
"AlertTarget": "Telefon",
"WhenTime": "2012-03-03 10:02:22",
"IdChannel": "2"
}
]
}
}
--------------------------------------------------------------------------------------------------------------