I am looking to connect a dashboard in Ignition to the MaintainX CMMS system through its API (MaintainX – Rest API v1). I would assume I would need to create a driver in Ignition to connect?
I already have the connection setup in Power Query (Here is a sample of the code)
let
Source = Csv.Document(
Web.Contents(
"https://app.getmaintainx.com/api/rest/v1/workorders/workorders.csv",
[Headers = [Authorization = "Bearer " & Token]]
),
[Delimiter = ",", Encoding = 65001, QuoteStyle = QuoteStyle.Csv]
),
#"WorkOrders Promoted Headers" = Table.PromoteHeaders(Source, [PromoteAllScalars = true]),
#"WorkOrders Change Type" = Table.TransformColumnTypes(
#"WorkOrders Promoted Headers",
{
{"ID", Int64.Type},
{"Title", type text},
{"Status", type text},
{"Priority", type text},
{"Description", type text},
{"URL", type text},
{"Global ID", Int64.Type},
{"Assigned to", type text},
{"Teams Assigned to", type text},
{"Requested by", type text},
{"Requested on", type datetime},
{"Created by", type text},
{"Created on", type datetime} ......
Can anyone help ?