Next4Me
 All Classes Files Functions Variables
Application_Model_Email
Email.addEditEmail
Email nou:
REQ:
{
"method": "addEditEmail",
"entity": {
"IdEmail": 0,
"Value": "email@domeniu.com",
"Type": "Email Personal",
"IdContact": 5
}
}
RESP:
{
"resultId": 0,
"resultCode": "5"
}
Edit Email:
REQ:
{
"method": "addEditEmail",
"entity": {
"IdEmail": 5,
"Value": "email@domeniu.com",
"Type": "Email Personal",
"IdContact": 5
}
}
RESP:
{
"resultId": 0,
"resultCode": "5"
}
--------------------------------------------------------------------------------------------------------------
Email.deleteEmail
Stergere Email:
REQ:
{
"method": "deleteEmail",
"entity": {
"IdEmail": "5",
"IdContact": "0"
}
}
RESP:
{
"resultId": 0,
"resultCode": "Date Sterse"
}
--------------------------------------------------------------------------------------------------------------
Email.getEmail
Listare informatii Email:
REQ:
{
"method": "getEmail",
"entity": {
"IdEmail": "5",
"IdContact": "5",
"pageNo": "1",
"pageSize": "10",
"orderColumn": "IdEmail",
"orderType": "DESC"
}
}
RESP:
{
"resultId": 0,
"resultCode": {
"pageNo": "1",
"pageSize": "10",
"pageCount": 1,
"orderColumn": "IdEmail",
"orderType": "DESC",
"entity": [
{
"IdEmail": 5,
"Value": "email@domeniu.com",
"Type": "Email Personal",
"IdContact": 5
}
]
}
}
--------------------------------------------------------------------------------------------------------------