XOMNI: Experience Omni-Channel

Last Updated: February 19, 2016

The API provides a functionality to get wishlist by last accessed date logs.

Request

HTTP Method Resource URI
GET https://{tenantName}.api.xomni.com/private/analytics/servercounters/wishlistbylastaccesseddate/logs?OADate={OADate}&continuationKey={continuationKey}

URI Parameters

Parameter Name Description Type Conditions
OADate Date filter in OA date format. Number
continuationKey Continuation key for getting further logs. String

Request Headers

Header Field Name Description
Accept
Includes minor version header.
Sample: application/vnd.xomni.api-v4-0, */*
Authorization
Access or identity token taken from oauth APIs.
Sample: Bearer dc8f1dcdbe454da8a25621839a93569337522968019e4bd7becd6e01285444da

Response

{
    "ContinuationToken": "106421c8-0154-43aa-a8ed-176f2d91292b",
    "Logs": [
      {
          "WishlistName": "d9a2ca18-45e6-40a2-b8be-83fbac358050",
          "IsPublic": true,
          "WishlistOwnerName": "f2fad35d-cc4a-44d4-a161-06c8882390e7",
          "WishlistOwnerUserName": "cfc74ada-2a1c-4fd9-a2f2-2f44e2f3fc01",
          "WishlistOwnerUserTypeId": 21,
          "WishlistOwnerUserTypeDescription": "911d163c-e79a-47ea-b08e-c512b59c2d44",
          "PhysicalDeviceId : "21",
          "PhysicalDeviceDescription": "d07f32bd-2385-4819-81ed-366072b33499",
          "StoredId": 21,
          "StoreName": "ae705de5-9f26-4842-bc89-c905839102b0",
          "WishlistUniqueKey": "4109b0e5-ad7a-45e1-bea2-9a0cfa67f89f",
          "Longitude": null,
          "Latitude": null,
          "WishlistOwnerUserId": 21,
          "CreatedDate": "2014-07-31T16:43:25.5867806+03:00"
      }
    ]
}

Response Body Description

Parameter Name Description Type
ContinuationToken Continuation key for getting further logs. String
Logs[0..N].WishlistName Unique name of the wishlist String
Logs[0..N].IsPublic Boolean field indicating if the wish list is publicly visible or not. Unknown
Logs[0..N].WishlistOwnerName Name of the wish list owner. String
Logs[0..N].WishlistOwnerUserName Username of the wish list owner. String
Logs[0..N].WishlistOwnerUserTypeId The unique ID of the user type of wish list owner. Number
Logs[0..N].WishlistOwnerUserTypeDescription Description of the user type of wish list owner. String
Logs[0..N].PhysicalDeviceId The unique id of the physical device. String
Logs[0..N].PhysicalDeviceDescription Description of the physical device. String
Logs[0..N].StoredId The unique id of the store that the physical device of this operation assigned. Number
Logs[0..N].StoreName Name of the store that the physical device of this operation assigned. String
Logs[0..N].WishlistUniqueKey The unique key of the wish list. Unknown
Logs[0..N].Longitude Longitude value of the location where the wish list was accessed. Number
Logs[0..N].Latitude Latitude value of the location where wish list was accessed. Number
Logs[0..N].WishlistOwnerUserId The unique ID of the wish list owner. Number
Logs[0..N].CreatedDate Log creation date. Date

Response Headers

Header Field Name Description
Content-Type
Content type of the response entity. The value of this header is always application/json.

Status Codes

A successful operation returns status code 200 (OK) for GET operations. Possible response status codes are as listed below:

Status Code Description
404 (Not Found) No log found.
404 (Not Found) Analytics is not enabled. Please enable analytics functionality using tenant settings.