Skip to Content
GEMMSIM LifecycleActivateSIM360 Activation

SIM360 Activation

POSTsubscriber-management/actions/activateSIM LifecycleOpenAPI

Activates a SIM360 EID so that it can send and receive data.

Auth Scope
urn:grt:gemm
Content-Type
application/json
Base URL
https://gemmapi2.granitenet.com/v2/api/gemm/v1

Uses and Requirements

The Activation API can activate an EID. Internally, it activates three ICCIDs (ATT, T-Mobile and Verizon), with ATT as the primary enabled profile.

Mobility activates the secondary and tertiary ICCIDs only if the primary ICCID activation succeeds.

After accepting and validating the request, Mobility sends a separate callback for each of the three ICCIDs.

If validation fails for the EID for any reason, Mobility rejects the request and sends a single callback that reports the failure.

Info

The Activation API allows up to 1,000 EIDs to be activated per request.

Available For

  • SIM360

Headers

HeaderValue
AuthorizationBearer access-token
Content-Typeapplication/json
macnumMacnum of the top level account for your organization.

Request Body Parameters

ParameterTypeRequiredDescription
activateOptionstringYesThe type of activation that you want. Valid values are
  • ExistingAccount - Activate the EID under an existing child account. When you select this option, accountNumber is required.
  • NewAccount - Activate the EID under new child account(s). When you select this option, parentAccountNumber, accountCreationMode and accountInfo are required. Depending on accountCreationMode, accountInfo is passed either at the request level or on each SIM.
accountNumberstringConditionalThe 8-digit account number for an existing child account. Required when activateOption = ExistingAccount.
simsarray of simInfo objectsYesUp to 1000 EIDs for which you want to activate service, specified by simInfo objects.
simInfoobjectYesSIM information.
eidstringYes32 digits.
imeistringYes15 numeric digits.
deviceUserstringNoA user-defined descriptive field, limited to 100 characters.
simTypestringYesThe type of SIM. Expected value: Physical.
accountInfoobjectConditionalInformation to create a separate child account for this SIM. Required on every SIM when activateOption = NewAccount and accountCreationMode = CreateSeparateAccountForEachSIM. Has the same structure as the request-level accountInfo object described below. Not used for CreateOneAccountForAllSIMs.
planNamestringYesThe plan that you want to assign to the EID. Set this parameter to one of the plan values provided.
accountCreationModestringConditionalPassed at the request level (not inside accountInfo). Required when activateOption = NewAccount.
Possible values are
  • CreateOneAccountForAllSIMs - Using the AccountInfo provided, Mobility creates one child account and activates all SIMs under it.
  • CreateSeparateAccountForEachSIM - Using the AccountInfo provided on each SIM, Mobility creates a separate child account for each SIM.
parentAccountNumberstringConditionalThe 8-digit account number for an existing parent account. Required when activateOption = NewAccount.
accountInfoobjectConditionalInformation to create new child account(s). Required when activateOption = NewAccount and accountCreationMode = CreateOneAccountForAllSIMs. When accountCreationMode = CreateSeparateAccountForEachSIM, pass this object on each entry in sims instead.
customerNamestringYesCustomer name.
contactPhonestringYesA phone number where the customer can be reached.
genInfoEmailstringYesAn email address for the customer.
billingOptionstringYesBilling option for the child account(s).
serviceAddressobjectYesService address for the child account(s).
address1stringYesThe street address for the SIM's primary place of use.
citystringYesThe city for the SIM's primary place of use.
statestringYesThe two-letter abbreviation of the state for the primary place of use.
zipstringYesThe ZIP code for the SIM's primary place of use.
billingAddressobjectNoBilling address for the child account(s).
address1stringYesThe street address for the SIM's billing address.
citystringYesThe city for the SIM's billing address.
statestringYesThe two-letter abbreviation of the state for the billing address.
zipstringYesThe ZIP code for the SIM's billing address.
invoiceDeliveryMethodstringNoPossible values are Paper, Paper+Email and EmailOnly.
invoiceStylestringNoPossible values are Child-No Bill and Summary Bill.

Request Examples

Request to activate an EID using an existing account

Request to activate an EID using a single new account creation method

Request to activate an EID using multiple new accounts creation method

Responses

Immediate Success Response (200 OK)

Response Fields

ParameterTypeDescription
transactionIDstringA unique string that associates the request with the results that are sent via a callback service.
Mobility sends a separate callback for each SIM that matched the request criteria, indicating whether the operation succeeded for that SIM and containing any requested information. All callbacks have the same transactionID.

Callback Success Response

Example success callbacks when all three profiles activate:

Example Success SubscriberService Callback Response for ICCID 1:

Example Success SubscriberService Callback Response for ICCID 2:

Example Success SubscriberService Callback Response for ICCID 3:

Response Fields

ParameterTypeDescription
requestTypestringName of the requested action. For activation, the value is Activate.
transactionIDstringA unique string that associates the request with the results that are sent via a callback service. Mobility sends a separate callback for each SIM that matched the request criteria, indicating whether the operation succeeded for that SIM and containing any requested information. All callbacks have the same transactionID.
simInfoobjectSIM information.
eidstring32 digits.
iccidstring19-20 digits.
msisdnstring10 digits.
imeistring15 digits.
simCarrierstringCarrier used for activation.
simTypestringPhysical or Virtual.
profileOrderstringOrder of the profile.
resultobjectResult status object.
statusstringSuccess or Failed.
messagestringResult message.
errorsobjectList of errors.
errorCodestringError code.
errorMessagestringError message.
callbackCountintegerThe number of times this callback message has been sent.
maxCallbackThresholdintegerThe maximum number of times this callback message will be sent if it is not correctly acknowledged.

Failure Responses

For a complete list of error codes, messages, causes, and resolutions, see Activation - Sync Error Messages and Activation - Async Error Messages.

Immediate Error Message

Error Response Fields

ParameterTypeDescription
resultobjectResult status object.
statusstringSuccess or Failed.
errorsobjectList of errors.
errorCodestringError code.
errorMessagestringError message.

Example Async Error Message

Example failure callbacks when the primary activation fails:

Example SubscriberService Callback Response for ICCID 1:

Example SubscriberService Callback Response for ICCID 2:

Example SubscriberService Callback Response for ICCID 3:

If the request fails validation and is rejected:

Error Response Fields

ParameterTypeDescription
requestTypestringName of the requested action. For activation, the value is Activate.
simInfoobjectSIM information.
actionstringActivation.
simTypestringPhysical or Virtual.
eidstring32 digits.
iccidstring19-20 digits.
simCarrierstringCarrier used for activation.
profileOrderstringOrder of the profile.
imeistring15 digits.
deviceUserstringA user-defined descriptive field, limited to 100 characters.
callbackCountintegerThe number of times this callback message has been sent.
maxCallbackThresholdintegerThe maximum number of times this callback message will be sent if it is not correctly acknowledged.
transactionIDstringA unique string that associates the request with the results that are sent via a callback service.
resultobjectResult status object.
statusstringSuccess or Failed.
errorsobjectList of errors.
errorCodestringError code.
errorMessagestringError message.

Code Examples

Last updated on