Next4Me
 All Classes Files Functions Variables
Address
Address nou:
REQ:
{
"method": "addEditAddress",
"entity": {
"IdAddress": "0",
"Type": "Home Address",
"IdRegion": "4",
"Street": "Andrei Muresanu",
"Number": "17",
"Building": "-",
"Floor": "-",
"Appartment": "-",
"Lat": "26.12589",
"Long": "25.15894",
"IdContact": "1"
}
}
RESP:
{
"resultId": 0,
"resultCode": "16"
}
Edit Address:
REQ:
{
"method": "addEditAddress",
"entity": {
"IdAddress": "16",
"Type": "Home Address",
"IdRegion": "4",
"Street": "Andrei Muresanu",
"Number": "17",
"Building": "-",
"Floor": "-",
"Appartment": "-",
"Lat": "26.12589",
"Long": "25.15894",
"IdContact": "1"
}
}
RESP:
{
"resultId": 0,
"resultCode": "16"
}
--------------------------------------------------------------------------------------------------------------
Stergere Address:
REQ:
{
"method": "deleteAddress",
"entity": {
"IdAddress": "16"
}
}
RESP:
{
"resultId": 0,
"resultCode": "Date Sterse"
}
--------------------------------------------------------------------------------------------------------------
Listare informatii Address:
REQ:
{
"method": "getAddress",
"entity": {
"IdAddress": "16",
"IdContact": "0",
"pageNo": "1",
"pageSize": "10",
"orderColumn": "IdAddress",
"orderType": "DESC"
}
}
RESP:
{
"resultId": 0,
"resultCode": {
"pageNo": "1",
"pageSize": "10",
"pageCount": 1,
"orderColumn": "IdAddress",
"orderType": "DESC",
"entity": [
{
"IdAddress": 5,
"Type": "Home Address",
"IdRegion": 4,
"Street": "Andrei Muresanu",
"Number": "17",
"Building": "-",
"Floor": "-",
"Appartment": "-",
"Lat": 26.125890731812,
"Long": 25.158939361572,
"IdContact": 1
}
]
}
}
--------------------------------------------------------------------------------------------------------------