Next4Me
 All Classes Files Functions Variables
Application_Model_Channel
Channel.addEditChannel
Channel nou:
REQ:
{
"method": "addEditChannel",
"entity": {
"IdChannel": "0",
"IdChannelType": "2",
"ChannelName": "Un nou Channel",
"Target": "021.2525.62.63",
"Activ": "1"
}
}
RESP:
{
"resultId": 0,
"resultCode": "16"
}
Edit Channel:
REQ:
{
"method": "addEditChannel",
"entity": {
"IdChannel": "16",
"IdChannelType": "2",
"ChannelName": "Un nou Channel Editat",
"Target": "021.2525.62.63",
"Activ": "1"
}
}
RESP:
{
"resultId": 0,
"resultCode": "16"
}
--------------------------------------------------------------------------------------------------------------
Channel.deleteChannel
Stergere Channel:
REQ:
{
"method": "deleteChannel",
"entity": {
"IdAsset": "16"
}
}
RESP:
{
"resultId": 0,
"resultCode": "Date Sterse"
}
--------------------------------------------------------------------------------------------------------------
Channel.getChannel
Listare informatii Channel:
REQ:
{
"method": "getChannel",
"entity": {
"IdChannel": "16",
"IdChannelType": "2",
"pageNo": "1",
"pageSize": "10",
"orderColumn": "IdChannel",
"orderType": "DESC"
}
}
RESP:
{
"resultId": 0,
"resultCode": {
"pageNo": "1",
"pageSize": "10",
"pageCount": 1,
"orderColumn": "IdChannel",
"orderType": "DESC",
"entity": [
{
"IdChannel": "16",
"IdChannelType": "2",
"ChannelName": "Un nou Channel Editat",
"Target": "021.2525.62.63",
"Activ": "1"
}
]
}
}
--------------------------------------------------------------------------------------------------------------
Channel.getChannelCount
Listare informatii Channel:
REQ:
{
"method": "getChannelCount",
"entity": {
}
}
RESP:
{
"resultId": 0,
"resultCode": {
"NoOfChannel": "2"
}
}
--------------------------------------------------------------------------------------------------------------