Create a table and specify its metadata.
Request Content |
json
|
Request Object | |
Response Content |
json
|
Success Statuses |
201
CREATED
|
Error Statuses |
400
BAD REQUEST
|
Other Methods |
{ "name":"Special Events", "columns" : [ { "name" : "Forecasted Volume", "dataType" : "DECIMAL", "required" : true, "constraints" : [ { "name" : "unitRequired", "type" : "BOOLEAN", "value" : true }] }, { "name" : "Historic Revenue", "dataType" : "DECIMAL", "required" : true, "constraints" : [ { "name" : "currencyRequired", "type" : "BOOLEAN", "value" : true }] }, { "name" : "Product Cost", "dataType" : "DECIMAL", "required" : true, "constraints" : [ { "name" : "unitRequired", "type" : "BOOLEAN", "value" : true }, { "name" : "currencyRequired", "type" : "BOOLEAN", "value" : true }] }, { "name" : "Competitor Influence", "dataType" : "STRING", "required" : false } ], "accessSequence" : [ { "accessLevel" : [ { "dimID" : "28484058-4ffc-329b-94ff-63e1ddbd7189", "aspectID" : "fbd99ad0-1b92-3baf-8686-772a39e3d065" }, { "dimID" : "c689acc7-ee13-3482-aa7b-c6a13419431c", "aspectID" : "85921462-8431-3951-97c0-558f7b5f8ffc" } ] }, { "accessLevel" : [ { "dimID" : "28484058-4ffc-329b-94ff-63e1ddbd7189", "aspectID" : "fbd99ad0-1b92-3baf-8686-772a39e3d065" }, { "dimID" : "c689acc7-ee13-3482-aa7b-c6a13419431c", "aspectID" : "2b848a8c-c886-3253-921a-77c43cd50aae" } ] } ] }
{ "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 }, { "name" : "Historic Revenue", "dataType" : "DECIMAL", "required" : true, "constraints" : [ { "name" : "currencyRequired", "type" : "BOOLEAN", "value" : true }] }, { "name" : "Product Cost", "dataType" : "DECIMAL", "required" : true, "constraints" : [ { "name" : "unitRequired", "type" : "BOOLEAN", "value" : true }, { "name" : "currencyRequired", "type" : "BOOLEAN", "value" : true }] }, { "name" : "Competitor Influence", "dataType" : "STRING", "required" : false } ], "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" }] }, { "accessLevel" : [ { "dimID" : "28484058-4ffc-329b-94ff-63e1ddbd7189", "dimName" : "SAMPLE_PRODUCTS", "aspectID" : "fbd99ad0-1b92-3baf-8686-772a39e3d065", "aspectName" : "UPC" }, { "dimID" : "c689acc7-ee13-3482-aa7b-c6a13419431c", "dimName" : "LARGE_CITIES", "aspectID" : "2b848a8c-c886-3253-921a-77c43cd50aae", "aspectName" : "STATE" }] } ] }
{ "name":"Promotion Costs", "columns" : [ { "name" : "Advertisement", "dataType" : "DECIMAL", "required" : true, "constraints" : [ { "name" : "currencyRequired", "type" : "BOOLEAN", "value" : true }] } ], "accessSequence" : [ { "accessLevel" : [ { "dimName" : "SAMPLE_PRODUCTS", "aspectName" : "UPC" }, { "dimName" : "LARGE_CITIES", "aspectName" : "CITY" }] } ] }
{ "id" : "cb18498a-3228-425a-816c-481bac1030ca", "name" : "Promotion Costs", "dynamic": false, "createdBy" : "496cff4c-2c7e-4a8e-acc5-bf81c4292b3b", "columns" : [ { "name" : "Advertisement", "dataType" : "DECIMAL", "constraints" : [ { "name" : "currencyRequired", "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" } ] }] }
{ "name":"Promotion Costs", "columns" : [ { "name" : "Advertisement", "dataType" : "DECIMAL", "required" : true, "constraints" : [ { "name" : "currencyRequired", "type" : "BOOLEAN", "value" : true }] } ], "accessSequence" : [ { "accessLevel" : [ { "dimName" : "SAMPLE_PRODUCTS", "aspectID" : "fbd99ad0-1b92-3baf-8686-772a39e3d065" }, { "dimID" : "c689acc7-ee13-3482-aa7b-c6a13419431c", "aspectName" : "CITY" } ] } ] }
{ "id" : "cb18498a-3228-425a-816c-481bac1030cb", "name" : "Promotion Costs", "dynamic": false, "createdBy" : "496cff4c-2c7e-4a8e-acc5-bf81c4292b3b", "columns" : [ { "name" : "Advertisement", "dataType" : "DECIMAL", "constraints" : [ { "name" : "currencyRequired", "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" } ] } ] }
{ "name":"Very Special Forecasts", "columns" : [ { "name" : "Forecasted Volume", "dataType" : "DECIMAL", "required" : true } ], "accessSequence" : [ { "accessLevel" : [ { "dimName" : "SAMPLE_PRODUCTS", "aspectName" : "UPC", "aspectID" : "0f025176-fb8b-3536-90ad-8f20f119ed75" }, { "dimName" : "LARGE_CITIES", "aspectName" : "CITY" } ] } ] }
{ "id" : "cb18498a-3228-425a-816c-481bac1030cb", "name":"Very Special Forecasts", "dynamic": false, "createdBy" : "496cff4c-2c7e-4a8e-acc5-bf81c4292b3b", "columns" : [ { "name" : "Forecasted Volume", "dataType" : "DECIMAL", "required" : true } ], "accessSequence" : [ { "accessLevel" : [ { "dimID" : "28484058-4ffc-329b-94ff-63e1ddbd7189", "dimName" : "SAMPLE_PRODUCTS", "aspectID" : "0f025176-fb8b-3536-90ad-8f20f119ed75", "aspectName" : "COMPANY" }, { "dimID" : "c689acc7-ee13-3482-aa7b-c6a13419431c", "dimName" : "LARGE_CITIES", "aspectID" : "85921462-8431-3951-97c0-558f7b5f8ffc", "aspectName" : "CITY" } ] } ] }
{ "errorID" : "HVS-003003", "errorMessage": "Cannot save a table without a valid payload.", "resourceType": "table", "requestID" : "d0af9f1b-3159-4212-940e-ce984c19e8d3" }
{ "name":"Sales Volume", "columns" : [ { "name" : "Forecasted Volume", "dataType" : "DECIMAL", "required" : true } ], "accessSequence" : [ { "accessLevel" : [ { "dimName" : "NOT_EXIST_DIMENSION", "aspectName" : "UPC" } ] } ] }
{ "errorID" : "HVS-003022", "errorMessage": "The dimension NOT_EXIST_DIMENSION was not found.", "resourceType": "table", "requestID" : "d0af9f1b-3159-4212-940e-ce984c19e8d4" }
{ "name":"Sales Volume", "columns" : [ { "name" : "Forecasted Volume", "dataType" : "DECIMAL", "required" : true } ], "accessSequence" : [ { "accessLevel" : [ { "dimID" : "00000000-0000-0000-0000-000000000000", "aspectName" : "UPC" } ] } ] }
{ "errorID" : "HVS-003022", "errorMessage": "The dimension 00000000-0000-0000-0000-000000000000 was not found.", "resourceType": "table", "requestID" : "d0af9f1b-3159-4212-940e-ce984c19e8d4" }
{ "name":"Sales Volume", "columns" : [ { "name" : "Forecasted Volume", "dataType" : "DECIMAL", "required" : true } ], "accessSequence" : [ { "accessLevel" : [ { "dimName" : "SAMPLE_PRODUCTS", "aspectName" : "NOT_EXIST_APSECT" } ] } ] }
{ "errorID" : "HVS-003021", "errorMessage": "The specified dimension aspect NOT_EXIST_APSECT was not found for dimension: 28484058-4ffc-329b-94ff-63e1ddbd7189.", "resourceType": "table", "requestID" : "d0af9f1b-3159-4212-940e-ce984c19e8d4" }
{ "name":"Bad Dimension Aspect ID", "columns" : [ { "name" : "Forecasted Volume", "dataType" : "DECIMAL", "required" : true } ], "accessSequence" : [ { "accessLevel" : [ { "dimName" : "SAMPLE_PRODUCTS", "aspectID" : "00000000-0000-0000-0000-000000000000" } ] } ] }
{ "errorID" : "HVS-003021", "errorMessage": "The specified dimension aspect 00000000-0000-0000-0000-000000000000 was not found for dimension: 28484058-4ffc-329b-94ff-63e1ddbd7189.", "resourceType": "table", "requestID" : "d0af9f1b-3159-4212-940e-ce984c19e8d4" }
{ "name":" ", "columns" : [ { "name" : "Forecasted Volume", "dataType" : "DECIMAL", "required" : true } ], "accessSequence" : [ { "accessLevel" : [ { "dimName" : "SAMPLE_PRODUCTS", "aspectName" : "UPC" }, { "dimName" : "LARGE_CITIES", "aspectName" : "CITY" } ] } ] }
{ "errorID": "HVS-003001", "errorMessage": "The table name is missing.", "resourceType": "table", "requestID" : "d0af9f1b-3159-4212-940e-ce984c19e8d4" }
{ "name":"Discount Info", "columns" : [ { "name" : "Discount Reason", "dataType" : "STRING", "required" : true, "constraints" : [ { "name" : "unitRequired", "type" : "BOOLEAN", "value" : true }] } ], "accessSequence" : [ { "accessLevel" : [ { "dimName" : "SAMPLE_PRODUCTS", "aspectName" : "UPC" }, { "dimName" : "LARGE_CITIES", "aspectName" : "CITY" } ] } ] }
{ "errorID": "HVS-003019", "errorMessage": "Unknown constraint to this column type.", "resourceType": "table", "requestID" : "d0af9f1b-3159-4212-940e-ce984c19e8d4", "details": [ { "fieldID": "Discount Reason", "fieldValue": "unitRequired=true" } ] }
{ "name":"Discount Info", "columns" : [ { "name" : "Discount Reason", "dataType" : "STRING", "required" : true, "constraints" : [ { "name" : "currencyRequired", "type" : "BOOLEAN", "value" : true }] } ], "accessSequence" : [ { "accessLevel" : [ { "dimName" : "SAMPLE_PRODUCTS", "aspectName" : "UPC" }, { "dimName" : "LARGE_CITIES", "aspectName" : "CITY" } ] } ] }
{ "errorID": "HVS-003019", "errorMessage": "Unknown constraint to this column type.", "resourceType": "table", "requestID" : "d0af9f1b-3159-4212-940e-ce984c19e8d4", "details": [ { "fieldID": "Discount Reason", "fieldValue": "currencyRequired=true" } ] }
{ "name":"Discount Info", "columns" : [ { "name" : "Discount", "dataType" : "DECIMAL", "required" : true, "constraints" : [ { "name" : "currencyRequired", "type" : "unknown", "value" : true }] } ], "accessSequence" : [ { "accessLevel" : [ { "dimName" : "SAMPLE_PRODUCTS", "aspectName" : "UPC" } ] } ] }
{ "errorID": "HVS-003704", "errorMessage": "unknown is not a valid constraint type.", "resourceType": "table", "requestID" : "d0af9f1b-3159-4212-940e-ce984c19e8d4" }
{ "name":"Discount Info", "columns" : [ { "name" : "Discount Reason", "dataType" : "STRING", "required" : true, "constraints" : [ { "name" : "unitRequired", "type" : "BOOLEAN", "value" : "x" } } ], "accessSequence" : [ { "accessLevel" : [ { "dimName" : "SAMPLE_PRODUCTS", "aspectName" : "UPC" }, { "dimName" : "LARGE_CITIES", "aspectName" : "CITY" } ] } ] }
{ "errorID": "HVS-003018", "errorMessage": "Boolean constraint must be "true" or "false".", "resourceType": "table", "requestID" : "d0af9f1b-3159-4212-940e-ce984c19e8d4", "details": [ { "fieldID": "Discount Amt", "fieldValue": "unitRequired=x" } ] }
{ "name":"", "columns" : [ { "name" : "Discount Reason", "dataType" : "STRING", "required" : true, "constraints" : [ { "name" : "unitRequired", "type" : "BOOLEAN", "value" : "x" }] } ], "accessSequence" : [ { "accessLevel" : [ { "dimName" : "SAMPLE_PRODUCTS", "aspectName" : "UPC" }, { "dimName" : "LARGE_CITIES", "aspectName" : "CITY" } ] } ] }
{ "errorID": "HVS-003002", "errorMessage": "The length of the table name is invalid.", "resourceType": "table", "requestID" : "d0af9f1b-3159-4212-940e-ce984c19e8d4" }
{ "name":"Special Forecasts", "accessSequence" : [ { "accessLevel" : [ { "dimName" : "SAMPLE_PRODUCTS", "aspectName" : "UPC" }, { "dimName" : "LARGE_CITIES", "aspectName" : "CITY" } ] } ] }
{ "errorID": "HVS-003013", "errorMessage": "At least one column must be specified for the table.", "resourceType": "table", "requestID" : "d0af9f1b-3159-4212-940e-ce984c19e8d4" }
{ "name":"Special Forecasts", "columns" : [ { "dataType" : "DECIMAL", "required" : true } ], "accessSequence" : [ { "accessLevel" : [ { "dimName" : "SAMPLE_PRODUCTS", "aspectName" : "UPC" }, { "dimName" : "LARGE_CITIES", "aspectName" : "CITY" } ] } ] }
{ "errorID": "HVS-003009", "errorMessage": "The column name is missing.", "resourceType": "table", "requestID" : "d0af9f1b-3159-4212-940e-ce984c19e8d4" }
{ "name":"Special Forecasts", "columns" : [ { "name" : "Forecasted Volume", "required" : true } ], "accessSequence" : [ { "accessLevel" : [ { "dimName" : "SAMPLE_PRODUCTS", "aspectName" : "UPC" }, { "dimName" : "LARGE_CITIES", "aspectName" : "CITY" } ] } ] }
{ "errorID": "HVS-003007", "errorMessage": "The column type must be specified.", "resourceType": "table" "requestID" : "d0af9f1b-3159-4212-940e-ce984c19e8d4" }
{ "name":"Special Forecasts", "columns" : [ { "name" : "Forecasted Volume", "dataType" : "IllegalType", "required" : true } ], "accessSequence" : [ { "accessLevel" : [ { "dimName" : "SAMPLE_PRODUCTS", "aspectName" : "UPC" }, { "dimName" : "LARGE_CITIES", "aspectName" : "CITY" } ] } ] }
{ "errorID": "HVS-003008", "errorMessage": "The type IllegalType is not a valid column type.", "resourceType": "table", "requestID" : "d0af9f1b-3159-4212-940e-ce984c19e8d4" }
{ "name":"Special Forecasts", "columns" : [ ], "accessSequence" : [ { "accessLevel" : [ { "dimName" : "SAMPLE_PRODUCTS", "aspectName" : "UPC" }, { "dimName" : "LARGE_CITIES", "aspectName" : "CITY" } ] } ] }
{ "errorID": "HVS-003013", "errorMessage": "At least one column must be specified for the table.", "resourceType": "table", "requestID" : "d0af9f1b-3159-4212-940e-ce984c19e8d4" }
{ "name":"Special Forecasts", "columns" : [ { "name" : "", "dataType" : "DECIMAL", "required" : true } ], "accessSequence" : [ { "accessLevel" : [ { "dimName" : "SAMPLE_PRODUCTS", "aspectName" : "UPC" }, { "dimName" : "LARGE_CITIES", "aspectName" : "CITY" } ] } ] }
{ "errorID": "HVS-003006", "errorMessage": "The length of the column name is invalid.", "resourceType": "table", "requestID" : "d0af9f1b-3159-4212-940e-ce984c19e8d4" }
{ "name":"Special Forecasts", "columns" : [ { "name" : "Forecasted Volume", "dataType" : "DECIMAL", "required" : true } ], "accessSequence" : [{ }] }
{ "errorID": "HVS-003014", "errorMessage": "An access sequence must be specified for the table.", "resourceType": "table", "requestID" : "d0af9f1b-3159-4212-940e-ce984c19e8d4" }
{ "name":"Special Forecasts", "columns" : [ { "name" : "Forecasted Volume", "dataType" : "DECIMAL", "required" : true } ], "accessSequence" : [ { "accessLevel" : [ { "aspectID": "fbd99ad0-1b92-3baf-8686-772a39e3d065" } ] } ] }
{ "errorID": "HVS-003016", "errorMessage": "An access sequence entry must contain a dimension name or ID, neither is set.", "resourceType": "table", "requestID" : "d0af9f1b-3159-4212-940e-ce984c19e8d4" }
{ "name":"Special Forecasts", "columns" : [ { "name" : "Forecasted Volume", "dataType" : "DECIMAL", "required" : true } ], "accessSequence" : [ { "accessLevel" : [ { "dimName" : "SAMPLE_PRODUCTS" }, { "dimName" : "LARGE_CITIES", "aspectName" : "CITY" } ] } ] }
{ "errorID": "HVS-003015", "errorMessage": "A dimension aspect must have an ID or name specified for an entry in the access sequence.", "resourceType": "table", "requestID" : "d0af9f1b-3159-4212-940e-ce984c19e8d4" }
{ "name" : "DynamicTable", "dynamic" : true, "accessSequence" : [ { "accessLevel" : [ { "dimName" : "Location", "aspectName" : "STATE" } ] } ] }
{ "id" : "bb18498a-3228-425a-816c-481bac1030cd", "name" : "DynamicTable", "dynamic" : true, "createdBy" : "496cff4c-2c7e-4a8e-acc5-bf81c4292b3b", "accessSequence" : [ { "accessLevel" : [ { "dimID" : "db18498a-3228-425a-816c-481bac1030cd", "dimName" : "Location", "aspectID" : "ab18498a-3228-425a-816c-481bac1030cd", "aspectName" : "STATE" } ] } ] }
{ "name" : "DynamicTableWithColumns", "columns" : [ { "name" : "BaseValue", "dataType" : "DECIMAL", "required" : true } ], "dynamic" : true, "accessSequence" : [ { "accessLevel" : [ { "dimName" : "Location", "aspectName" : "STATE" } ] } ] }
{ "requestID" : "db18498a-456-123a-816c-481bac1030cd", "errorID" : "HVS-003701", "errorMessage": "\"DynamicTableWithColumns\" cannot be defined to support dynamic columns while also containing specific column configurations.", "resourceType": "table" }