Next4Me
 All Classes Files Functions Variables
Phone
Phone.addEditPhone
Phone nou:
REQ:
{
"method": "addEditPhone",
"entity": {
"IdPhone": 0,
"Value": "0722222222222",
"Type": "Mobile",
"IdContact": 5
}
}
RESP:
{
"resultId": 0,
"resultCode": "5"
}
Edit Phone:
REQ:
{
"method": "addEditPhone",
"entity": {
"IdPhone": 5,
"Value": "0722222222222",
"Type": "Mobile",
"IdContact": 5
}
}
RESP:
{
"resultId": 0,
"resultCode": "5"
}
--------------------------------------------------------------------------------------------------------------
Phone.deletePhone
Stergere Phone:
REQ:
{
"method": "deletePhone",
"entity": {
"IdPhone": "5",
"IdContact": "5"
}
}
RESP:
{
"resultId": 0,
"resultCode": "Date Sterse"
}
--------------------------------------------------------------------------------------------------------------
Phone.getPhone
Listare informatii Phone:
REQ:
{
"method": "getPhone",
"entity": {
"IdPhone": "5",
"IdContact": "5",
"pageNo": "1",
"pageSize": "10",
"orderColumn": "IdPhone",
"orderType": "DESC"
}
}
RESP:
{
"resultId": 0,
"resultCode": {
"pageNo": "1",
"pageSize": "10",
"pageCount": 1,
"orderColumn": "IdPhone",
"orderType": "DESC",
"entity": [
{
"IdPhone": 5,
"Value": "0722222222222",
"Type": "Mobile",
"IdContact": 5
}
]
}
}
--------------------------------------------------------------------------------------------------------------