MobileDeviceServicesCreateDeviceBundle Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<DeviceBundleRepresentation> CreateDeviceBundle( DeviceBundleRepresentation data )
The information of the new Device Bundle to create
{ "data": { "Name": "iphone", "DeviceIds": ["12280-18117-22901-18092", "12280-18117-22902-18092"], "RepresentativeDeviceId": "12280-18117-22901-18092" } }
The information of created Device Bundle
{ "code": 0, "error": null, "message": { "DeviceIds": null, "Devices": [{ "FullName": "Apple - iPhone (iOS 7.3)", "Height": 480, "ID": "12280-18117-22901-18092", "IsTablet": false, "Manufacturer": "Apple", "Platform": "iOS", "UserAgent": "Mozilla\/5.0 (iPhone; CPU iPhone OS 5_1_1 like Mac OS X) AppleWebKit\/534.46 (KHTML, like Gecko) Mercury\/7.3 Mobile\/9B206 Safari\/7534.48.3", "Version": "7.3", "Width": 320 }, { "FullName": "Apple - iPhone (iOS 7.4)", "Height": 480, "ID": "12280-18117-22902-18092", "IsTablet": false, "Manufacturer": "Apple", "Platform": "iOS", "UserAgent": "Mozilla\/5.0 (iPhone; CPU iPhone OS 5_1_1 like Mac OS X) AppleWebKit\/534.46 (KHTML, like Gecko) Mercury\/7.4.2 Mobile\/9B206 Safari\/7534.48.3", "Version": "7.4", "Width": 320 }], "Name": "iphone", "RepresentativeDeviceId": "12280-18117-22901-18092", "ScreenHeight": 480, "ScreenWidth": 320, "UserAgent": "Mozilla\/5.0 (iPhone; CPU iPhone OS 5_1_1 like Mac OS X) AppleWebKit\/534.46 (KHTML, like Gecko) Mercury\/7.3 Mobile\/9B206 Safari\/7534.48.3" } }