PUT device

Update device information.

Resource URL

https://production-connect.blacklinesafety.com/1/device/

Parameters

device_id required The id of the device.

Example Value: 555

mobile_manufacturer required

The manufacturer of the mobile device.

Must be one of: android, blackberry, iphone

mobile_model optional

The model of the mobile device.

Example Value(for Blackberry): 9900

mobile_os_version optional

The OS version of the mobile device.

Example Value(for Blackberry): 5.0.0.411

loner_mobile_application_version optional

The Loner Mobile application version.

Example Value: 5.3.11

mobile_phone_number optional

The phone number of the mobile device.

Example Value: 1234567890

Example Request

PUT https://production-connect.blacklinesafety.com/1/device?access_token=abcd

Example Response

{
    "device_id":1234,
    "mobile_manufacturer":"blackberry",
    "mobile_model":"9900",
    "mobile_os_version":"5.0.0.411",
    "loner_mobile_application_version":"5.3.11",
    "mobile_phone_number":"1234567890"
}