For the complete documentation index, see llms.txt. This page is also available as Markdown.

View all SIMs

Returns the SIMs on your account, most recent first.

Add one or more query parameters to filter the results. Filters match exactly, and combining filters narrows the results. Omit all filters to return every SIM.

Results are paged. See pageToken and pageSize.

get
Autorizações
AuthorizationstringObrigatório

An OAuth 2.0 client credentials access token, sent as Authorization: Bearer <token>.

Request the token from https://eseye-idp-prod.auth.eu-west-1.amazoncognito.com/oauth2/token using the client ID and client secret Eseye supplied. Tokens expire after one hour.

Parâmetros de consulta
iccIdstringOpcional

The ICC ID of the SIM. Repeat to fetch several.

Example: 8944500000000000123
simIdstringOpcional

The unique identifier for the SIM.

Example: 9445000000000123
iccMnoIdstringOpcional

The mobile network operator the SIM belongs to.

Example: 9953
iccSpecIdintegerOpcional

The specification the SIM was manufactured to.

Example: 12345
iccTypeIdintegerOpcional

The type of SIM, for example plug-in, embedded, or eSIM.

Example: 123
adminSuspendstring · enumOpcional

A yes or no flag.

ValueMeaning
yesThe service or object is disabled.
noThe service or object is not disabled.
Example: noValores possíveis:
systemSuspendstring · enumOpcional

A yes or no flag.

ValueMeaning
yesThe service or object is disabled.
noThe service or object is not disabled.
Example: noValores possíveis:
customerSuspendstring · enumOpcional

A yes or no flag.

ValueMeaning
yesThe service or object is disabled.
noThe service or object is not disabled.
Example: noValores possíveis:
dataSuspendstring · enumOpcional

A yes or no flag.

ValueMeaning
yesThe service or object is disabled.
noThe service or object is not disabled.
Example: noValores possíveis:
voiceSuspendstring · enumOpcional

A yes or no flag.

ValueMeaning
yesThe service or object is disabled.
noThe service or object is not disabled.
Example: noValores possíveis:
messagingSuspendstring · enumOpcional

A yes or no flag.

ValueMeaning
yesThe service or object is disabled.
noThe service or object is not disabled.
Example: noValores possíveis:
eIdstringOpcional

The eUICC identifier of the SIM.

Example: 89049032000000000000000000000001
rspIdintegerOpcional

The remote SIM provisioning platform the SIM uses.

Example: 78901
statusstring · enumOpcional

The status of the SIM.

ValueMeaning
availableThe SIM exists on your account and has a package, but cannot connect to a network. No service charges apply.
activeThe SIM is provisioned and ready to use on the network. Standard service charges and usage charges apply.

Set status to active to activate a SIM, or to available to deactivate it.

Example: activeValores possíveis:
packageIdintegerOpcional

The package applied to the SIM.

Example: 20888
portfolioIdstringOpcional

The portfolio the SIM is assigned to.

Example: a628ebc659f7dac01f9fdcbd1116307a
platformIdintegerOpcional

The platform the SIM is provisioned on.

pin1stringOpcional

The first PIN for the SIM.

pin2stringOpcional

The second PIN for the SIM.

puk1stringOpcional

The first PUK code for the SIM.

puk2stringOpcional

The second PUK code for the SIM.

activatedDatestring · date-timeOpcional

The date the SIM was activated.

Example: 2023-06-28T05:52:03Z
terminatedDatestring · date-timeOpcional

The date the SIM was terminated.

pageTokenstringOpcional

Token for fetching the next page. Omit it for the first page, then pass the nextPageToken from the previous response.

Example: 0
pageSizeinteger · mín: 1 · máx: 300Opcional

The maximum number of results per page. The default is 50.

Example: 50
Respostas
200

A paginated list of SIMs.

application/json

The pagination envelope returned by list endpoints.

pageTokenstringOpcional

Identifier of the current page of results.

Example: 0
nextPageTokenstringOpcional

Pass this back as pageToken to fetch the next page. Only returned when more results exist.

Example: 50
requestedPageSizeintegerOpcional

The page size applied to this request.

Example: 50
itemCountintegerOpcional

The number of items returned in this page.

Example: 13
get/api/v2/sim
GET /api/v2/sim HTTP/1.1
Host: sim.api.anynetiot.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "pageToken": "0",
  "nextPageToken": "50",
  "requestedPageSize": 50,
  "itemCount": 50,
  "items": [
    {
      "iccId": "8944500000000000123",
      "simId": "9445000000000123",
      "iccMnoId": "9953",
      "iccSpecId": 5215,
      "iccTypeId": 152,
      "adminSuspend": "no",
      "systemSuspend": "no",
      "customerSuspend": "no",
      "dataSuspend": "no",
      "messagingSuspend": "no",
      "voiceSuspend": "no",
      "eId": "89049032000000000000000000000001",
      "pin1": null,
      "pin2": null,
      "puk1": null,
      "puk2": null,
      "platformId": 1,
      "terminatedDate": null,
      "status": "active",
      "activatedDate": "2023-09-27T11:21:14Z",
      "attributes": [
        {
          "iccAttributeId": 27076236,
          "iccId": "8944500000000000123",
          "attribute": "siteRef",
          "value": "532",
          "status": "active"
        },
        {
          "iccAttributeId": 27076229,
          "iccId": "8944500000000000123",
          "attribute": "deviceProfileId",
          "value": "3352",
          "status": "active"
        }
      ]
    }
  ]
}

Atualizado

Isto foi útil?