Porta Plus 2 Web Services

<back to all web services

CustomerHuntGroup

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

HTTP + SOAP11

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

POST /soap11 HTTP/1.1 
Host: 7el.co 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: CustomerHuntGroup

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<CustomerHuntGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">
  <ContentId>0</ContentId>
  <FeatureName>String</FeatureName>
  <License>String</License>
  <AddExtensions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </AddExtensions>
  <DeleteExtensions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </DeleteExtensions>
  <EnableHuntgroup>false</EnableHuntgroup>
  <ExtensionRecordId>0</ExtensionRecordId>
  <HuntGroupRecordId>0</HuntGroupRecordId>
  <HuntKeepOriginalCli>String</HuntKeepOriginalCli>
  <HuntSequence>Order</HuntSequence>
  <Huntstop>String</Huntstop>
  <HuntstopAr xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </HuntstopAr>
  <IAccount>0</IAccount>
  <ICustomer>0</ICustomer>
  <IEnv>0</IEnv>
  <Id>String</Id>
  <Name>String</Name>
  <PickupAllowed>String</PickupAllowed>
  <PrimaryGroup>String</PrimaryGroup>
  <PrimaryGroupAr xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </PrimaryGroupAr>
  <RingDelay>String</RingDelay>
  <RingDelayAr xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </RingDelayAr>
  <RingTime>String</RingTime>
  <RingTimeAr xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>0</d2p1:int>
  </RingTimeAr>
  <ServicePassword>String</ServicePassword>
  <forGraphs>false</forGraphs>
  <fromDate>String</fromDate>
  <hashed_iAccount>String</hashed_iAccount>
  <i_c_group>0</i_c_group>
  <i_huntgroup>0</i_huntgroup>
  <wrapupCodes>false</wrapupCodes>
