Mobile Devices
Parameters
| Name | Description |
|---|---|
| id (path) | Numeric ID of the Mobile Device |
Responses
| Code | Description |
|---|---|
| 200 |
Mobile Device data. Media type: application/json Example Value: { "id": 0, "name": "string", "msisdn": "stringstr", "imsi": "string", "imei": "stringstringstr", "ranType": "string", "testNodeId": 0, "testNodeName": "string", "deviceModelId": 0, "deviceModelName": "string", "subscriptionType": "string", "platformName": "string", "deviceId": "string", "nationalFormat": "string", "internationalFormat": "string", "iccid": "string", "eid": "string", "projects": [ { "id": 0, "name": "string" } ] } |
| 404 |
Resource was not found. Media type: application/json Example Value: { "id": 0, "name": "string", "msisdn": "stringstr", "imsi": "string", "imei": "stringstringstr", "ranType": "string", "testNodeId": 0, "testNodeName": "string", "deviceModelId": 0, "deviceModelName": "string", "subscriptionType": "string", "platformName": "string", "deviceId": "string", "nationalFormat": "string", "internationalFormat": "string", "iccid": "string", "eid": "string", "projects": [ { "id": 0, "name": "string" } ] } |
Parameters
| Name | Description |
|---|---|
| id (path) | Numeric ID of the Mobile Device |
Request body
application/json
Example Value:
{ "name": "string", "msisdn": "stringstr", "imsi": "string", "imei": "stringstringstr", "ranType": "string", "testNodeId": 0, "deviceModelId": 0, "subscriptionType": "string", "platformName": "string", "deviceId": "string", "nationalFormat": "string", "internationalFormat": "string", "iccid": "string", "eid": "string", "ecid": "string" }
Responses
| Code | Description |
|---|---|
| 200 |
Mobile Device was updated successfully. Media type: application/json |
| 404 |
Resource was not found. Media type: application/json |
Parameters
| Name | Description |
|---|---|
| id (path) | Numeric ID of the Mobile Device |
Responses
| Code | Description |
|---|---|
| 200 |
Mobile Device was deleted successfully. |
| 404 |
Resource was not found. |
| 409 |
Resource cannot be deleted. |
Parameters
| Name | Description |
|---|---|
| id (path) | Numeric ID of the Mobile Device |
Request body
application/json
Example Value:
{ "command": "PREPARE", "params": "string" }
Responses
| Code | Description |
|---|---|
| 200 |
Result of the Action Execution. Media type: application/json Example Value: { "status": "SUCCESS", "result": [ { "additionalProp1": {}, "additionalProp2": {}, "additionalProp3": {} } ], "error": [ { "additionalProp1": {}, "additionalProp2": {}, "additionalProp3": {} } ], "empty": true } |
| 404 |
Resource was not found. Media type: application/json Example Value: { "status": "FAILURE", "result": [ { "additionalProp1": {}, "additionalProp2": {}, "additionalProp3": {} } ], "error": [ { "additionalProp1": {}, "additionalProp2": {}, "additionalProp3": {} } ], "empty": true } |
| 409 |
Action cannot be executed. Media type: application/json Example Value: { "status": "FAILURE", "result": [ { "additionalProp1": {}, "additionalProp2": {}, "additionalProp3": {} } ], "error": [ { "additionalProp1": {}, "additionalProp2": {}, "additionalProp3": {} } ], "empty": true } |
Parameters
| Name | Description |
|---|---|
| page (query) | The page to list entries. Default value : 0 |
| size (query) | The page size for listing entries. Default value : 20 |
| sort (query) | The sort type for listing entries. |
Responses
| Code | Description |
|---|---|
| 200 |
OK Media type: application/json Example Value: { "totalElements": 0, "totalPages": 0, "number": 0, "sort": { "sorted": true, "unsorted": true, "empty": true }, "size": 0, "content": [ { "id": 0, "name": "string", "msisdn": "stringstr", "imsi": "string", "imei": "stringstringstr", "ranType": "string", "testNodeId": 0, "testNodeName": "string", "deviceModelId": 0, "deviceModelName": "string", "subscriptionType": "string", "platformName": "string", "deviceId": "string", "nationalFormat": "string", "internationalFormat": "string", "iccid": "string", "eid": "string", "projects": [ { "id": 0, "name": "string" } ] } ], "first": true, "last": true, "pageable": { "sort": { "sorted": true, "unsorted": true, "empty": true }, "offset": 0, "paged": true, "unpaged": true, "pageNumber": 0, "pageSize": 0 }, "numberOfElements": 0, "empty": true } |
Parameters
No parameters
Request body required
Media type: application/json
Example Value:
{ "name": "string", "msisdn": "stringstr", "imsi": "string", "imei": "stringstringstr", "ranType": "string", "testNodeId": 0, "deviceModelId": 0, "subscriptionType": "string", "platformName": "string", "deviceId": "string", "nationalFormat": "string", "internationalFormat": "string", "iccid": "string", "eid": "string" }
Responses
| Code | Description |
|---|---|
| 201 |
ID of the Mobile Device. Media type: application/json Example Value: { "id": 0 } |
| 409 |
Name needs to be unique. Media type: application/json Example Value: { "id": 0 } |
Parameters
| Name | Description |
|---|---|
| id * | Numeric ID of the Mobile Device. Type: integer (path) |
| page | The page to list entries. Default value: 0. Type: string (query) |
| size | The page size for listing entries. Default value: 20. Type: string (query) |
| sort | The sort type for listing entries. Type: string (query) |
Responses
| Code | Description |
|---|---|
| 200 |
OK Media type: application/json Example Value: { "totalElements": 0, "totalPages": 0, "number": 0, "sort": { "sorted": true, "unsorted": true, "empty": true }, "size": 0, "content": [ { "id": 0, "name": "string" } ], "first": true, "last": true, "pageable": { "sort": { "sorted": true, "unsorted": true, "empty": true }, "offset": 0, "paged": true, "unpaged": true, "pageNumber": 0, "pageSize": 0 }, "numberOfElements": 0, "empty": true } |
Parameters
| Name | Description |
|---|---|
| id * | Numeric ID of the Mobile Device. Type: integer (path) |
Responses
| Code | Description |
|---|---|
| 200 |
OK Media type: application/json Example Value: { "upnp": true, "netInfo": { "additionalProp1": "string", "additionalProp2": "string", "additionalProp3": "string" }, "batteryInfo": { "additionalProp1": "string", "additionalProp2": "string", "additionalProp3": "string" } } |