MobileDeviceServicesUpdateDeviceBundle Method

Ingeniux CMS Web Services API

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.70
Syntax

public XHRServiceResponseGeneric<DeviceBundleRepresentation> UpdateDeviceBundle(
	DeviceBundleRepresentation data
)

Parameters

data
Type: DeviceBundleRepresentation

The new Device bundle information

Examples

Sample JSON input
JavaScript
{
    "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
JavaScript
{
    "code": 0,
    "error": null,
    "message": {
        "Name": "Galaxy S 4",
        "ScreenHeight": 0,
        "ScreenWidth": 0,
        "UserAgent": null
    }
}
See Also

Reference