Next4Me
 All Classes Files Functions Variables
CmplxContextAndDetail
CmplxContextAndDetail.addEditContextAndDetail
ContextAndDetail nou:
REQ:
{
"method": "addEditContextAndDetail",
"entity": {
"IdContext": "0",
"IdTplContext": "1",
"Name": "Name",
"Description": "Description",
"ContextCondition": [
{
"IdContextCondition": "0",
"IdContext": "0",
"IdTplContextCondition": "1",
"Name": "Name",
"Description": "Description",
"ContextFactor": [
{
"IdContextFactor": "0",
"IdContextCondition": "0",
"IdTplContextFactor": "1",
"Description": "Description",
"Type": "Type",
"Function": "Function",
"Value": "Value"
}
]
}
]
}
}
RESP:
{
"resultId": 0,
"resultCode": "1"
}
Edit ContextAndDetail:
REQ:
{
"method": "addEditContextAndDetail",
"entity": {
"IdContext": "1",
"IdTplContext": "1",
"Name": "Name Editat",
"Description": "Description Editat",
"ContextCondition": [
{
"IdContextCondition": "2",
"IdContext": "1",
"IdTplContextCondition": "1",
"Name": "Name Editat",
"Description": "Description Editat",
"ContextFactor": [
{
"IdContextFactor": "1",
"IdContextCondition": "2",
"IdTplContextFactor": "1",
"Description": "Description Editat",
"Type": "Type Editat",
"Function": "Function Editat",
"Value": "Value Editat"
}
]
}
]
}
}
RESP:
{
"resultId": 0,
"resultCode": "1"
}
--------------------------------------------------------------------------------------------------------------
CmplxContextAndDetail.deleteContextAndDetail
Stergere Asset:
REQ:
{
"method": "deleteContextAndDetail",
"entity": {
"IdAsset": "1"
}
}
RESP:
{
"resultId": 0,
"resultCode": "Date Sterse"
}
--------------------------------------------------------------------------------------------------------------
CmplxContextAndDetail.getContextAndDetail
Listare informatii ContextAndDetail:
REQ:
{
"method": "getAsset",
"entity": {
"IdContext": "28",
"pageNo": "1",
"pageSize": "10",
"orderColumn": "IdContext",
"orderType": "DESC"
}
}
RESP:
{
"resultId": 0,
"resultCode": [
{
"IdContext": 28,
"IdTplContext": 0,
"Name": "Name",
"Description": "Description",
"IdUserAccount": 1,
"ContextCondition": [
{
"IdContextCondition": 23,
"IdContext": 28,
"IdTplContextCondition": 0,
"Name": "Name",
"Description": "Description",
"ContextFactors": [
{
"IdContextFactor": 14,
"IdContextCondition": 23,
"IdTplContextFactor": 0,
"Description": "Description",
"Type": "Type",
"Function": "Function",
"Value": "Value"
}
]
}
]
}
]
}
--------------------------------------------------------------------------------------------------------------