</CustomerHuntGroup>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<CustomerHuntGroupResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">
  <ContentId>0</ContentId>
  <FeatureName>String</FeatureName>
  <License>String</License>
  <AddedHuntgroup xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.Porta">
    <d2p1:ActivationDate>0001-01-01T00:00:00</d2p1:ActivationDate>
    <d2p1:IAccount>0</d2p1:IAccount>
    <d2p1:assigned_extensions>
      <d2p1:DBAssignedExtensionsInfo>
        <d2p1:IAccount>0</d2p1:IAccount>
        <d2p1:hunt_active>String</d2p1:hunt_active>
        <d2p1:hunt_delay>0</d2p1:hunt_delay>
        <d2p1:hunt_expire>0</d2p1:hunt_expire>
        <d2p1:hunt_order>0</d2p1:hunt_order>
        <d2p1:huntstop>String</d2p1:huntstop>
        <d2p1:i_c_ext>0</d2p1:i_c_ext>
        <d2p1:i_c_extSpecified>false</d2p1:i_c_extSpecified>
        <d2p1:i_cg_ext>0</d2p1:i_cg_ext>
        <d2p1:i_cg_extSpecified>false</d2p1:i_cg_extSpecified>
        <d2p1:id>String</d2p1:id>
        <d2p1:name>String</d2p1:name>
        <d2p1:primary_group>String</d2p1:primary_group>
        <d2p1:type>String</d2p1:type>
      </d2p1:DBAssignedExtensionsInfo>
    </d2p1:assigned_extensions>
    <d2p1:fullname>String</d2p1:fullname>
    <d2p1:hunt_active>String</d2p1:hunt_active>
    <d2p1:hunt_keep_original_cli>String</d2p1:hunt_keep_original_cli>
    <d2p1:hunt_sequence>String</d2p1:hunt_sequence>
    <d2p1:i_c_ext>0</d2p1:i_c_ext>
    <d2p1:i_c_group>0</d2p1:i_c_group>
    <d2p1:i_customer>0</d2p1:i_customer>
    <d2p1:i_customerSpecified>false</d2p1:i_customerSpecified>
    <d2p1:id>String</d2p1:id>
    <d2p1:name>String</d2p1:name>
    <d2p1:pickup_allowed>String</d2p1:pickup_allowed>
  </AddedHuntgroup>
  <HGInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.Soap.Client.Models">
    <d2p1:assigned_extensions xmlns:d3p1="http://schemas.datacontract.org/2004/07/Porta.SoapTest.Admin">
      <d3p1:AssignedExtensionsInfo>
        <d3p1:account_idField>String</d3p1:account_idField>
        <d3p1:hunt_delayField>0</d3p1:hunt_delayField>
        <d3p1:hunt_delayFieldSpecified>false</d3p1:hunt_delayFieldSpecified>
        <d3p1:hunt_expireField>0</d3p1:hunt_expireField>
        <d3p1:hunt_expireFieldSpecified>false</d3p1:hunt_expireFieldSpecified>
        <d3p1:hunt_orderField>0</d3p1:hunt_orderField>
        <d3p1:hunt_orderFieldSpecified>false</d3p1:hunt_orderFieldSpecified>
        <d3p1:huntstopField>String</d3p1:huntstopField>
        <d3p1:i_c_extField>0</d3p1:i_c_extField>
        <d3p1:i_c_extFieldSpecified>false</d3p1:i_c_extFieldSpecified>
        <d3p1:i_c_groupField>0</d3p1:i_c_groupField>
        <d3p1:i_c_groupFieldSpecified>false</d3p1:i_c_groupFieldSpecified>
        <d3p1:i_cg_extField>0</d3p1:i_cg_extField>
        <d3p1:i_cg_extFieldSpecified>false</d3p1:i_cg_extFieldSpecified>
        <d3p1:idField>String</d3p1:idField>
        <d3p1:nameField>String</d3p1:nameField>
        <d3p1:primary_groupField>String</d3p1:primary_groupField>
        <d3p1:typeField>String</d3p1:typeField>
      </d3p1:AssignedExtensionsInfo>
    </d2p1:assigned_extensions>
    <d2p1:hunt_delay>0</d2p1:hunt_delay>
    <d2p1:hunt_expire>0</d2p1:hunt_expire>
    <d2p1:hunt_keep_original_cli>String</d2p1:hunt_keep_original_cli>
    <d2p1:hunt_sequence>String</d2p1:hunt_sequence>
    <d2p1:huntstop>String</d2p1:huntstop>
    <d2p1:i_c_group>0</d2p1:i_c_group>
    <d2p1:i_customer>0</d2p1:i_customer>
    <d2p1:i_customerSpecified>false</d2p1:i_customerSpecified>
    <d2p1:id>String</d2p1:id>
    <d2p1:name>String</d2p1:name>
    <d2p1:pickup_allowed>String</d2p1:pickup_allowed>
    <d2p1:primary_group>String</d2p1:primary_group>
  </HGInfo>
  <HGInfoDeleted>false</HGInfoDeleted>
  <HGInfoLst xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.Porta">
    <d2p1:DBHGInfo>
      <d2p1:ActivationDate>0001-01-01T00:00:00</d2p1:ActivationDate>
      <d2p1:IAccount>0</d2p1:IAccount>
      <d2p1:assigned_extensions>
        <d2p1:DBAssignedExtensionsInfo>
          <d2p1:IAccount>0</d2p1:IAccount>
          <d2p1:hunt_active>String</d2p1:hunt_active>
          <d2p1:hunt_delay>0</d2p1:hunt_delay>
          <d2p1:hunt_expire>0</d2p1:hunt_expire>
          <d2p1:hunt_order>0</d2p1:hunt_order>
          <d2p1:huntstop>String</d2p1:huntstop>
          <d2p1:i_c_ext>0</d2p1:i_c_ext>
          <d2p1:i_c_extSpecified>false</d2p1:i_c_extSpecified>
          <d2p1:i_cg_ext>0</d2p1:i_cg_ext>
          <d2p1:i_cg_extSpecified>false</d2p1:i_cg_extSpecified>
          <d2p1:id>String</d2p1:id>
          <d2p1:name>String</d2p1:name>
          <d2p1:primary_group>String</d2p1:primary_group>
          <d2p1:type>String</d2p1:type>
        </d2p1:DBAssignedExtensionsInfo>
      </d2p1:assigned_extensions>
      <d2p1:fullname>String</d2p1:fullname>
      <d2p1:hunt_active>String</d2p1:hunt_active>
      <d2p1:hunt_keep_original_cli>String</d2p1:hunt_keep_original_cli>
      <d2p1:hunt_sequence>String</d2p1:hunt_sequence>
      <d2p1:i_c_ext>0</d2p1:i_c_ext>
      <d2p1:i_c_group>0</d2p1:i_c_group>
      <d2p1:i_customer>0</d2p1:i_customer>
      <d2p1:i_customerSpecified>false</d2p1:i_customerSpecified>
      <d2p1:id>String</d2p1:id>
      <d2p1:name>String</d2p1:name>
      <d2p1:pickup_allowed>String</d2p1:pickup_allowed>
    </d2p1:DBHGInfo>
  </HGInfoLst>
  <HuntGroupId>0</HuntGroupId>
  <lstSignInOut xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.API">
    <d2p1:Account_SignIn_SignOut>
      <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">0001-01-01T00:00:00</CreatedOn>
      <Id xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">0</Id>
      <RowVersion xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">0</RowVersion>
      <UpdatedOn xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models">0001-01-01T00:00:00</UpdatedOn>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:SignInTimeDT>0001-01-01T00:00:00</d2p1:SignInTimeDT>
      <d2p1:SignOutTimeDT>0001-01-01T00:00:00</d2p1:SignOutTimeDT>
      <d2p1:SigninTime>String</d2p1:SigninTime>
      <d2p1:SignoutTime>String</d2p1:SignoutTime>
      <d2p1:i_account>0</d2p1:i_account>
      <d2p1:i_c_group>0</d2p1:i_c_group>
      <d2p1:i_customer>0</d2p1:i_customer>
      <d2p1:i_env>0</d2p1:i_env>
      <d2p1:isActive>String</d2p1:isActive>
      <d2p1:name>String</d2p1:name>
    </d2p1:Account_SignIn_SignOut>
  </lstSignInOut>
  <updateHuntgroup>0</updateHuntgroup>
</CustomerHuntGroupResponse>

    </soap:Body>
</soap:Envelope>