MobileDeviceServicesUpdateDeviceBundle Method
|
Updates an existing Device Bundle information, including Bundle name, Devices coverred, and representative Device.
Will return error state if Bundle doesn't exist.
Namespace:
IngeniuxCMService
Assembly:
IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.169
Syntax public XHRServiceResponseGeneric<DeviceBundleRepresentation> UpdateDeviceBundle(
DeviceBundleRepresentation data
)
Public Function UpdateDeviceBundle (
data As DeviceBundleRepresentation
) As XHRServiceResponseGeneric(Of DeviceBundleRepresentation)
public:
virtual XHRServiceResponseGeneric<DeviceBundleRepresentation^>^ UpdateDeviceBundle(
DeviceBundleRepresentation^ data
) sealed
abstract UpdateDeviceBundle :
data : DeviceBundleRepresentation -> XHRServiceResponseGeneric<DeviceBundleRepresentation>
override UpdateDeviceBundle :
data : DeviceBundleRepresentation -> XHRServiceResponseGeneric<DeviceBundleRepresentation>
Parameters
- data
- Type: DeviceBundleRepresentation
The new Device bundle information
Examples
Sample JSON input
{
"data": {
"Name": "Galaxy S 4",
"ScreenHeight": 1920,
"ScreenWidth": 1080,
"UserAgent": blah blah blah
}
}
Return Value
Type:
XHRServiceResponseGenericDeviceBundleRepresentation
The final Bundle information after update
Examples
Sample JSON return
{
"code": 0,
"error": null,
"message": {
"Name": "Galaxy S 4",
"ScreenHeight": 0,
"ScreenWidth": 0,
"UserAgent": null
}
}
See Also