Get network preferences
GET/sim_cards/:sim_card_id/network_preferences
It returns the network preferences currently applied in the SIM card.
Request
Path Parameters
Identifies a SIM card.
Query Parameters
It includes the associated OTA update objects in the response when present.
Responses
200: A successful network preferences definition response.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
Array [
]
]
data
object
mobile_network_operators_preferences
object[]
A list of mobile network operators and the priority that should be applied when the SIM is connecting to the network.
The mobile network operator resource identification UUID.
The mobile network operator resource name.
It determines what is the priority of a specific network operator that should be assumed by a SIM card when connecting to a network. The highest priority is 0, the second highest is 1 and so on.
A list of mobile network operators and the priority that should be applied when the SIM is connecting to the network.
ota_updates
object[]
Identifies the resource.
The identification UUID of the related SIM card resource.
Possible values: [sim_card_network_preferences
]
Represents the type of the operation requested. This will relate directly to the source of the request.
Possible values: [in-progress
, completed
, failed
]
settings
object
A JSON object representation of the operation. The information present here will relate directly to the source of the OTA request.
mobile_network_operators_preferences
object[]
A list of mobile network operators and the priority that should be applied when the SIM is connecting to the network.
The mobile network operator resource identification UUID.
The mobile network operator resource name.
It determines what is the priority of a specific network operator that should be assumed by a SIM card when connecting to a network. The highest priority is 0, the second highest is 1 and so on.
A list of mobile network operators and the priority that should be applied when the SIM is connecting to the network.
A JSON object representation of the operation. The information present here will relate directly to the source of the OTA request.
ISO 8601 formatted date-time indicating when the resource was created.
ISO 8601 formatted date-time indicating when the resource was updated.
ISO 8601 formatted date-time indicating when the resource was created.
ISO 8601 formatted date-time indicating when the resource was updated.
{
"data": {
"record_type": "sim_card_network_preferences",
"sim_card_id": "6b14e151-8493-4fa1-8664-1cc4e6d14158",
"mobile_network_operators_preferences": [
{
"mobile_network_operator_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"mobile_network_operator_name": "AT&T Mobility (USACG)",
"priority": 0
}
],
"ota_updates": [
{
"created_at": "2018-02-02T22:25:27.521Z",
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "ota_update",
"settings": {
"mobile_network_operators_preferences": [
{
"mobile_network_operator_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"mobile_network_operator_name": "AT&T Mobility (USACG)",
"priority": 0
}
]
},
"sim_card_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"status": "in-progress",
"type": "sim_card_network_preferences",
"updated_at": "2018-02-02T22:25:27.521Z"
}
],
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z"
}
}
default: Unexpected error
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
Error[]
source
object
JSON pointer (RFC6901) to the offending entity.
Indicates which query parameter caused the error.
{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}