iPlace External API

The iPlace external API allows client applications to easily communicate with the platform via HTTPS.

In addition to being a secure connection, each request must be authenticated correctly with the credentials of a registered user in the system.

Example of use::

getElementData

Parameters:

{

[“id” : “I20121203171041”]

[“name”: “Input 1”]

}

Response:

{

 “Id” : “I20121203171041”,

“name”: “Input 1”,

“value”: “1”,

“type”: “1”,

 “updated”: “2016-02-01 12:00:00”

           }

setElementValue

 Parameters:

{

[“id” : “O20121203171041”],

[“name”: “Output 1”],

 “value” : “1”

}

 Response:

{

“status” : “0”,

[“msg” : “error messages”]

}

getElementHistorical

Parameters:

{

[“id” : “I20121203171041”]

[“name”: “Input 1”]

“start” : “2016-02-01 12:00:00”

[“end” : “2016-02-01 12:00:00”]

[“order”: 0 ] // 0 = ASC , 1 = DESC

[“page”: 1]

}

Response:

{

 “size” : “234”

“data” :[{

 “Id” : “I20121203171041”,

“name”: “Input 1”,

“value”: “1”,

“type”: “1”,

“updated”: “2016-02-01 12:00:00”

      },{

}

getElementHistorical

Parameters:

{

[“id” : “I20121203171041”]

[“name”: “Input 1”]

“start” : “2016-02-01 12:00:00”

[“end” : “2016-02-01 12:00:00”]

[“order”: 0 ] // 0 = ASC , 1 = DESC

[“page”: 1]

}

Response:

{

 “size” : “234”

“data” :[{

 “Id” : “I20121203171041”,

“name”: “Input 1”,

“value”: “1”,

“type”: “1”,

“updated”: “2016-02-01 12:00:00”

      },{

}

]

}