Hierarchical Value Service API  future
api index

BatchRecordResponseItem Object

since: 0.29
Polymorphic container for objects. The contents of this object will always consist of exactly one of the fields defined below.

Fields

record
0.1optional
A successfully created or updated non-null record object.
error
0.1optional
Indicates that errors were encountered while trying to create or update record object.

Related API Objects

Example - Successfully created or updated record

    {
      "record":
        {
          "tableID": "160b4eb3-1512-4bdd-ab76-e402660bd32c",
          "start": "2014-04-14T10:05:43",
          "end": "2015-05-10T20:14:21",
          "key":
          [
            {
              "dimID": "28484058-4ffc-329b-94ff-63e1ddbd7189",
              "dimName": "SAMPLE_PRODUCTS",
              "nodeID": "27de4ae8-61be-3fff-a397-16362cafeba2",
              "nodeName": "0011491975135"
            },
            {
              "dimID": "c689acc7-ee13-3482-aa7b-c6a13419431c",
              "dimName": "LARGE_CITIES",
              "nodeID": "7baaa4ab-dd43-31a2-9454-ebc60fb910d5",
              "nodeName": "US-TX"
            }
          ],
          "values":
          [
            {
              "name": "Price",
              "value": "20",
              "type": "DECIMAL",
              "unit": "Each",
              "currency": "USD",
              "perQuantity" : 1
            }
          ]
        }
    }
    

Example - BatchRecordResponseItem returned when there is an error

    {
      "error":
        {
          "errorID": "HVS-004017",
          "errorMessage": "The dimension LARGE_CITIES1 was not found.",
          "resourceType": "record"
        }
    }