POST devices/{deviceId}/operations
Create a new Operation's.
Remarks
Status HTTP returned:
200 - Ok The operation has been successfully created.
403 - Forbidden The authenticated user doesn't have permission to access the resource.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
deviceId | Device identification. |
Define this parameter in the request URI. |
operationRequestDto | DTO with all operations. Please ComposedOperationRequestDto. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "operationType": 31, "storageTime": 1, "enable": true, "monitoringInterval": 1, "synchronizationInterval": 1 }Sample:
{ "operationType": 33, "certificateSettings": { "certificateAuthorities": [ { "certificateId": "00000000-0000-0000-0000-000000000000" }, { "certificateId": "00000000-0000-0000-0000-000000000000" } ], "certificateIdentities": [ { "certificateId": null, "fromVariable": null }, { "certificateId": null, "fromVariable": null } ] } }Sample:
{ "operationType": 35 }Sample:
{ "operationType": 32, "telephonySettings": { "accessPointNames": [ { "accessPointName": null, "apnType": null, "authenticationType": 0, "friendlyName": null, "mmsPort": null, "mmsProxy": null, "mmsServer": null, "mobileCountryCode": null, "mobileNetworkCode": null, "password": null, "port": null, "proxy": null, "server": null, "user": null }, { "accessPointName": null, "apnType": null, "authenticationType": 0, "friendlyName": null, "mmsPort": null, "mmsProxy": null, "mmsServer": null, "mobileCountryCode": null, "mobileNetworkCode": null, "password": null, "port": null, "proxy": null, "server": null, "user": null } ], "defaultAccessPointName": "sample string 1", "incomingCallWhitelist": [ "sample string 1", "sample string 2" ], "outgoingCallWhitelist": [ "sample string 1", "sample string 2" ] } }Sample:
{ "operationType": 34, "wifiSettings": { "wifiNetworks": [ { "autoConnect": false, "eap": null, "hiddenSsid": false, "name": null, "passphrase": null, "security": 0, "ssid": null }, { "autoConnect": false, "eap": null, "hiddenSsid": false, "name": null, "passphrase": null, "security": 0, "ssid": null } ] } }Sample:
{ "operationType": 30, "productId": "sample string 1" }Sample:
{ "addUser": true, "adjustMasterVolume": true, "alwaysOnVpnPackage": { "lockdown": true, "packageName": "sample string 2" }, "applicationAutoUpdatePolicy": 0, "autoTime": true, "bluetooth": true, "bluetoothConfiguration": true, "bluetoothContactSharing": true, "camera": true, "cellBroadcastsConfiguration": true, "credentialsConfiguration": true, "dataRoaming": true, "debuggingFeatures": true, "ensureVerifyApplications": true, "factoryReset": true, "forceHighAccuracy": true, "frpAdminEmails": [ "sample string 1", "sample string 2" ], "installApplications": true, "keyguardFeatures": [ 0, 0 ], "locationMode": 0, "lockScreenInfo": "sample string 16", "maximumTimeToLock": 17, "microphone": true, "mobileNetworksConfiguration": true, "modifyAccounts": true, "mountPhysicalMedia": true, "networkReset": true, "operationType": 28, "outgoingBeam": true, "outgoingCalls": true, "permissionPolicy": 0, "permittedInputMethods": [ "sample string 1", "sample string 2" ], "playStoreMode": 0, "removeUser": true, "safeMode": true, "screenCapture": true, "sendReceiveSms": true, "skipFirstUseHints": true, "stayOnPluggedModes": [ 0, 0 ], "systemUpdatePolicy": 0, "tetheringConfiguration": true, "uninstallApplications": true, "untrustedApplicationsPolicy": 0, "usbFileTransfer": true, "vpnConfiguration": true, "wifiConfiguration": true, "windowedUpdateEndTime": 35, "windowedUpdateStartTime": 36 }Sample:
{ "emailSettings": { "emailAddress": "sample string 1", "incomingEmailServerSettings": { "password": "sample string 1", "protocol": "sample string 2", "serverAcceptAllCertificates": true, "serverAddress": "sample string 4", "serverPort": 5, "sslEnabled": true, "tlsEnabled": true, "userName": "sample string 8" }, "outgoingEmailServerSettings": { "password": "sample string 1", "protocol": "sample string 2", "serverAcceptAllCertificates": true, "serverAddress": "sample string 4", "serverPort": 5, "sslEnabled": true, "tlsEnabled": true, "userName": "sample string 8" } }, "operationType": 27 }Sample:
{ "launcherSettings": { "blockStatusBar": true, "enabled": true, "horizontalBackgroundImage": { "image": "sample string 1", "imageBase64": "sample string 1", "imageUrl": "sample string 2", "scaleType": 0 }, "lockTaskAllowed": true, "password": "sample string 4", "passwordType": 0, "titleText": "sample string 5", "verticalBackgroundImage": { "image": "sample string 1", "imageBase64": "sample string 1", "imageUrl": "sample string 2", "scaleType": 0 }, "whitelist": [ { "alias": null, "executionRestrictions": null, "packageName": null, "visible": false }, { "alias": null, "executionRestrictions": null, "packageName": null, "visible": false } ] }, "operationType": 22 }Sample:
{ "airplaneMode": true, "bluetooth": true, "camera": true, "clipboard": true, "factoryReset": true, "homeKey": true, "microphone": true, "nfc": true, "operationType": 23, "powerOff": true, "safeMode": true, "screenCapture": true, "settingsChanges": true, "statusBarExpansion": true, "taskManager": true, "wifi": true }Sample:
{ "maximumFailedPasswordAttemptsForWipe": 1, "operationType": 29, "passwordExpirationTimeout": 2, "passwordHistoryLength": 3, "passwordMinimumLength": 4, "passwordMinimumLetters": 5, "passwordMinimumLowercase": 6, "passwordMinimumNonLetter": 7, "passwordMinimumNumeric": 8, "passwordMinimumSymbols": 9, "passwordMinimumUppercase": 10, "passwordQuality": 0 }Sample:
{ "operationType": 24 }Sample:
{ "operationType": 25 }Sample:
{ "operationType": 26, "vpnSettings": { "vpnNetworks": [ { "dnsSearchDomains": null, "dnsServers": null, "forwardingRoutes": null, "ipsecIdentifier": null, "ipsecPreSharedKey": null, "l2TPSecret": null, "l2TPSecretEnabled": false, "name": null, "pptpEncryptionEnabled": false, "serverAddress": null, "userName": null, "userPassword": null, "vpnType": 0 }, { "dnsSearchDomains": null, "dnsServers": null, "forwardingRoutes": null, "ipsecIdentifier": null, "ipsecPreSharedKey": null, "l2TPSecret": null, "l2TPSecretEnabled": false, "name": null, "pptpEncryptionEnabled": false, "serverAddress": null, "userName": null, "userPassword": null, "vpnType": 0 } ] } }Sample:
{ "airplaneMode": true, "applicationSettings": { "applications": [ { "configurations": null, "packageName": null }, { "configurations": null, "packageName": null } ] }, "audioRecord": true, "bluetooth": true, "camera": true, "clipboard": true, "clipboardShare": true, "factoryReset": true, "headphone": true, "homeKey": true, "microphone": true, "navigationBar": true, "nfc": true, "operationType": 21, "otaUpgrade": true, "powerOff": true, "safeMode": true, "screenCapture": true, "settingsChanges": true, "softwareInstallation": true, "softwareUninstallation": true, "statusBar": true, "statusBarExpansion": true, "sVoice": true, "taskManager": true, "videoRecord": true, "wifi": true }Sample:
{ "enabled": true, "operationType": 20, "storageTime": 1, "synchronizationInterval": 1 }Sample:
{ "operationType": 12 }Sample:
{ "operationType": 5 }Sample:
{ "operationType": 7, "enable": true, "monitoringInterval": 1, "storageTime": 1, "synchronizationInterval": 1 }Sample:
{ "operations": [ { "operationType": 31, "storageTime": 1, "enable": true, "monitoringInterval": 1, "synchronizationInterval": 1 }, { "operationType": 33, "certificateSettings": { "certificateAuthorities": null, "certificateIdentities": null } }, { "operationType": 35 }, { "operationType": 32, "telephonySettings": { "accessPointNames": null, "defaultAccessPointName": null, "incomingCallWhitelist": null, "outgoingCallWhitelist": null } }, { "operationType": 34, "wifiSettings": { "wifiNetworks": null } }, { "operationType": 30, "productId": "sample string 1" }, { "addUser": true, "adjustMasterVolume": true, "alwaysOnVpnPackage": { "lockdown": false, "packageName": null }, "applicationAutoUpdatePolicy": 0, "autoTime": true, "bluetooth": true, "bluetoothConfiguration": true, "bluetoothContactSharing": true, "camera": true, "cellBroadcastsConfiguration": true, "credentialsConfiguration": true, "dataRoaming": true, "debuggingFeatures": true, "ensureVerifyApplications": true, "factoryReset": true, "forceHighAccuracy": true, "frpAdminEmails": null, "installApplications": true, "keyguardFeatures": null, "locationMode": 0, "lockScreenInfo": "sample string 16", "maximumTimeToLock": 17, "microphone": true, "mobileNetworksConfiguration": true, "modifyAccounts": true, "mountPhysicalMedia": true, "networkReset": true, "operationType": 28, "outgoingBeam": true, "outgoingCalls": true, "permissionPolicy": 0, "permittedInputMethods": null, "playStoreMode": 0, "removeUser": true, "safeMode": true, "screenCapture": true, "sendReceiveSms": true, "skipFirstUseHints": true, "stayOnPluggedModes": null, "systemUpdatePolicy": 0, "tetheringConfiguration": true, "uninstallApplications": true, "untrustedApplicationsPolicy": 0, "usbFileTransfer": true, "vpnConfiguration": true, "wifiConfiguration": true, "windowedUpdateEndTime": 35, "windowedUpdateStartTime": 36 }, { "emailSettings": { "emailAddress": null, "incomingEmailServerSettings": null, "outgoingEmailServerSettings": null }, "operationType": 27 }, { "launcherSettings": { "blockStatusBar": false, "enabled": false, "horizontalBackgroundImage": null, "lockTaskAllowed": false, "password": null, "passwordType": 0, "titleText": null, "verticalBackgroundImage": null, "whitelist": null }, "operationType": 22 }, { "airplaneMode": true, "bluetooth": true, "camera": true, "clipboard": true, "factoryReset": true, "homeKey": true, "microphone": true, "nfc": true, "operationType": 23, "powerOff": true, "safeMode": true, "screenCapture": true, "settingsChanges": true, "statusBarExpansion": true, "taskManager": true, "wifi": true }, { "maximumFailedPasswordAttemptsForWipe": 1, "operationType": 29, "passwordExpirationTimeout": 2, "passwordHistoryLength": 3, "passwordMinimumLength": 4, "passwordMinimumLetters": 5, "passwordMinimumLowercase": 6, "passwordMinimumNonLetter": 7, "passwordMinimumNumeric": 8, "passwordMinimumSymbols": 9, "passwordMinimumUppercase": 10, "passwordQuality": 0 }, { "operationType": 24 }, { "operationType": 25 }, { "operationType": 26, "vpnSettings": { "vpnNetworks": null } }, { "airplaneMode": true, "applicationSettings": { "applications": null }, "audioRecord": true, "bluetooth": true, "camera": true, "clipboard": true, "clipboardShare": true, "factoryReset": true, "headphone": true, "homeKey": true, "microphone": true, "navigationBar": true, "nfc": true, "operationType": 21, "otaUpgrade": true, "powerOff": true, "safeMode": true, "screenCapture": true, "settingsChanges": true, "softwareInstallation": true, "softwareUninstallation": true, "statusBar": true, "statusBarExpansion": true, "sVoice": true, "taskManager": true, "videoRecord": true, "wifi": true }, { "enabled": true, "operationType": 20, "storageTime": 1, "synchronizationInterval": 1 }, { "operationType": 12 }, { "operationType": 5 }, { "operationType": 7, "enable": true, "monitoringInterval": 1, "storageTime": 1, "synchronizationInterval": 1 }, { "operations": null, "operationType": 11 }, { "beginOfCycle": 1, "operationType": 10, "enable": true, "monitoringInterval": 1, "storageTime": 1, "synchronizationInterval": 1 }, { "enabled": true, "operationType": 0 }, { "clearSDCard": true, "operationType": 2 }, { "applicationToInstall": 1, "downloadMethod": 2, "installType": 0, "operationType": 6 }, { "enable": true, "operationType": 18, "monitoringQuality": 0, "monitoringInterval": 1, "synchronizationInterval": 1, "storageTime": 1 }, { "enabled": true, "operationType": 19, "monitoringQuality": 0, "storageTime": 1, "synchronizationInterval": 1 }, { "enable": true, "operationType": 17, "storageTime": 1, "synchronizationInterval": 1 }, { "operationType": 9, "enable": true, "monitoringInterval": 1, "storageTime": 1, "synchronizationInterval": 1 }, { "lock": true, "operationType": 3, "password": "sample string 2" }, { "operationType": 8, "enable": true, "monitoringInterval": 1, "storageTime": 1, "synchronizationInterval": 1 }, { "operationType": 16 }, { "operationType": 13, "packageName": "sample string 1" }, null ], "operationType": 11 }Sample:
{ "beginOfCycle": 1, "operationType": 10, "enable": true, "monitoringInterval": 1, "storageTime": 1, "synchronizationInterval": 1 }Sample:
{ "enabled": true, "operationType": 0 }Sample:
{ "clearSDCard": true, "operationType": 2 }Sample:
{ "applicationToInstall": 1, "downloadMethod": 2, "installType": 0, "operationType": 6 }Sample:
{ "enable": true, "operationType": 18, "monitoringQuality": 0, "monitoringInterval": 1, "synchronizationInterval": 1, "storageTime": 1 }Sample:
{ "enabled": true, "operationType": 19, "monitoringQuality": 0, "storageTime": 1, "synchronizationInterval": 1 }Sample:
{ "enable": true, "operationType": 17, "storageTime": 1, "synchronizationInterval": 1 }Sample:
{ "operationType": 9, "enable": true, "monitoringInterval": 1, "storageTime": 1, "synchronizationInterval": 1 }Sample:
{ "lock": true, "operationType": 3, "password": "sample string 2" }Sample:
{ "operationType": 8, "enable": true, "monitoringInterval": 1, "storageTime": 1, "synchronizationInterval": 1 }Sample:
{ "operationType": 16 }Sample:
{ "operationType": 13, "packageName": "sample string 1" }Sample:
null
Response Information
Operation result.
Response body formats
application/json, text/json
Sample:
{ "id": 1 }Sample:
{ "versionId": 1, "installType": 0, "id": 1 }