XOMNI: Experience Omni-Channel

Last Updated: May 05, 2016

This API returns a full list of public tenant assets.

Request

HTTP Method Resource URI
GET https://{tenantName}.api.xomni.com/private/tenant/assets?skip={skip}&take={take}

URI Parameters

Parameter Name Description Type Conditions
skip The number of items in the collection to skip before executing a select. Number
take The number of items that should be fetched from the collection. Number

Request Headers

Header Field Name Description
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

{
    "Results": [
        {
            "Id": 1,
            "FileName": "sampleImage.jpg",
            "MimeType": "image/jpeg",
            "PublicUrl": "https://xomnistaging.blob.core.windows.net/publictenantassetscontainer/932dc307-0e85-4c82-af64-9f56acb47135"
        },
        {
            "Id": 2,
            "FileName": "sampleImage2.jpg ",
            "MimeType": "image/jpeg",
            "PublicUrl": "https://xomnistaging.blob.core.windows.net/publictenantassetscontainer/932dc307-0e85-4c82-af64-9f56acb47136"
        }
    ],
    "TotalCount": 6
}

Response Body Description

Parameter Name Description Type
TotalCount Total count of assets in the filtered collection without paging. Number
Results[0..N].PublicUrl Public URI of the icon image asset. String
Results[0..N].Id Unique ID of the icon image asset. Number
Results[0..N].FileName File name of the icon image asset. String
Results[0..N].MimeType Mime type of the icon image asset. String
Results[0..N].FileBody File body of the icon image asset. Array

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.