Porta Plus 2 Web Services

<back to all web services

CustomerHuntGroup

The following routes are available for this service:
GET/Huntgroupaccess/{IEnv}/{Id}/{ServicePassword}/{i_huntgroup}/{EnableHuntgroup}
GET/CustomerHuntgroupaccess/{License}/{ICustomer}/{Id}/{i_huntgroup}/{EnableHuntgroup}
GET/GetCustomerHuntGroups/{License}/{ICustomer}
GET/GetAccountHuntGroups/{License}/{IAccount}
GET/DeleteCustomerHuntGroup/{License}/{ICustomer}/{HuntGroupRecordId}/{ExtensionRecordId}
POST/AddUpdateCustomerHuntGroup
GET/togglehuntgroups/{hashed_iAccount}
GET/togglehuntgroups/{hashed_iAccount}/{i_huntgroup}
GET/getHuntgroupInfobyIAccount/{License}/{IAccount}/{fromDate}/{forGraphs}
GET/getHuntgroupExtension/{License}/{i_c_group}/{fromDate}/{forGraphs}
GET/ToggleExtensionStatus/{License}/{Id}/{IAccount}/{EnableHuntgroup}/{wrapupCodes}

To override the Content-type in your clients HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/CustomerHuntGroup HTTP/1.1 
Host: 7el.co 
Content-Type: text/csv
Content-Length: length

ICustomer,IAccount,forGraphs,Name,Id,hashed_iAccount,HuntGroupRecordId,ExtensionRecordId,HuntSequence,AddExtensions,DeleteExtensions,HuntKeepOriginalCli,PickupAllowed,RingDelay,RingTime,Huntstop,PrimaryGroup,RingDelayAr,RingTimeAr,HuntstopAr,PrimaryGroupAr,IEnv,ServicePassword,i_huntgroup,EnableHuntgroup,fromDate,i_c_group,wrapupCodes,License,ContentId,FeatureName
0,0,False,String,String,String,0,0,Order,[0],[0],String,String,String,String,String,String,[0],[0],[String],[String],0,String,0,False,String,0,False,String,0,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

HGInfo,HGInfoDeleted,HuntGroupId,AddedHuntgroup,HGInfoLst,updateHuntgroup,lstSignInOut,License,ContentId,FeatureName
"{i_c_group:0,i_customer:0,i_customerSpecified:False,name:String,hunt_sequence:String,hunt_keep_original_cli:String,id:String,assigned_extensions:[{i_cg_ext:0,i_cg_extSpecified:False,i_c_ext:0,i_c_extSpecified:False,i_c_group:0,i_c_groupSpecified:False,type:String,id:String,name:String,huntstop:String,primary_group:String,hunt_delay:0,hunt_delaySpecified:False,hunt_expire:0,hunt_expireSpecified:False,hunt_order:0,hunt_orderSpecified:False,account_id:String}],pickup_allowed:String,hunt_delay:0,hunt_expire:0,huntstop:String,primary_group:String}",False,0,"{i_c_group:0,ActivationDate:0001-01-01,i_customer:0,IAccount:0,i_customerSpecified:False,name:String,fullname:String,hunt_sequence:String,hunt_keep_original_cli:String,i_c_ext:0,hunt_active:String,id:String,pickup_allowed:String,assigned_extensions:[{i_cg_ext:0,i_cg_extSpecified:False,i_c_ext:0,i_c_extSpecified:False,type:String,id:String,name:String,hunt_order:0,hunt_delay:0,hunt_expire:0,hunt_active:String,huntstop:String,primary_group:String,IAccount:0}]}","[{i_c_group:0,ActivationDate:0001-01-01,i_customer:0,IAccount:0,i_customerSpecified:False,name:String,fullname:String,hunt_sequence:String,hunt_keep_original_cli:String,i_c_ext:0,hunt_active:String,id:String,pickup_allowed:String,assigned_extensions:[{i_cg_ext:0,i_cg_extSpecified:False,i_c_ext:0,i_c_extSpecified:False,type:String,id:String,name:String,hunt_order:0,hunt_delay:0,hunt_expire:0,hunt_active:String,huntstop:String,primary_group:String,IAccount:0}]}]",0,"[{Id:0,SigninTime:String,SignoutTime:String,i_account:0,i_customer:0,i_env:0,i_c_group:0,name:String,isActive:String,SignInTimeDT:0001-01-01,SignOutTimeDT:0001-01-01,CreatedOn:0001-01-01,UpdatedOn:0001-01-01,RowVersion:0}]",String,0,String