parent
3bc01b0bfb
commit
cacc4d4772
@ -0,0 +1,4 @@
|
||||
package org.wso2.iot.integration.util;
|
||||
|
||||
public class ServerRestart {
|
||||
}
|
@ -1,45 +1,92 @@
|
||||
{
|
||||
"POST": {
|
||||
"name": "milan",
|
||||
"id": 101234,
|
||||
"name": "androiddevice1234",
|
||||
"type": "android",
|
||||
"description": "milan123",
|
||||
"deviceIdentifier": "1234",
|
||||
"description": "this is an android device",
|
||||
"deviceIdentifier": "d24f870f390352a41234",
|
||||
"enrolmentInfo": {
|
||||
"id": 101234,
|
||||
"device": {
|
||||
},
|
||||
"dateOfEnrolment": 0,
|
||||
"dateOfLastUpdate": 0,
|
||||
"ownership": "BYOD",
|
||||
"status": "ACTIVE",
|
||||
"status": "CREATED",
|
||||
"owner": "admin"
|
||||
},
|
||||
"properties": [
|
||||
"features": [
|
||||
{
|
||||
"name": "IMEI",
|
||||
"value": "123123123"
|
||||
},
|
||||
"id": 10,
|
||||
"code": "aaaa1111",
|
||||
"name": "newfeature1",
|
||||
"description": "this is the new feature 1",
|
||||
"deviceType": "android",
|
||||
"metadataEntries": [
|
||||
{
|
||||
"name": "IMSI",
|
||||
"value": "123123123"
|
||||
"id": 10,
|
||||
"value": {
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"PUT": {
|
||||
"name": "milan123",
|
||||
"type": "android",
|
||||
"description": "updatedDescription",
|
||||
"deviceIdentifier": "1234",
|
||||
"enrolmentInfo": {
|
||||
"ownership": "BYOD",
|
||||
"status": "ACTIVE",
|
||||
"owner": "admin",
|
||||
"dateOfEnrolment": "1445438864650"
|
||||
},
|
||||
}
|
||||
],
|
||||
"properties": [
|
||||
{
|
||||
"name": "IMEI",
|
||||
"value": "123123123"
|
||||
"name": "property1",
|
||||
"value": "value1"
|
||||
}
|
||||
],
|
||||
"deviceInfo": {
|
||||
"deviceModel": "S8",
|
||||
"vendor": "SAMSUNG",
|
||||
"osVersion": "5.1",
|
||||
"batteryLevel": 1,
|
||||
"internalTotalMemory": 32,
|
||||
"internalAvailableMemory": 24,
|
||||
"externalTotalMemory": 64,
|
||||
"externalAvailableMemory": 60,
|
||||
"operator": "dialog",
|
||||
"connectionType": "GSM",
|
||||
"mobileSignalStrength": 1,
|
||||
"ssid": "picassowifi",
|
||||
"cpuUsage": 0,
|
||||
"totalRAMMemory": 2,
|
||||
"availableRAMMemory": 1,
|
||||
"pluggedIn": false,
|
||||
"location": {
|
||||
"deviceId": 0,
|
||||
"deviceIdentifier": {
|
||||
"id": "string",
|
||||
"type": "string"
|
||||
},
|
||||
"latitude": 0,
|
||||
"longitude": 0,
|
||||
"street1": "string",
|
||||
"street2": "string",
|
||||
"city": "string",
|
||||
"state": "string",
|
||||
"zip": "string",
|
||||
"country": "string"
|
||||
},
|
||||
"deviceDetailsMap": {
|
||||
},
|
||||
"imei": "string",
|
||||
"imsi": "string"
|
||||
},
|
||||
"applications": [
|
||||
{
|
||||
"name": "IMSI",
|
||||
"value": "123123123"
|
||||
"id": 0,
|
||||
"platform": "string",
|
||||
"category": "string",
|
||||
"name": "string",
|
||||
"locationUrl": "string",
|
||||
"imageUrl": "string",
|
||||
"version": "string",
|
||||
"type": "string",
|
||||
"appProperties": {
|
||||
},
|
||||
"applicationIdentifier": "string",
|
||||
"memoryUsage": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -1,18 +1,4 @@
|
||||
{
|
||||
"POST": {
|
||||
"responseCode": "Created",
|
||||
"responseMessage": "Device enrollment succeeded."
|
||||
},
|
||||
"PUT": {
|
||||
"responseCode": "Accepted",
|
||||
"responseMessage": "Device enrollment has updated successfully"
|
||||
},
|
||||
"GET": {
|
||||
"responseCode": "Accepted",
|
||||
"responseMessage": "Device has already enrolled"
|
||||
},
|
||||
"DELETE": {
|
||||
"responseCode": "Accepted",
|
||||
"responseMessage": "Device has removed successfully"
|
||||
}
|
||||
"responseCode": "OK",
|
||||
"responseMessage": "Android device, which carries the id \u0027d24f870f390352a41\u0027 has successfully been enrolled"
|
||||
}
|
Loading…
Reference in new issue