You can submit one EID per request. To see every profile on the EID, use Get All Profiles.
Get Active Profile
Returns the eSIM profile that is active on a SIM360 EID now, with the time it became active.
urn:grt:gemmapplication/jsonhttps://gemmapi2.granitenet.com/v2/api/gemm/v1Uses and Requirements
The Get Active Profile API returns the profile that is active on the EID and returns it synchronously in the API response. No callback is sent.
The iccid and simCarrier fields have the same names as in the simInfo block of the profile-activation callback, so you can reuse that part of your callback mapping. The EID is not repeated in the response; use the one you sent in the path. Use this API to fill in the active profile on a record that was created after the callback was sent.
- The Enable Profile feature must be enabled for your account.
- The EID must exist in Mobility, must not be deactivated and must be a Granite SIM360.
- The EID’s account must be under the account in the
macnumheader.
Note
HTTP Status Codes
| Status | When |
|---|---|
200 | The request succeeded. The response contains the active profile in simInfo. |
400 | The EID is not 32 numeric digits, the EID is deactivated or is not a Granite SIM360, or the macnum header is missing or not an 8-digit number. |
401 | The bearer token is missing, invalid or expired. |
403 | The Enable Profile feature is not enabled for your user, your token does not have a role allowed to call this endpoint, you do not have access to the account in the macnum header, or the EID's account is not under that account. |
404 | The EID is not found in Mobility, or no active profile is recorded for it. |
429 | Too many requests were sent in a short period. Wait briefly and retry. |
500 | An unexpected server error occurred. |
503 | The system is under scheduled maintenance. Retry after the maintenance window. |
504 | A dependent service did not respond in time. Retry the request. |
Available For
- SIM360
Headers
| Header | Value |
|---|---|
Authorization | Bearer access-token |
Content-Type | application/json |
macnum | Macnum of the top level account for your organization. |
Path Parameters
| Parameter | Type | Location | Description |
|---|---|---|---|
eid | string | Path Parameter | The EID of the SIM360. 32 numeric digits. |
Request Examples
Responses
Immediate Success Response (200 OK)
Response Fields
| Parameter | Type | Description |
|---|---|---|
simInfo | object | The profile that is active on the EID. |
iccid | string | ICCID of the active profile. 19-20 digits. |
simCarrier | string | Carrier of the active profile, for example ATT, TMOBILE or VERIZON WIRELESS. |
creationTime | string | When the profile became active, in Eastern Time, in the format MM/dd/yyyy HH:mm:ss.fffffff (the same format as the profile-activation callback). |
Failure Responses
For a complete list of errors, see Get Profile - Sync Error Messages.
Immediate Error Message
Error Response Fields
| Parameter | Type | Description |
|---|---|---|
result | object | Result status object. |
status | string | Result status: success or failure. |
errors | array of error objects | List of errors. |
errorCode | string | Error code. |
errorMessage | string | Error message. |
No Active Profile (404 Not Found)
When the EID is found but no active profile is recorded for it, the API returns 404 with a standard problem-details body instead of a result object.