BTW, I'm fairly close on configuring the REST connector myself, but I'm struggling with the metadata. Here's what I have so far, but this doesn't quite work.
{
"ProviderConfiguration" : {
},
"Metadata" : [
{
"Name":"TicketMetric",
"Url":"/incremental/ticket_metric_events",
"Arguments":[{"ColumnName": "Time", "ParameterName": "start_time"}],
"ResultPath": "",
"Columns" : [
{"Name":"Id", APIPath: "id", "DbType":"Int32", "Primary":true, "Createable":false, "Updateable":false},
{"Name":"InstanceId", APIPath: "instance_id", "DbType":"Int32", "Primary":false, "Createable":false, "Updateable":false},
{"Name":"Metric", APIPath: "metric", "DbType":"String", "Primary":false, "Createable":false, "Updateable":false},
{"Name":"TicketId", APIPath: "ticket_id", "DbType":"Int32", "Primary":false, "Createable":false, "Updateable":false},
{"Name":"Time", APIPath: "time", "DbType":"DateTime", "Createable":false, "Updateable":false},
{"Name":"Type", APIPath: "type", "DbType":"String", "Primary":false, "Createable":false, "Updateable":false}
]
}
]
}