POST getData/{deviceID}/{canalID}
Get the last data from a canal
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| deviceID | The ID of the device |
Define this parameter in the request URI. |
| canalID | The ID of the canal |
Define this parameter in the request URI. |
| credentials | The Login/Password for authentication and rights |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"login": "sample string 1",
"password": "sample string 2"
}
application/xml, text/xml
Sample:
<Credentials xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <login>sample string 1</login> <password>sample string 2</password> </Credentials>
Response Information
NCADataPublication
Response body formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.