XOMNI: Experience Omni-Channel

Last Updated: May 05, 2016

This API enables a client application to filter publicly visible wish lists by their last access time and locations. This allows an application to pull all the nearby active wishlists.

Request

{
    "Location":{
        "Longitude":41.034973,
        "Latitude":28.992459
    },
   "TimeInterval":20,
   "MaxDistance":1.0
}
HTTP Method Resource URI
POST https://{tenantName}.api.xomni.com/pii/wishlistsearch

Request Body Description

Parameter Name Description Type Conditions
TimeInterval Maximum distance in miles defining a search perimeter. (Max 1 mile) Number
Range(0,30)
MaxDistance Used to filter wishlists through the LastModiticationTime. (Max 30 minutes) Number
Range(0,1)
Location.Longitude Longitude value of the location. Number
Location.Latitude Latitude value of the location. Number

Request Headers

Header Field Name Description
Content-Type
Content type of the response entity. The value of this header is always application/json.
Authorization
Access or identity token taken from oauth APIs.
Sample: Bearer dc8f1dcdbe454da8a25621839a93569337522968019e4bd7becd6e01285444da
Accept
Includes minor version header.
Sample: application/vnd.xomni.api-v4-1, */*

Response

{
    "Data": [
        "fe6dc962-b646-48f0-8fcc-0b9d98ea9664",
        "771f4923-b0db-42c6-9728-a630def1841e",
        "8009c2c0-1627-40e9-9a3f-18ecfb330d3a"
    ]
} 

Response Body Description

Parameter Name Description Type
Data An array of unique keys. String

Response Headers

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