Read a Device

Returns a JSON representation of the device for the device serial number read.

Request

Parameters
Method GET
Base URL https://api.xively.com
API Endpoint /v2/products/PRODUCT_ID/devices/SERIAL_NUMBER
Headers
X-ApiKey API_KEY_HERE
Body
JSON
XML
CSV
  • GET/v2/products/PRODUCT_ID/devices/SERIAL_NUMBER

    This request does not require body data
    
  • XML format not available for this call
    
  • CSV format not available for this call
    

Response

Parameters
Status Code 200 OK
Headers
No Headers
Body
JSON
XML
CSV
  • {
        "device": {
            "serial": "abc123",
            "activation_code": "ACTIVATION_CODE",
            "created_at": "2013-05-05T22:25:11Z",
            "activated_at": null,
            "feed_id": DEVICE_FEED_ID
        }
    }
    
  • XML format not available for this call
    
  • CSV format not available for this call