PUT devices/{deviceId}/application/{applicationId}
Relate a given Application to a given Device.
Request Information
Parameters
| Name | Description | Additional information | 
|---|---|---|
| deviceId | Device identification. | Define this parameter in the request URI. | 
| applicationId | Application identification. | Define this parameter in the request URI. | 
Response Information
C4M Error Code returned:
- null - Relationship successfully determined. 
- DeviceNotFound - The requested device does not exist on this environment. 
- ApplicationNotFound - The requested application does not exist on this environment. 
- 404 - Not Found - There's no application or device with the informed id in the given environment. 
Response body formats
application/json, text/json
					Sample:
							
    {
  "error": null
}