Hierarchical Value Service API  future
api indexresource index

GET table/name/{name}

since: 0.1
Return the table with the given name. The name can be either the name of a table or the name of a link that is linked to a table.

Path Elements

name
0.1required
string
Name of the table.

Request Headers

pros-hvs-consistency
0.13optional
string
pros-hvs-consistency is an optional HTTP header used to define the data consistency level of the request. There is a trade off between data consistency and service availability and performance: higher data consistency can result in lower availability and slower performance, while lower data consistency can result in higher availability and faster performance.
0.13 valid values:
  • HIGHEST
  • HIGH
  • NORMAL
  • LOW
  • LOWEST
pros-rtpe-cache
0.35optional
string

pros-rtpe-cache is an optional HTTP header used to define the caching strategy used by Hierarchial Value Service for a request. This header helps control which internal caches should be used by the service when processing the request. There is a tradeoff between returning the most recent data and performance. Disabling caches will help ensure that the most recent data available are returned, but will likely increase the time required to process and respond to the request.

When disable.metadata is specified, caches related to table and dimension metadata will be disabled.

When disable.data is specified, caches related to table and dimension data will be disabled.

When disable.all is specified, all caches will be disabled.

When any cache is disabled, those caches will not be updated with values retrieved during a request.

0.35 valid values:
  • enable
  • disable.metadata
  • disable.data
  • disable.all

Resource Information

Response Content
json
Response Object
Success Statuses
200  OK
Other Methods

Example 1

Request:

Response:
HTTP/1.1  200  OK


  {
    "id" : "bb18498a-3228-425a-816c-481bac1030ca",
    "name" : "Special Events",
    "dynamic" : false,
    "createdBy" : "496cff4c-2c7e-4a8e-acc5-bf81c4292b3b",
    "columns" : [ 
      {
        "name" : "Forecasted Volume",
        "dataType" : "DECIMAL",
        "constraints": [{
          "name" : "unitRequired",
          "type": "BOOLEAN",
          "value": "true"
        }],
        "required" : true
      }
    ],
    "accessSequence" : [{
        "accessLevel" : [
          {
            "aspectID" : "fbd99ad0-1b92-3baf-8686-772a39e3d065",
            "aspectName" : "UPC",
            "dimID" : "28484058-4ffc-329b-94ff-63e1ddbd7189",
            "dimName" : "SAMPLE_PRODUCTS"
          }, 
          {
            "aspectID" : "85921462-8431-3951-97c0-558f7b5f8ffc",
            "aspectName" : "CITY",
            "dimID" : "c689acc7-ee13-3482-aa7b-c6a13419431c",
            "dimName" : "LARGE_CITIES"
          } 
        ]
    }]
  }