sim_card_group_id
is provided, the SIM cards will be associated with that group. Otherwise, the default group for the current user will be used.curl --location --request POST '/actions/register/sim_cards' \
--header 'Content-Type: application/json' \
--data-raw '{
"registration_codes": [
"0000000001",
"0000000002",
"0000000003"
],
"sim_card_group_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"status": "enabled",
"tags": [
"personal",
"customers",
"active-customers"
]
}'
{
"data": [
{
"actions_in_progress": false,
"created_at": "2018-02-02T22:25:27.521Z",
"current_billing_period_consumed_data": {
"amount": "2049.0",
"unit": "MB"
},
"data_limit": {
"amount": "2048.0",
"unit": "MB"
},
"iccid": "89310410106543789301",
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"imsi": 81932214823362980,
"msisdn": "+13109976224",
"record_type": "sim_card",
"sim_card_group_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"status": {
"reason": "The SIM card is active, ready to connect to networks and consume data.",
"value": "registering"
},
"tags": [
"personal",
"customers",
"active-customers"
],
"type": "physical",
"updated_at": "2018-02-02T22:25:27.521Z"
}
],
"errors": [
{
"code": 0,
"detail": "string",
"meta": {},
"source": {
"parameter": "string",
"pointer": "/json/pointer"
},
"title": "string"
}
]
}
Authorization: Bearer ********************