A profile with status InProcess has an Enable Profile request pending. To stop it, use Cancel Order.
Get All Profiles
Returns every eSIM profile on a SIM360 EID, with each profile’s status.
Auth Scope
urn:grt:gemmContent-Type
application/jsonBase URL
https://gemmapi2.granitenet.com/v2/api/gemm/v1Uses and Requirements
The Get All Profiles API returns every profile on the EID and returns them synchronously in the API response. No callback is sent.
Each profile has its iccid, simCarrier and profileStatus: Enabled, InProcess or Disabled. To get the time the enabled profile became active, use Get Active Profile.
- 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 every profile on the EID in profiles. |
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 profiles are 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 |
|---|---|---|
profiles | array of profile objects | Every profile on the EID, in carrier display order. |
iccid | string | ICCID of the profile. 19-20 digits. |
simCarrier | string | Carrier of the profile, for example ATT, TMOBILE or VERIZON WIRELESS. |
profileStatus | string | Enabled: the profile is enabled on the EID now. Only one profile is enabled at a time. InProcess: an Enable Profile request for this profile is pending. Disabled: the profile is neither enabled nor pending. |
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. |
Code Examples
Related Links
Last updated on