GUI - IoT Connect Mobile Type S API リファレンス (2.0.0)
Download OpenAPI specification:Download
Profile Usage (年月指定) 一覧表示用 API
使用量表示 > グループ一覧 > SIMグループ 月別使用 に表示するAPI プロファイル使用量 (年月指定)一覧取得
path Parameters
tenantId required | string ^[\da-f]{32}$ Example: 550e8400e29b41d4a716446655440000 SDPFのテナントに一意に与えられる ID. |
simGroupId required | string ^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$ Example: eea3cd65-1921-4999-bbd7-94f4a4066629 SIMグループID |
query Parameters
date required | string ^\d{4}-\d{2}$ Example: date=2020-08 yyyy-MM形式で年月を指定 |
limit | integer [ 1 .. 1000 ] SIMグループ全体で見てプロファイルを最大で何件返すか。指定なしで全件返す |
offset | integer >= 0 Default: 0 SIMグループ全体で見て何件目から返すか。デフォルト0 |
provider | string Enum: "nttc" "tsl" 指定したプロバイダーでプロファイルを絞り込む |
hsn | string hsnに指定した文字を含むかでSIMを絞り込む |
eid | string eidに指定した文字を含むかでSIMを絞り込む |
imsi | string imsiに指定した文字を含むかでプロファイルを絞り込む |
iccid | string iccidに指定した文字を含むかでプロファイルを絞り込む |
msisdn | string msisdnに指定した文字を含むかでプロファイルを絞り込む |
header Parameters
X-Auth-Token required | string ^[\da-f]{32}$ Example: b41715e07684453abbe8a83eb93fde80 クライアントが Keystone を利用して取得した認証 Token |
Responses
OK
Bad Request
Response samples
- 200
- 400
{- "sims": [
- {
- "hsn": "013AAA0027",
- "eid": "89033024068002496401010000012068",
- "simOrderNo": "ORDER-20210113-1663",
- "monthlyProfileUsage": {
- "profiles": [
- {
- "imsi": "440136789000268",
- "iccid": "2234567890000002070",
- "msisdn": "812010001668111",
- "provider": "tsl",
- "date": "2020-08",
- "usage": [
- {
- "userCountry": "japan",
- "userNetwork": "docomo",
- "monthlyUsage": 1024383242,
- "monthlyUpUsage": 324383242,
- "monthlyDownUsage": 700000000,
- "updatedAt": "2020-09-01 00:23:54"
}
]
}
]
}
}
], - "total": 1
}
Profile Usage (年月日指定) 一覧表示用 API
使用量表示 > グループ一覧 > SIMグループ 日別使用量 に表示するAPI プロファイル使用量 (年月日指定) 一覧取得
path Parameters
tenantId required | string ^[\da-f]{32}$ Example: 550e8400e29b41d4a716446655440000 SDPFのテナントに一意に与えられる ID. |
simGroupId required | string ^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$ Example: eea3cd65-1921-4999-bbd7-94f4a4066629 SIMグループID |
query Parameters
startDate required | string ^\d{4}-\d{2}-\d{2}$ Example: startDate=2021-02-04 yyyy-MM-dd形式で開始年月日を指定 |
endDate required | string ^\d{4}-\d{2}-\d{2}$ Example: endDate=2021-02-06 yyyy-MM-dd形式で終了年月日を指定 |
limit | integer [ 1 .. 10000 ] 使用量一覧を最大で何件返すか。指定なしの場合、全件返す |
offset | integer >= 0 Default: 0 使用量一覧全体で見て何件目から返すか。絞り込みの影響を受ける |
provider | string Enum: "nttc" "tsl" 指定したプロバイダーでプロファイルを絞り込む |
hsn | string hsnに指定した文字を含むかでSIMを絞り込む |
eid | string eidに指定した文字を含むかでSIMを絞り込む |
imsi | string imsiに指定した文字を含むかでプロファイルを絞り込む |
iccid | string iccidに指定した文字を含むかでプロファイルを絞り込む |
msisdn | string msisdnに指定した文字を含むかでプロファイルを絞り込む |
header Parameters
X-Auth-Token required | string ^[\da-f]{32}$ Example: b41715e07684453abbe8a83eb93fde80 クライアントが Keystone を利用して取得した認証 Token |
Responses
OK
Bad Request
Response samples
- 200
- 400
{- "sims": [
- {
- "hsn": "013AAA0027",
- "eid": "89033024068002496401010000012068",
- "simOrderNo": "ORDER-20210113-1663",
- "dailyProfileUsage": {
- "profiles": [
- {
- "imsi": "440136789000268",
- "iccid": "2234567890000002070",
- "msisdn": "812010001668888",
- "provider": "nttc",
- "dates": [
- {
- "date": "2020-08-11",
- "usages": [
- {
- "userCountry": "japan",
- "userNetwork": "docomo",
- "dailyUsage": 1024,
- "dailyUpUsage": null,
- "dailyDownUsage": null,
- "updatedAt": "2020-08-11 00:23:54"
}
]
}
]
}
]
}
}
], - "total": 1
}
SIM一覧(SIMグループ別)表示用API
リソース管理 > SIM管理 > グループ一覧 > SIMグループ SIM一覧 に表示するAPI SIM(SIMグループ別)一覧取得
path Parameters
tenantId required | string ^[\da-f]{32}$ Example: 550e8400e29b41d4a716446655440000 SDPFのテナントに一意に与えられる ID. |
simGroupId required | string ^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$ Example: eea3cd65-1921-4999-bbd7-94f4a4066629 SIMグループID |
query Parameters
quiet | boolean trueの場合hsn,imsiのみを出力する |
quietWithMultiAccessStatus | boolean trueの場合マルチアクセスSIMに絞り込んだうえでhsn,imsi,profileStatusのみを出力する |
showDeletedSim | boolean trueの場合削除済みSIMも含める |
limit | integer [ 0 .. 10000 ] SIMグループ全体で見てプロファイルを最大で何件返すか。指定なしで全件返す |
offset | integer >= 0 SIMグループ全体で見て何件目から返すか。デフォルト0 |
provider | string Enum: "nttc" "tsl" 指定したプロバイダーでプロファイルを絞り込む |
esimStatus | string Enum: "enabled" "disabled" "deleted" 指定したeSIMステータスでプロファイルを絞り込む |
profileStatus | string Enum: "inactive" "active" "suspend" "sleeping" "delete" 指定したプロファイルステータスでプロファイルを絞り込む |
profileStatus_not | string Enum: "inactive" "active" "suspend" "sleeping" "delete" 指定したプロファイルステータスを除外するようにプロファイルを絞り込む |
hsn | string hsnに指定した文字を含むかでSIMを絞り込む |
eid | string eidに指定した文字を含むかでSIMを絞り込む |
orderNo | string orderNoに指定した文字を含むかでSIMを絞り込む |
imsi | string imsiに指定した文字を含むかでプロファイルを絞り込む |
iccid | string iccidに指定した文字を含むかでプロファイルを絞り込む |
msisdn | string msisdnに指定した文字を含むかでプロファイルを絞り込む |
plan | string Enum: "payg" "fixed" "null" 指定したプランでプロファイルを絞り込む、nullで開通前などプラン未設定プロファイルに絞り込み |
plan_not | string Enum: "payg" "fixed" "null" 指定したプランを除外するようにプロファイルを絞り込む、nullで開通前などプラン未設定プロファイルのみ除外 |
upStream | boolean trueの場合上り特価のみに、falseの場合上り特価以外に絞り込む |
cn | boolean trueの場合閉域のみに、falseの場合インターネット接続のみに絞り込む |
icgw | boolean trueの場合ICGW申し込み済みのみに、falseの場合ICGW申し込み前のみに絞り込む |
cnActIpAddress | string cnActIpAddressに指定した文字を含むかでプロファイルを絞り込む |
cnSbyIpAddress | string cnSbyIpAddressに指定した文字を含むかでプロファイルを絞り込む |
icgwEastIpAddress | string icgwEastIpAddressに指定した文字を含むかでプロファイルを絞り込む |
icgwWestIpAddress | string icgwWestIpAddressに指定した文字を含むかでプロファイルを絞り込む |
globalStaticIpAddress | string globalStaticIpAddressに指定した文字を含むかでプロファイルを絞り込む |
header Parameters
X-Auth-Token required | string ^[\da-f]{32}$ Example: b41715e07684453abbe8a83eb93fde80 クライアントが Keystone を利用して取得した認証 Token |
Responses
OK
Bad Request
Response samples
- 200
- 400
{- "sims": [
- {
- "hsn": "013AAA0026",
- "eid": "89033024068002496401010005051672",
- "simGrade": "normal",
- "simType": "hard",
- "simOrderNo": "ORDER-20201224-1056",
- "additionalService": null,
- "oemEncKey": null,
- "oemMacKey": null,
- "oemKekKey": null,
- "profiles": [
- {
- "imsi": "440136789000269",
- "iccid": "2234567890000002071",
- "msisdn": "852196310050001",
- "provider": "nttc",
- "profileStatus": "active",
- "plan": "fixed",
- "limit": null,
- "totalLimit": null,
- "upLimit": 1048576,
- "totalUpLimit": 1048576,
- "downLimit": 1048576,
- "puk1": "53946056",
- "puk2": "53946056",
- "esimStatus": "enabled",
- "cn": false,
- "cnActIpAddress": null,
- "cnSbyIpAddress": null,
- "upStream": true,
- "icgw": false,
- "icgwInProgress": false,
- "icgwEastIpAddress": null,
- "icgwWestIpAddress": null,
- "dedicatedPlan": false,
- "shareName": null,
- "testMode": null,
- "enabledAt": null,
- "testModeEndedAt": null,
- "shareGroupLeftAt": null,
- "globalStaticIpAddress": null,
- "billingSpan": null,
- "expDate": null,
- "multiAccess": false
}
], - "profileSwitching": false
}, - {
- "hsn": "013AAA0027",
- "eid": "89033024068002496401010005051673",
- "simGrade": "normal",
- "simType": "hard",
- "simOrderNo": "ORDER-20201224-1057",
- "additionalService": null,
- "oemEncKey": null,
- "oemMacKey": null,
- "oemKekKey": null,
- "profiles": [
- {
- "imsi": "440136789000268",
- "iccid": "2234567890000002070",
- "msisdn": "852196310050000",
- "provider": "nttc",
- "profileStatus": "active",
- "plan": "payg",
- "limit": 1048576,
- "totalLimit": null,
- "upLimit": null,
- "totalUpLimit": null,
- "downLimit": null,
- "puk1": "22115413",
- "puk2": "22115413",
- "esimStatus": "enabled",
- "cn": true,
- "cnActIpAddress": "10.0.0.5",
- "cnSbyIpAddress": "10.0.1.5",
- "upStream": false,
- "icgw": false,
- "icgwInProgress": false,
- "icgwEastIpAddress": null,
- "icgwWestIpAddress": null,
- "dedicatedPlan": false,
- "shareName": null,
- "testMode": null,
- "enabledAt": "2020-07-07",
- "testModeEndedAt": null,
- "shareGroupLeftAt": null,
- "globalStaticIpAddress": null,
- "billingSpan": null,
- "expDate": null,
- "multiAccess": false
}, - {
- "imsi": "440136789000270",
- "iccid": "2234567890000002072",
- "msisdn": "852196310050002",
- "provider": "nttc",
- "profileStatus": "active",
- "plan": "fixed",
- "limit": 1048576,
- "totalLimit": null,
- "upLimit": null,
- "totalUpLimit": null,
- "downLimit": null,
- "puk1": "53946057",
- "puk2": "53946057",
- "esimStatus": "enabled",
- "cn": false,
- "cnActIpAddress": null,
- "cnSbyIpAddress": null,
- "upStream": false,
- "icgw": true,
- "icgwInProgress": false,
- "icgwEastIpAddress": "10.96.0.1",
- "icgwWestIpAddress": "10.224.0.1",
- "dedicatedPlan": false,
- "shareName": null,
- "testMode": false,
- "enabledAt": null,
- "testModeEndedAt": "2022-07-21",
- "shareGroupLeftAt": "2023-03-29",
- "globalStaticIpAddress": null,
- "billingSpan": null,
- "expDate": null,
- "multiAccess": false
}, - {
- "imsi": "440136789000271",
- "iccid": "2234567890000002073",
- "msisdn": "852196310050003",
- "provider": "nttc",
- "profileStatus": "active",
- "plan": "fixed",
- "limit": 1048576,
- "totalLimit": null,
- "upLimit": null,
- "totalUpLimit": null,
- "downLimit": null,
- "puk1": "53946058",
- "puk2": "53946059",
- "esimStatus": "enabled",
- "cn": false,
- "cnActIpAddress": null,
- "cnSbyIpAddress": null,
- "upStream": false,
- "icgw": false,
- "icgwInProgress": false,
- "icgwEastIpAddress": null,
- "icgwWestIpAddress": null,
- "dedicatedPlan": false,
- "shareName": "グループA",
- "testMode": true,
- "enabledAt": "2020-07-07",
- "testModeEndedAt": null,
- "shareGroupLeftAt": "2023-03-29",
- "globalStaticIpAddress": null,
- "billingSpan": null,
- "expDate": null,
- "multiAccess": false
}
], - "profileSwitching": true
}
], - "total": 4
}
プロファイル残量一覧(SIMグループ別)表示用API
残量表示 > プロファイル残量 > プロファイル残量一覧 に表示するAPI プロファイル残量一覧(SIMグループ別)取得
path Parameters
tenantId required | string ^[\da-f]{32}$ Example: 550e8400e29b41d4a716446655440000 SDPFのテナントに一意に与えられる ID. |
simGroupId required | string ^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$ Example: eea3cd65-1921-4999-bbd7-94f4a4066629 SIMグループID |
query Parameters
limit | integer [ 1 .. 5000 ] SIMグループ全体で見て残量一覧を最大で何件返すか。指定なしの場合、全件返す |
offset | integer >= 0 Default: 0 SIMグループ全体で見て何件目から返すか |
header Parameters
X-Auth-Token required | string ^[\da-f]{32}$ Example: b41715e07684453abbe8a83eb93fde80 クライアントが Keystone を利用して取得した認証 Token |
Responses
OK
Bad Request
Response samples
- 200
- 400
{- "sims": [
- {
- "hsn": "013AAA0027",
- "profiles": [
- {
- "imsi": "440136789000268",
- "msisdn": "852196310050000",
- "provider": "nttc",
- "plan": "payg",
- "upStream": false,
- "totalLimit": 1048576,
- "currentRemainUsage": 1048,
- "totalUpLimit": null,
- "currentRemainUpUsage": null,
- "dedicatedPlan": false
}, - {
- "imsi": "440136789000269",
- "msisdn": "852196310050001",
- "provider": "nttc",
- "plan": "fixed",
- "upStream": true,
- "totalLimit": null,
- "currentRemainUsage": null,
- "totalUpLimit": 3145728,
- "currentRemainUpUsage": 1048576,
- "dedicatedPlan": false
}
]
}
], - "total": 2
}
SIM利用状況表示API
リソース管理 > SIM管理 > グループ一覧 を表示するためのAPI SIM利用状況取得. 廃止済のSIMやグループは除く
path Parameters
tenantId required | string ^[\da-f]{32}$ Example: 550e8400e29b41d4a716446655440000 SDPFのテナントに一意に与えられる ID. |
header Parameters
X-Auth-Token required | string ^[\da-f]{32}$ Example: b41715e07684453abbe8a83eb93fde80 クライアントが Keystone を利用して取得した認証 Token |
Responses
OK
Bad Request
Response samples
- 200
- 400
{- "groups": [
- {
- "simGroupId": "79a0a06a-7290-417d-aadb-e542a6294988",
- "simGroupName": "SO確認",
- "isDefault": false,
- "hardSim": {
- "normalSim": 10,
- "industrialSim": 0
}, - "chipSim": {
- "normalSim": 0,
- "industrialSim": 0
}, - "profiles": {
- "tsl": 0,
- "csl": 0,
- "nttc": 10
}, - "activeProfiles": {
- "tsl": 0,
- "csl": 0,
- "nttc": 6
}
}, - {
- "simGroupId": "7e29645c-1ad8-42fd-be9c-eaac3f8feb45",
- "simGroupName": "default",
- "isDefault": true,
- "hardSim": {
- "normalSim": 54,
- "industrialSim": 0
}, - "chipSim": {
- "normalSim": 0,
- "industrialSim": 0
}, - "profiles": {
- "tsl": 15,
- "csl": 15,
- "nttc": 34
}, - "activeProfiles": {
- "tsl": 0,
- "csl": 0,
- "nttc": 8
}
}, - {
- "simGroupId": "f912bf94-bb52-40ef-8620-1ee16c786673",
- "simGroupName": "課金確認",
- "isDefault": false,
- "hardSim": {
- "normalSim": 6,
- "industrialSim": 0
}, - "chipSim": {
- "normalSim": 0,
- "industrialSim": 0
}, - "profiles": {
- "tsl": 15,
- "csl": 15,
- "nttc": 40
}, - "activeProfiles": {
- "tsl": 0,
- "csl": 0,
- "nttc": 14
}
}
]
}
トランザクション詳細一覧表示API
処理状況表示 > 処理状況一覧 を表示する トランザクション一覧取得
path Parameters
tenantId required | string ^[\da-f]{32}$ Example: 550e8400e29b41d4a716446655440000 SDPFのテナントに一意に与えられる ID. |
query Parameters
status | string Enum: "success" "processing" "failed" "cancel" "all" Example: status=success success, processing, failed, cancel, allで絞り込み, 指定がない場合は全て表示 |
type | string Enum: "changePlan" "changeLimit" "deleteProfile" "enableProfile" "switchProfile" "sleepProfile" "wakeProfile" "orderProfile" "terminateSim" "downloadProfile" "orderSim" "deactiveSim" "reactiveSim" "auditEsim" "changeProfileCnIpAddress" "cancelChangePlan" "connectCn" "enableIcgw" "profileShareGroupModify" "addLimit" Example: type=changePlan transaction typeで絞り込み, 指定がない場合は全て表示 |
header Parameters
X-Auth-Token required | string ^[\da-f]{32}$ Example: b41715e07684453abbe8a83eb93fde80 クライアントが Keystone を利用して取得した認証 Token |
Responses
OK
Bad Request
Response samples
- 200
- 400
{- "transactions": [
- {
- "id": "tran-20210104-80768",
- "transactionType": "enableProfile",
- "status": "success",
- "startedAt": "2021-01-04 10:01:09",
- "endedAt": "2021-01-04 11:08:03",
- "updatedAt": "2021-01-04 11:08:03",
- "detail": {
- "hsn": "013AAA0027",
- "imsi": "440136789000268",
- "plan": "payg",
- "limit": 1048576,
- "network": "internet",
- "upStream": false,
- "upLimit": null,
- "downLimit": null,
- "testMode": true
}
}, - {
- "id": "ORDER-20201224-1055",
- "transactionType": "orderSim",
- "status": "success",
- "startedAt": "2020-12-24 10:55:32",
- "endedAt": "2021-01-03 12:39:22",
- "updatedAt": "2021-01-03 12:39:22",
- "detail": {
- "simGroupId": "7e29645c-1ad8-42fd-be9c-eaac3f8feb45",
- "simType": "hard",
- "simGrade": "normal",
- "provider": "nttc",
- "profileSwitching": false,
- "quantity": 40,
- "contractorName": "山田 太郎",
- "contractorCompany": "NTTコミュニケーションズ",
- "shippingPostalCode": "100-0004",
- "shippingPrefecture": "東京都",
- "shippingCity": "千代田区",
- "shippingCityAdditionalInfo": null,
- "shippingAddress": "大手町2-3-1",
- "shippingBuilding": "大手町プレイスウェストタワー31F",
- "packageRecipient": "山田 太郎",
- "phoneNumber": "000-0000-0000",
- "contractorEmailAddress": "example@ntt.com",
- "additionalService": "eSimSecurity"
}
}, - {
- "id": "tran-sdp-20220426-042249-0000",
- "transactionType": "profileShareGroupModify",
- "status": "cancel",
- "startedAt": "2022-04-25 10:55:32",
- "endedAt": "2022-04-26 12:39:22",
- "updatedAt": "2022-04-26 12:39:22",
- "detail": {
- "hsn": "013AAA0025",
- "imsi": "440130000096015",
- "fromShareId": "100000003",
- "toShareId": "000000003",
- "effectiveDate": "20220501"
}
}
]
}