CookieStore.GetList
  • 14 May 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

CookieStore.GetList

  • Dark
    Light
  • PDF

Article summary

Description

Returns a list of cookie stores for an account.

URL parameters

None

Responses

NameTypeDescription
ResultstringSuccess if the operation was successful.
CookieStoreCookieStoreObject representing a cookie store.

Sample request

curl -X GET 'https://api.mozenda.com/rest?WebServiceKey=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&Service=Mozenda10&Operation=CookieStore.GetList'

Sample responses

XML

<?xml version="1.0" encoding="utf-8"?>
<CookieStoreGetListResponse
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<Result>Success</Result>
	<CookieStoreList>
		<CookieStore>
			<Name>Microsoft Login</Name>
			<Description/>
			<ItemID>1001</ItemID>
			<Created>2018-04-03 12:10:33</Created>
			<CreatedBy>Smith, John</CreatedBy>
		</CookieStore>
		<CookieStore>
			<Name>Lowes Cart</Name>
			<Description/>
			<ItemID>1002</ItemID>
			<Created>2018-04-03 12:11:17</Created>
			<CreatedBy>Smith, John</CreatedBy>
		</CookieStore>
	</CookieStoreList>
</CookieStoreGetListResponse>

JSON (add &ResponseFormat=JSON)

{
    "CookieStore": [
        {
            "Name": "CMSLogin",
            "Description": "",
            "ItemID": 1002,
            "Created": "2020-04-27 15:39:19",
            "CreatedBy": "Smith, John"
        },
        {
            "Name": "NewsGeolocation",
            "Description": "",
            "ItemID": 1003,
            "Created": "2020-04-27 15:39:39",
            "CreatedBy": "Smith, John"
        }
    ],
    "JsonResult": {
        "Command": "CookieStore.GetList",
        "AutoLoggedIn": false,
        "WebConsoleKey": "",
        "Result": "Success",
        "ErrorCode": "",
        "ErrorDescription": "",
        "ErrorList": [],
        "ExecutionTime": {
            "Ticks": 0,
            "Days": 0,
            "Hours": 0,
            "Milliseconds": 0,
            "Minutes": 0,
            "Seconds": 0,
            "TotalDays": 0,
            "TotalHours": 0,
            "TotalMilliseconds": 0,
            "TotalMinutes": 0,
            "TotalSeconds": 0
        }
    }
}

Was this article helpful?