GET SessionRegenerationTypes API Version 1

Updated on 2016-02-26
Current Version: Version 1
Deprecated Version: NA
Requests Allowed: GET&SOAP


Summary:

Returns an array of session regeneration types


Resource/WSDL Page:

http://<your_domain_here>/api/1/get.asmx?op=SessionRegenerationTypes


Parameters

api_key
Required
Type: STRING

Must be a valid API key (existing and not expired) 

Example Values: RUxep4nIQQmSAFn4JFECgOMdvJLeocp

 **Note all optional parameters still need to be passed through in the actual call. These parameters do not need a value (therefore you can use a null value). 

 

Example Request

GET

http://demo.cakemarketing.com/api/1/get.asmx/SessionRegenerationTypes?api_key=ej7Cjys7pnJzSiMzsgzyth1u3d7PdXn


 

Sample XML Response:

    

<get_session_regeneration_types_response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://cakemarketing.com/api/1/">
<success>true</success>
<row_count>15</row_count>
<session_regeneration_types>
<session_regeneration_type>
<session_regeneration_type_id xmlns="API:id_name_store">1</session_regeneration_type_id>
<session_regeneration_type_name xmlns="API:id_name_store">IP Only</session_regeneration_type_name>
</session_regeneration_type>
<session_regeneration_type>
<session_regeneration_type_id xmlns="API:id_name_store">2</session_regeneration_type_id>
<session_regeneration_type_name xmlns="API:id_name_store">IP + User Agent</session_regeneration_type_name>
</session_regeneration_type>
<session_regeneration_type>
<session_regeneration_type_id xmlns="API:id_name_store">3</session_regeneration_type_id>
<session_regeneration_type_name xmlns="API:id_name_store">IP + Sub ID 2</session_regeneration_type_name>
</session_regeneration_type>
<session_regeneration_type>
<session_regeneration_type_id xmlns="API:id_name_store">4</session_regeneration_type_id>
<session_regeneration_type_name xmlns="API:id_name_store">IP + Sub ID 3</session_regeneration_type_name>
</session_regeneration_type>
<session_regeneration_type>
<session_regeneration_type_id xmlns="API:id_name_store">5</session_regeneration_type_id>
<session_regeneration_type_name xmlns="API:id_name_store">IP + Sub ID 4</session_regeneration_type_name>
</session_regeneration_type>
<session_regeneration_type>
<session_regeneration_type_id xmlns="API:id_name_store">6</session_regeneration_type_id>
<session_regeneration_type_name xmlns="API:id_name_store">IP + Sub ID 5</session_regeneration_type_name>
</session_regeneration_type>
<session_regeneration_type>
<session_regeneration_type_id xmlns="API:id_name_store">7</session_regeneration_type_id>
<session_regeneration_type_name xmlns="API:id_name_store">Sub ID 2 Only</session_regeneration_type_name>
</session_regeneration_type>
<session_regeneration_type>
<session_regeneration_type_id xmlns="API:id_name_store">8</session_regeneration_type_id>
<session_regeneration_type_name xmlns="API:id_name_store">Sub ID 3 Only</session_regeneration_type_name>
</session_regeneration_type>
<session_regeneration_type>
<session_regeneration_type_id xmlns="API:id_name_store">9</session_regeneration_type_id>
<session_regeneration_type_name xmlns="API:id_name_store">Sub ID 4 Only</session_regeneration_type_name>
</session_regeneration_type>
<session_regeneration_type>
<session_regeneration_type_id xmlns="API:id_name_store">10</session_regeneration_type_id>
<session_regeneration_type_name xmlns="API:id_name_store">Sub ID 5 Only</session_regeneration_type_name>
</session_regeneration_type>
<session_regeneration_type>
<session_regeneration_type_id xmlns="API:id_name_store">11</session_regeneration_type_id>
<session_regeneration_type_name xmlns="API:id_name_store">Sub ID 5 Only Fallback to IP Only</session_regeneration_type_name>
</session_regeneration_type>
<session_regeneration_type>
<session_regeneration_type_id xmlns="API:id_name_store">12</session_regeneration_type_id>
<session_regeneration_type_name xmlns="API:id_name_store">IP + Device</session_regeneration_type_name>
</session_regeneration_type>
<session_regeneration_type>
<session_regeneration_type_id xmlns="API:id_name_store">13</session_regeneration_type_id>
<session_regeneration_type_name xmlns="API:id_name_store">Sub ID 5 Only Fallback to IP + Device</session_regeneration_type_name>
</session_regeneration_type>
<session_regeneration_type>
<session_regeneration_type_id xmlns="API:id_name_store">14</session_regeneration_type_id>
<session_regeneration_type_name xmlns="API:id_name_store">
Sub ID 5 Only Fallback to IP + Device Fallback to IP Only
</session_regeneration_type_name>
</session_regeneration_type>
<session_regeneration_type>
<session_regeneration_type_id xmlns="API:id_name_store">15</session_regeneration_type_id>
<session_regeneration_type_name xmlns="API:id_name_store">IP + Device/User-Agent</session_regeneration_type_name>
</session_regeneration_type>
</session_regeneration_types>
</get_session_regeneration_types_response>

    


Example Error Messages: 

Error Message

Likely Cause

Invalid API Key

API key does not exist or is expired