Next4Me
 All Classes Files Functions Variables
EntityType
EntityType.addEditEntityType
EntityType nou:
REQ:
{
"method": "addEditEntityType",
"entity": {
"IdEntityType": "0",
"Type": "O noua EntityType",
"IdParent": "1"
}
}
RESP:
{
"resultId": 0,
"resultCode": "25"
}
Edit EntityType:
REQ:
{
"method": "addEditEntityType",
"entity": {
"IdEntityType": "25",
"Type": "O noua EntityType Editat",
"IdParent": "1"
}
}
RESP:
{
"resultId": 0,
"resultCode": "25"
}
--------------------------------------------------------------------------------------------------------------
EntityType.deleteEntityType
Stergere EntityType:
REQ:
{
"method": "deleteEntityType",
"entity": {
"IdEntityType": "25"
}
}
RESP:
{
"resultId": 0,
"resultCode": "Date Sterse"
}
--------------------------------------------------------------------------------------------------------------
EntityType.getEntityTypeById
Listare informatii EntityTypeById:
REQ:
{
"method": "getEntityTypeById",
"entity": {
"IdEntityType": "25"
}
}
RESP:
{
"resultId": 0,
"resultCode": {
"IdEntityType": 25,
"Type": "O noua EntityType",
"IdParent": 1
}
}
--------------------------------------------------------------------------------------------------------------
EntityType.getEntityTypeByIdParent
Listare informatii EntityTypeByIdParent:
REQ:
{
"method": "getEntityTypeByIdParent",
"entity": {
"IdParent": 1
}
}
RESP:
{
"resultId": 0,
"resultCode": [
{
"IdEntityType": 25,
"Type": "O noua EntityType",
"IdParent": 1
}
]
}
--------------------------------------------------------------------------------------------------------------
EntityType.getEntityTypeByParentType
Listare informatii EntityTypeByParentType:
REQ:
{
"method": "getEntityTypeByParentType",
"entity": {
"Type": "Regiuni"
}
}
RESP:
{
"resultId": 0,
"resultCode": [
{
"IdEntityType": 25,
"Type": "O noua EntityType",
"IdParent": 1
}
]
}
--------------------------------------------------------------------------------------------------------------
EntityType.getEntityTypeByType
Listare informatii EntityTypeByType:
REQ:
{
"method": "getEntityTypeByType",
"entity": {
"Type": "Regiuni"
}
}
RESP:
{
"resultId": 0,
"resultCode": {
"IdEntityType": 1,
"Type": "Regiuni",
"IdParent": 0
}
}
--------------------------------------------------------------------------------------------------------------
EntityType.getEntityTypeTree
Listare informatii EntityTypeTree:
REQ:
{
"method": "getEntityTypeTree",
"entity": {
"IdParent": "0"
}
}
RESP:
[
{
"IdEntityType": 1,
"Type": "Regiuni",
"IdParent": 0,
"childs": [
{
"IdEntityType": 25,
"Type": "O noua EntityType",
"IdParent": 1,
"childs": [
]
}
]
},
{
"IdEntityType": 6,
"Type": "Address",
"IdParent": 0,
"childs": [
{
"IdEntityType": 9,
"Type": "Home Address",
"IdParent": 6,
"childs": [
]
},
{
"IdEntityType": 10,
"Type": "Office Address",
"IdParent": 6,
"childs": [
]
},
{
"IdEntityType": 20,
"Type": "Hipermarket Address",
"IdParent": 6,
"childs": [
]
},
{
"IdEntityType": 23,
"Type": "Address School",
"IdParent": 6,
"childs": [
]
}
]
},
{
"IdEntityType": 7,
"Type": "Emails",
"IdParent": 0,
"childs": [
{
"IdEntityType": 11,
"Type": "Home E-mail",
"IdParent": 7,
"childs": [
]
},
{
"IdEntityType": 12,
"Type": "Office E-mail",
"IdParent": 7,
"childs": [
]
},
{
"IdEntityType": 15,
"Type": "Personal E-mail",
"IdParent": 7,
"childs": [
]
}
]
},
{
"IdEntityType": 8,
"Type": "Phones",
"IdParent": 0,
"childs": [
{
"IdEntityType": 13,
"Type": "Home Phone",
"IdParent": 8,
"childs": [
]
},
{
"IdEntityType": 14,
"Type": "Office Phone",
"IdParent": 8,
"childs": [
]
},
{
"IdEntityType": 16,
"Type": "Mobile Phone",
"IdParent": 8,
"childs": [
]
}
]
},
{
"IdEntityType": 24,
"Type": "s",
"IdParent": 0,
"childs": [
]
}
]
--------------------------------------------------------------------------------------------------------------