Next4Me
 All Classes Files Functions Variables
Context
Context.addEditContext
Context nou:
REQ:
{
"method": "addEditContext",
"entity": {
"IdContext": 0,
"IdTplContext": 1,
"Name": "Un nou Context",
"Description": "Context Description"
}
}
RESP:
{
"resultId": 0,
"resultCode": "27"
}
Edit Context:
REQ:
{
"method": "addEditContext",
"entity": {
"IdContext": 27,
"IdTplContext": 1,
"Name": "Un nou Context Editat",
"Description": "Context Description Editat"
}
}
RESP:
{
"resultId": 0,
"resultCode": "27"
}
--------------------------------------------------------------------------------------------------------------
Context.deleteContext
Stergere Context:
REQ:
{
"method": "deleteContext",
"entity": {
"IdContext": "27"
}
}
RESP:
{
"resultId": 0,
"resultCode": "Date Sterse"
}
--------------------------------------------------------------------------------------------------------------
Context.getContext
Listare informatii Context:
REQ:
{
"method": "getContext",
"entity": {
"IdContext": "49",
"pageNo": "1",
"pageSize": "10",
"orderColumn": "IdContext",
"orderType": "DESC"
}
}
RESP:
{
"resultId": 0,
"resultCode": {
"pageNo": "1",
"pageSize": "10",
"pageCount": 1,
"orderColumn": "IdContext",
"orderType": "DESC",
"entity": [
{
"IdContext": 27,
"IdTplContext": 1,
"Name": "Un nou Context",
"Description": "Context Description",
"IdUserAccount": 1
}
]
}
}
--------------------------------------------------------------------------------------------------------------