Next4Me
 All Classes Files Functions Variables
TplActionTypeAlert
TplActionTypeAlert.addEditTplActionTypeAlert
TplActionTypeAlert nou:
REQ:
{
"method": "addEditTplActionTypeAlert",
"entity": {
"IdTplActionTypeAlert": 0,
"IdTplActionType": 3,
"AlertName": "Un nou AlertName",
"AlertChannel": "Un nou AlertChanel",
"AlertTargetType": "Un nou AlertTargetType",
"TimeBefore": "1"
}
}
RESP:
{
"resultId": 0,
"resultCode": "1"
}
Edit TplActionTypeAlert:
REQ:
{
"method": "addEditTplActionTypeAlert",
"entity": {
"IdTplActionTypeAlert": 1,
"IdTplActionType": 3,
"AlertName": "Un nou AlertName Editat",
"AlertChannel": "Un nou AlertChanel Editat",
"AlertTargetType": "Un nou AlertTargetType Editat",
"TimeBefore": "1"
}
}
RESP:
{
"resultId": 0,
"resultCode": "1"
}
--------------------------------------------------------------------------------------------------------------
TplActionTypeAlert.deleteTplActionTypeAlert
Stergere TplActionTypeAlert:
REQ:
{
"method": "deleteTplActionTypeAlert",
"entity": {
"IdTplActionTypeAlert": "1",
"IdTplActionType": "3"
}
}
RESP:
{
"resultId": 0,
"resultCode": "Date Sterse"
}
--------------------------------------------------------------------------------------------------------------
TplActionTypeAlert.getTplActionTypeAlert
Listare informatii TplActionTypeAlert:
REQ:
{
"method": "getTplActionTypeAlert",
"entity": {
"IdTplActionTypeAlert": "1",
"IdTplActionType": "3",
"pageNo": "1",
"pageSize": "10",
"orderColumn": "IdTplActionTypeAlert",
"orderType": "DESC"
}
}
RESP:
{
"resultId": 0,
"resultCode": {
"pageNo": "1",
"pageSize": "10",
"pageCount": 1,
"orderColumn": "IdTplActionTypeAlert",
"orderType": "DESC",
"entity": [
{
"IdTplActionTypeAlert": 1,
"IdTplActionType": 3,
"AlertName": "Un nou AlertName",
"AlertChannel": "Un nou AlertChanel",
"AlertTargetType": "Un nou AlertTargetType",
"TimeBefore": "1"
}
]
}
}
--------------------------------------------------------------------------------------------------------------