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: 9.0.565.0 (9.0.565)
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",
        "DeviceIds": ["16553-17979-21556-18092", 
            "13064-17979-21556-18092", 
            "16362-17979-21556-18092"],
        "RepresentativeDeviceId": "16553-17979-21556-18092"
    }
}

Return Value

Type: XHRServiceResponseGenericDeviceBundleRepresentation

The final Bundle information after update

Examples

Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": {
        "DeviceIds": ["16553-17979-21556-18092", 
            "13064-17979-21556-18092", 
            "16362-17979-21556-18092"],
        "Devices": null,
        "Name": "Galaxy S 4",
        "RepresentativeDeviceId": "16553-17979-21556-18092",
        "ScreenHeight": 0,
        "ScreenWidth": 0,
        "UserAgent": null
    }
}
See Also

Reference