The Activation API allows up to 1,000 EIDs to be activated per request.
SIM360 Activation
Activates a SIM360 EID so that it can send and receive data.
urn:grt:gemmapplication/jsonhttps://gemmapi2.granitenet.com/v2/api/gemm/v1Uses 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
Available For
- SIM360
Headers
| Header | Value |
|---|---|
Authorization | Bearer access-token |
Content-Type | application/json |
macnum | Macnum of the top level account for your organization. |
Request Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
activateOption | string | Yes | The type of activation that you want. Valid values are
|
accountNumber | string | Conditional | The 8-digit account number for an existing child account. Required when activateOption = ExistingAccount. |
sims | array of simInfo objects | Yes | Up to 1000 EIDs for which you want to activate service, specified by simInfo objects. |
simInfo | object | Yes | SIM information. |
eid | string | Yes | 32 digits. |
imei | string | Yes | 15 numeric digits. |
deviceUser | string | No | A user-defined descriptive field, limited to 100 characters. |
simType | string | Yes | The type of SIM. Expected value: Physical. |
accountInfo | object | Conditional | Information 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. |
planName | string | Yes | The plan that you want to assign to the EID. Set this parameter to one of the plan values provided. |
accountCreationMode | string | Conditional | Passed at the request level (not inside accountInfo). Required when activateOption = NewAccount. Possible values are
|
parentAccountNumber | string | Conditional | The 8-digit account number for an existing parent account. Required when activateOption = NewAccount. |
accountInfo | object | Conditional | Information 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. |
customerName | string | Yes | Customer name. |
contactPhone | string | Yes | A phone number where the customer can be reached. |
genInfoEmail | string | Yes | An email address for the customer. |
billingOption | string | Yes | Billing option for the child account(s). |
serviceAddress | object | Yes | Service address for the child account(s). |
address1 | string | Yes | The street address for the SIM's primary place of use. |
city | string | Yes | The city for the SIM's primary place of use. |
state | string | Yes | The two-letter abbreviation of the state for the primary place of use. |
zip | string | Yes | The ZIP code for the SIM's primary place of use. |
billingAddress | object | No | Billing address for the child account(s). |
address1 | string | Yes | The street address for the SIM's billing address. |
city | string | Yes | The city for the SIM's billing address. |
state | string | Yes | The two-letter abbreviation of the state for the billing address. |
zip | string | Yes | The ZIP code for the SIM's billing address. |
invoiceDeliveryMethod | string | No | Possible values are Paper, Paper+Email and EmailOnly. |
invoiceStyle | string | No | Possible 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
| Parameter | Type | Description |
|---|---|---|
transactionID | string | A 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
| Parameter | Type | Description |
|---|---|---|
requestType | string | Name of the requested action. For activation, the value is Activate. |
transactionID | string | A 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. |
simInfo | object | SIM information. |
eid | string | 32 digits. |
iccid | string | 19-20 digits. |
msisdn | string | 10 digits. |
imei | string | 15 digits. |
simCarrier | string | Carrier used for activation. |
simType | string | Physical or Virtual. |
profileOrder | string | Order of the profile. |
result | object | Result status object. |
status | string | Success or Failed. |
message | string | Result message. |
errors | object | List of errors. |
errorCode | string | Error code. |
errorMessage | string | Error message. |
callbackCount | integer | The number of times this callback message has been sent. |
maxCallbackThreshold | integer | The 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
| Parameter | Type | Description |
|---|---|---|
result | object | Result status object. |
status | string | Success or Failed. |
errors | object | List of errors. |
errorCode | string | Error code. |
errorMessage | string | Error 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
| Parameter | Type | Description |
|---|---|---|
requestType | string | Name of the requested action. For activation, the value is Activate. |
simInfo | object | SIM information. |
action | string | Activation. |
simType | string | Physical or Virtual. |
eid | string | 32 digits. |
iccid | string | 19-20 digits. |
simCarrier | string | Carrier used for activation. |
profileOrder | string | Order of the profile. |
imei | string | 15 digits. |
deviceUser | string | A user-defined descriptive field, limited to 100 characters. |
callbackCount | integer | The number of times this callback message has been sent. |
maxCallbackThreshold | integer | The maximum number of times this callback message will be sent if it is not correctly acknowledged. |
transactionID | string | A unique string that associates the request with the results that are sent via a callback service. |
result | object | Result status object. |
status | string | Success or Failed. |
errors | object | List of errors. |
errorCode | string | Error code. |
errorMessage | string | Error message. |