api/v1/pools/{id}/sims

Method: GET https://simportal-api-staging.azurewebsites.net/api/v1/pools/{id}/sims?skip={skip}&take={take}

Summary

Get a list of sims using this pool

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The unique Id of a pool

globally unique identifier

Required

skip

The number of records to skip

integer

Default value is 0

take

The number of records to take. Max value: 100

integer

Default value is 100

Body Parameters

None.

Response Information

Resource Description

Array of Sims

Collection of SimpleSimModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

ModileNumber

string

None.

ICCID

string

None.

State

SimState

None.

Operator

string

None.

CustomerName

string

None.

SimTag

string

None.

HasBoltons

boolean

None.

Tariff

string

None.

TariffAllowance

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "ee2d3db0-ea92-4174-92ec-281401709b9f",
    "ModileNumber": "sample string 2",
    "ICCID": "sample string 3",
    "State": 0,
    "Operator": "sample string 4",
    "CustomerName": "sample string 5",
    "SimTag": "sample string 6",
    "HasBoltons": true,
    "Tariff": "sample string 8",
    "TariffAllowance": 9
  },
  {
    "Id": "ee2d3db0-ea92-4174-92ec-281401709b9f",
    "ModileNumber": "sample string 2",
    "ICCID": "sample string 3",
    "State": 0,
    "Operator": "sample string 4",
    "CustomerName": "sample string 5",
    "SimTag": "sample string 6",
    "HasBoltons": true,
    "Tariff": "sample string 8",
    "TariffAllowance": 9
  }
]

application/xml, text/xml

Sample:
<ArrayOfSimpleSimModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SimPortalApi.Controllers">
  <SimpleSimModel>
    <CustomerName>sample string 5</CustomerName>
    <HasBoltons>true</HasBoltons>
    <ICCID>sample string 3</ICCID>
    <Id>ee2d3db0-ea92-4174-92ec-281401709b9f</Id>
    <ModileNumber>sample string 2</ModileNumber>
    <Operator>sample string 4</Operator>
    <SimTag>sample string 6</SimTag>
    <State>Active</State>
    <Tariff>sample string 8</Tariff>
    <TariffAllowance>9</TariffAllowance>
  </SimpleSimModel>
  <SimpleSimModel>
    <CustomerName>sample string 5</CustomerName>
    <HasBoltons>true</HasBoltons>
    <ICCID>sample string 3</ICCID>
    <Id>ee2d3db0-ea92-4174-92ec-281401709b9f</Id>
    <ModileNumber>sample string 2</ModileNumber>
    <Operator>sample string 4</Operator>
    <SimTag>sample string 6</SimTag>
    <State>Active</State>
    <Tariff>sample string 8</Tariff>
    <TariffAllowance>9</TariffAllowance>
  </SimpleSimModel>
</ArrayOfSimpleSimModel>