Next4Me
 All Classes Files Functions Variables
CmplxMicroflowAndDetail
CmplxMicroflowAndDetail.addEditMicroflowAndDetail
MicroflowAndDetail nou:
REQ:
{
"method": "addEditMicroflowAndDetail",
"entity": {
"IdMicroflow": "0",
"IdAssetProperty": "21",
"IdTplMicroflow": "21",
"Name": "Name",
"MicroflowAction": [
{
"IdMicroflowAction": "0",
"IdMicroflow": "0",
"Name": "Name",
"Description": "Description",
"TimeActivation": "2012-01-01 01:00:00",
"TimeClosed": "2012-02-02 02:00:00",
"IdContext": "1",
"IdTplMicroflowAction": "1",
"MicroflowActionResult": [
{
"IdMicroflowActionResult": "0",
"IdMicroflowAction": "0",
"ResultName": "ResultName",
"Description": "Description",
"IsSuccess": "1",
"IdTplMicroflowActionResult": "1",
"IdMicroflowNextAction": "1"
}
],
"MicroflowActionProperty": [
{
"IdMicroflowActionProperty": "0",
"IdMicroflowAction": "0",
"IdTplActionTypeProperty": "1",
"PropertyString": "PropertyString",
"PropertyValue": "0.00",
"PropertyDate": "2012-05-05 04:04:50",
"PropertyType": "0",
"PropertyName": "m"
},
{
"IdMicroflowActionProperty": "0",
"IdMicroflowAction": "0",
"IdTplActionTypeProperty": "1",
"PropertyString": "PropertyString",
"PropertyValue": "10.20",
"PropertyDate": "2010-09-09 19:19:29",
"PropertyType": "1",
"PropertyName": "PropertyName"
}
],
"MicroflowActionAlert": [
{
"IdMicroflowActionAlert": "0",
"IdMicroflowAction": "0",
"IdTplActionTypeAlert": "2",
"AlertName": "AlertName",
"AlertChanel": "AlertChanel",
"AlertTarget": "AlertTarget",
"WhenTime": "2012-03-03 10:02:22"
}
],
"MicroflowNextAction": [
{
"IdMicroflowNextAction": "0",
"IdNextActionMf": "0",
"Name": "Name",
"Description": "Description",
"IsRecursive": "1",
"IdTplMicroflowNextAction": "1"
}
]
}
]
}
}
RESP:
{
"resultId": 0,
"resultCode": "23"
}
Edit MicroflowAndDetail:
REQ:
{
"method": "addEditMicroflowAndDetail",
"entity": {
"IdMicroflow": "23",
"IdAssetProperty": "21",
"IdTplMicroflow": "21",
"Name": "Name",
"MicroflowAction": [
{
"IdMicroflowAction": "21",
"IdMicroflow": "23",
"Name": "Name",
"Description": "Description",
"TimeActivation": "2012-01-01 01:00:00",
"TimeClosed": "2012-02-02 02:00:00",
"IdContext": "1",
"IdTplMicroflowAction": "1",
"MicroflowActionResult": [
{
"IdMicroflowActionResult": "12",
"IdMicroflowAction": "21",
"ResultName": "ResultName",
"Description": "Description",
"IsSuccess": "1",
"IdTplMicroflowActionResult": "1",
"IdMicroflowNextAction": "11"
}
],
"MicroflowActionProperty": [
{
"IdMicroflowActionProperty": "10",
"IdMicroflowAction": "21",
"IdTplActionTypeProperty": "1",
"PropertyString": "PropertyString",
"PropertyValue": "0.00",
"PropertyDate": "2012-05-05 04:04:50",
"PropertyType": "0",
"PropertyName": "m"
},
{
"IdMicroflowActionProperty": "50",
"IdMicroflowAction": "21",
"IdTplActionTypeProperty": "1",
"PropertyString": "PropertyString",
"PropertyValue": "10.20",
"PropertyDate": "2010-09-09 19:19:29",
"PropertyType": "1",
"PropertyName": "PropertyName"
}
],
"MicroflowActionAlert": [
{
"IdMicroflowActionAlert": "31",
"IdMicroflowAction": "21",
"IdTplActionTypeAlert": "2",
"AlertName": "AlertName",
"AlertChanel": "AlertChanel",
"AlertTarget": "AlertTarget",
"WhenTime": "2012-03-03 10:02:22"
}
],
"MicroflowNextAction": [
{
"IdMicroflowNextAction": "30",
"IdNextActionMf": "21",
"Name": "Name",
"Description": "Description",
"IsRecursive": "1",
"IdTplMicroflowNextAction": "1"
}
]
}
]
}
}
RESP:
{
"resultId": 0,
"resultCode": "23"
}
--------------------------------------------------------------------------------------------------------------
CmplxMicroflowAndDetail.deleteMicroflowAndDetail
Stergere MicroflowAndDetail:
REQ:
{
"method": "deleteMicroflowAndDetail",
"entity": {
"IdAsset": "23"
}
}
RESP:
{
"resultId": 0,
"resultCode": "Date Sterse"
}
--------------------------------------------------------------------------------------------------------------
CmplxMicroflowAndDetail.getMicroflowAndDetail
Listare informatii MicroflowAndDetail:
REQ:
{
"method": "getMicroflowAndDetail",
"entity": {
"IdMicroflow": "23",
"pageNo": "1",
"pageSize": "10",
"orderColumn": "IdMicroflow",
"orderType": "DESC"
}
}
RESP:
{
"resultId": 0,
"resultCode": [
{
"IdMicroflow": 23,
"IdAssetProperty": 21,
"IdTplMicroflow": 21,
"Name": "Name",
"MicroflowAction": [
{
"IdMicroflowAction": 36,
"IdMicroflow": 23,
"Name": "Name",
"Description": "Description",
"TimeActivation": "2012-01-01 01:00:00",
"TimeClosed": "2012-02-02 02:00:00",
"IdContext": 1,
"IdTplMicroflowAction": 1,
"MicroflowActionAlert": [
{
"IdMicroflowActionAlert": 25,
"IdMicroflowAction": 36,
"IdTplActionTypeAlert": 2,
"AlertName": "AlertName",
"AlertChanel": "AlertChanel",
"AlertTarget": "AlertTarget",
"WhenTime": "2012-03-03 10:02:22"
}
],
"MicroflowActionProperty": [
{
"IdMicroflowActionProperty": 35,
"IdMicroflowAction": 36,
"IdTplActionTypeProperty": 1,
"PropertyString": "PropertyString",
"PropertyValue": "10.20",
"PropertyDate": "2010-09-09 19:19:29"
},
{
"IdMicroflowActionProperty": 34,
"IdMicroflowAction": 36,
"IdTplActionTypeProperty": 1,
"PropertyString": "PropertyString",
"PropertyValue": "0.00",
"PropertyDate": "2012-05-05 04:04:50"
}
],
"MicroflowActionResult": [
{
"IdMicroflowActionResult": 13,
"IdMicroflowAction": 36,
"ResultName": "ResultName",
"Description": "Description",
"IsSucces": 1,
"IdTplMicroflowActionResult": 1,
"IdMicroflowNextAction": 1
}
],
"MicroflowNextAction": [
]
}
]
}
]
}
--------------------------------------------------------------------------------------------------------------
CmplxMicroflowAndDetail.getMicroflowAndDetailByAsset
Listare informatii MicroflowAndDetailByAsset:
REQ:
{
"method": "getMicroflowAndDetailByAsset",
"entity": {
"IdAssetProperty": "0",
"IdAsset": "0"
}
}
RESP:
{
"resultId": 0,
"resultCode": [
{
"IdAsset": 3,
"IdTplAsset": 1,
"Name": "mamam",
"IdUserAccount": 1,
"AssetProperty": [
]
},
{
"IdAsset": 2,
"IdTplAsset": 1,
"Name": "fffffffffffffff",
"IdUserAccount": 1,
"AssetProperty": [
{
"IdAssetProperty": 1,
"IdAsset": 2,
"Name": "2222",
"PropertyValue": "2222.00",
"PropertyString": "22222",
"PropertyDate": "2010-09-09 19:19:29",
"PropertyType": 2,
"Microflow": [
{
"IdMicroflow": 5,
"IdAssetProperty": 1,
"IdTplMicroflow": 21,
"Name": "Name",
"MicroflowAction": [
{
"IdMicroflowAction": 5,
"IdMicroflow": 5,
"Name": "Name",
"Description": "Description",
"TimeActivation": "2012-01-01 01:00:00",
"TimeClosed": "2012-02-02 02:00:00",
"IdContext": 1,
"IdTplMicroflowAction": 1,
"MicroflowActionAlert": [
],
"MicroflowActionProperty": [
{
"IdMicroflowActionProperty": 2,
"IdMicroflowAction": 5,
"IdTplActionTypeProperty": 1,
"PropertyString": "PropertyString",
"PropertyValue": "10.20",
"PropertyDate": "2010-09-09 19:19:29"
},
{
"IdMicroflowActionProperty": 1,
"IdMicroflowAction": 5,
"IdTplActionTypeProperty": 1,
"PropertyString": "PropertyString",
"PropertyValue": "0.00",
"PropertyDate": "2012-05-05 04:04:50"
}
],
"MicroflowActionResult": [
{
"IdMicroflowActionResult": 1,
"IdMicroflowAction": 5,
"ResultName": "ResultName",
"Description": "Description",
"IsSucces": 1,
"IdTplMicroflowActionResult": 1,
"IdMicroflowNextAction": 1
}
],
"MicroflowNextAction": [
]
}
]
}
]
}
]
},
{
"IdAsset": 1,
"IdTplAsset": 1,
"Name": "aaa",
"IdUserAccount": 1,
"AssetProperty": [
]
}
]
}
--------------------------------------------------------------------------------------------------------------
CmplxMicroflowAndDetail.getMicroflowAndDetailByAssetProperty
Listare informatii MicroflowAndDetailByAssetProperty:
REQ:
{
"method": "getMicroflowAndDetailByAssetProperty",
"entity": {
"IdAssetProperty": "0",
"IdAsset": "0"
}
}
RESP:
{
"resultId": 0,
"resultCode": [
{
"IdAssetPoperty": 1,
"IdAsset": 2,
"Name": "2222",
"PropertyValue": "2222.00",
"PropertyString": "22222",
"PropertyDate": "2010-09-09 19:19:29",
"PropertyType": 2,
"Microflow": [
{
"IdMicroflow": 5,
"IdAssetProperty": 1,
"IdTplMicroflow": 21,
"Name": "Name",
"MicroflowAction": [
{
"IdMicroflowAction": 5,
"IdMicroflow": 5,
"Name": "Name",
"Description": "Description",
"TimeActivation": "2012-01-01 01:00:00",
"TimeClosed": "2012-02-02 02:00:00",
"IdContext": 1,
"IdTplMicroflowAction": 1,
"MicroflowActionAlert": [
],
"MicroflowActionProperty": [
{
"IdMicroflowActionProperty": 2,
"IdMicroflowAction": 5,
"IdTplActionTypeProperty": 1,
"PropertyString": "PropertyString",
"PropertyValue": "10.20",
"PropertyDate": "2010-09-09 19:19:29"
},
{
"IdMicroflowActionProperty": 1,
"IdMicroflowAction": 5,
"IdTplActionTypeProperty": 1,
"PropertyString": "PropertyString",
"PropertyValue": "0.00",
"PropertyDate": "2012-05-05 04:04:50"
}
],
"MicroflowActionResult": [
{
"IdMicroflowActionResult": 1,
"IdMicroflowAction": 5,
"ResultName": "ResultName",
"Description": "Description",
"IsSucces": 1,
"IdTplMicroflowActionResult": 1,
"IdMicroflowNextAction": 1
}
],
"MicroflowNextAction": [
]
}
]
}
]
}
]
}