XOMNI: Experience Omni-Channel

Last Updated: May 05, 2016

The tag metadata management systems provides APIs to fetch a list of tag metadata related with given tag from the backend. The metadata may be used to store contextual and optional data about a tag.

Request

HTTP Method Resource URI
GET https://{tenantName}.api.xomni.com/private/catalog/tagmetadata?tagId={tagId}

URI Parameters

Parameter Name Description Type Conditions
tagId The Id of the tag which the metadata belongs to. 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

[
   {
       "Key": "d19be105-2f67-43b5-9c68-b70940750c2a",
       "Value": "51571fe2-5bc4-45d3-b918-c7ceccbfe2b2",
   },
   {
       "Key": "fe23a998-4e04-4f5d-beb4-a0babcb7fa48",
       "Value": "5b351e37-139f-4aae-a4ab-a67fcbf558dc",
   },
   {
       "Key": "adc10aa4-6090-4fd4-99d8-9e33d0600132",
       "Value": "251a0bfa-1987-4a2b-94ce-adb388f0e7df",
   },
   {
       "Key": "47f5c9bf-9532-4a15-8af1-943fbdf96208",
       "Value": "15ea4cbb-5911-433a-9293-173a72444370",
   },
   {
       "Key": "643afd3f-f2ec-4cf8-88e2-1fde530fa558",
       "Value": "d19cee4b-c87f-44aa-aafd-9e831d47c21f",
   }
]

Response Body Description

Parameter Name Description Type
[0..N].Key The key for the metadata. String
[0..N].Value The value of the metadata. String

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) The given tag or metadata for the given tag could not be found.