Download OpenAPI specification:
SORACOM SANDBOX API v1
Creates a coupon.
request
| amount | integer <int32> |
| applicableBillItemName | string Enum: "dailyDataTrafficChargeTotal" "dailyChargeTotal" "dailySoracomBeamRequestChargeTotal" |
| expiryYearMonth | string <yyyyMM> |
{- "amount": 1000,
- "applicableBillItemName": "dailyDataTrafficChargeTotal",
- "expiryYearMonth": "string"
}{- "amount": 0.1,
- "balance": 0.1,
- "billItemName": "string",
- "couponCode": "string",
- "expiryYearMonth": "string"
}Performs complex signup process at once, including registering dummy payment method. Specify email and password for an operator which will be created on sandbox, authKeyId and authKey for a real operator on the production environment. An API Key and an API Token will be included in the response if successful. Use the API Key and the API Token to requests afterwards.
request
| authKey required | string |
| authKeyId required | string |
| coverageTypes | Array of strings Items Enum: "g" "jp" Coverage type.
|
| email required | string |
| password required | string |
| registerPaymentMethod | boolean Default: true |
{- "authKey": "string",
- "authKeyId": "string",
- "coverageTypes": [
- "g"
], - "email": "string",
- "password": "string",
- "registerPaymentMethod": true
}{- "apiKey": "string",
- "operatorId": "string",
- "token": "string",
- "userName": "string"
}Retrieves a 'signup token' for registration confirmation. Please specify a pair of AuthKeyId and AuthKey of a SAM user on the production environment to check if the caller has a valid account on it.
| email required | string |
Authentication request.
| authKey | string |
| authKeyId | string |
{- "authKey": "string",
- "authKeyId": "string"
}{- "token": "string"
}Changes the shipping status to 'shipped' and gets ready the subscribers included in the order.
Shipping request
| operatorId required | string |
| orderId required | string |
{- "operatorId": "string",
- "orderId": "string"
}Populates Air stats for testing purpose. Inserted data are going to be automatically accumulated. It is not possible to put the data multiple times with the same timestamp.
| imsi required | string IMSI. |
The Air stats (up/down bytes of data) with specified timestamp.
object Test data for each speed class, including data for both upload and download, with timestamps. Specify a string representing the speed class as a key.
| |
| unixtime | integer <int64> UNIX time (in seconds). |
{- "dataTrafficStatsMap": {
- "property1": {
- "downloadByteSizeTotal": 0,
- "downloadPacketSizeTotal": 0,
- "uploadByteSizeTotal": 0,
- "uploadPacketSizeTotal": 0
}, - "property2": {
- "downloadByteSizeTotal": 0,
- "downloadPacketSizeTotal": 0,
- "uploadByteSizeTotal": 0,
- "uploadPacketSizeTotal": 0
}
}, - "unixtime": 0
}Populates Beam stats for testing purpose. Inserted data are going to be automatically accumulated. It is not possible to put the data multiple times with the same timestamp.
| imsi required | string IMSI. |
The Beam stats (number of requests) with specified timestamp.
object | |
| unixtime | integer <int64> UNIX time (in seconds). |
{- "beamStatsMap": {
- "inHttp": {
- "count": 0
}, - "inMqtt": {
- "count": 0
}, - "inTcp": {
- "count": 0
}, - "inUdp": {
- "count": 0
}, - "outHttp": {
- "count": 0
}, - "outHttps": {
- "count": 0
}, - "outMqtt": {
- "count": 0
}, - "outMqtts": {
- "count": 0
}, - "outTcp": {
- "count": 0
}, - "outTcps": {
- "count": 0
}, - "outUdp": {
- "count": 0
}
}, - "unixtime": 0
}Creates a new subscriber for sandbox.
Create request
| bundles | Array of strings Items Enum: "X3-5MB" "D-500MB" "DU-10GB" "DU-50GB" "DU-100GB" "K2-500MB" Bundle. If necessary, specify one of: |
| subscription | string Enum: "plan01s" "plan01s-low_data_volume" "planP1" "planX3" "plan-D" "plan-K" "plan-KM1" "plan-DU" "plan-K2" Subscription. Specify one of: |
{- "bundle": [
- "D-500MB"
], - "subscription": "plan-D"
}{- "apn": "string",
- "createdAt": 0,
- "expiryTime": 0,
- "imsi": "string",
- "ipAddress": "string",
- "lastModifiedAt": 0,
- "msisdn": "string",
- "operatorId": "string",
- "registrationSecret": "string",
- "serialNumber": "string",
- "speedClass": "string",
- "status": "string",
- "subscription": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}