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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

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

{"ICustomer":0,"IAccount":0,"forGraphs":false,"Name":"String","Id":"String","hashed_iAccount":"String","HuntGroupRecordId":0,"ExtensionRecordId":0,"HuntSequence":"Order","AddExtensions":[0],"DeleteExtensions":[0],"HuntKeepOriginalCli":"String","PickupAllowed":"String","RingDelay":"String","RingTime":"String","Huntstop":"String","PrimaryGroup":"String","RingDelayAr":[0],"RingTimeAr":[0],"HuntstopAr":["String"],"PrimaryGroupAr":["String"],"IEnv":0,"ServicePassword":"String","i_huntgroup":0,"EnableHuntgroup":false,"fromDate":"String","i_c_group":0,"wrapupCodes":false,"License":"String","ContentId":0,"FeatureName":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"HGInfo":{"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"},"HGInfoDeleted":false,"HuntGroupId":0,"AddedHuntgroup":{"i_c_group":0,"ActivationDate":"\/Date(-62135596800000-0000)\/","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}]},"HGInfoLst":[{"i_c_group":0,"ActivationDate":"\/Date(-62135596800000-0000)\/","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}]}],"updateHuntgroup":0,"lstSignInOut":[{"Id":0,"SigninTime":"String","SignoutTime":"String","i_account":0,"i_customer":0,"i_env":0,"i_c_group":0,"name":"String","isActive":"String","SignInTimeDT":"\/Date(-62135596800000-0000)\/","SignOutTimeDT":"\/Date(-62135596800000-0000)\/","CreatedOn":"\/Date(-62135596800000-0000)\/","UpdatedOn":"\/Date(-62135596800000-0000)\/","RowVersion":0}],"License":"String","ContentId":0,"FeatureName":"String"}