簡易リソース取得API (1.0)
Download OpenAPI specification:Download
概要
- 本APIでは、SDPF-NWが提供する各リソース(terminal, ipoe, guarantee, vpn, fic-connection, order)の参照が可能です。
ルーター簡易情報一覧取得
テナント内の全てのルーターリソースを参照するAPI
query Parameters
limit | integer [ 1 .. 1000 ] Default: 10 ページあたりの表示件数の指定(デフォルト10, 最大1000) |
offset | integer >= 0 Default: 0 表示するページ番号の指定(デフォルト0) |
terminalId | string terminal リソースのID. 指定なしならテナント内のすべての terminal リソースが検索対象 キーバリューペアを繰り返し指定することで複数の Terminals リソースを指定可能 (例: terminalId=ox1234567890&terminalId=ox1234567891) |
cutomerNote | string customerNoteの部分一致検索 |
sortKey | string Enum: "terminalId" "customerNote" "mobileId" "ipoeId" "resourceStatus" "updateTime" ソート項目の指定. レスポンスボディの項目から |
direction | string ソート順の指定. asc: 昇順, desc: 降順 |
resourceStatus | string Enum: "inactive" "active" "terminated" リソースのステータス |
terminalType | string Enum: "rentalTerminal" "selfTerminal" セルフ端末、レンタル端末どちらか判定用の項目 |
breakOutListId | string 指定した breakOutList リソースが紐づく端末を検索 |
header Parameters
X-Auth-Token required | string ^[0-9a-f]{32}$ Example: dc03494823a841338430052e9ee95e07 クライアントが Keystone を利用して取得した認証 Token |
Responses
User Found
Bad Request
Unauthorized
Forbidden
User Not Found
Internal Server Error
Response samples
- 200
{- "limit": 100,
- "offset": 0,
- "total": 1,
- "terminals": [
- {
- "terminalId": "Z123456789",
- "ref": "/v1/terminals/Z000000001",
- "tenantId": "550e8400e29b41d4a716446655440000",
- "resourceStatus": "inactive",
- "orderId": "550e8400e29b41d4a716446655440001",
- "orderStatus": "applied",
- "creationTime": "2019-05-21T10:05:48+09:00",
- "updateTime": "2019-05-21T10:05:48+09:00",
- "serviceStartTime": "2019-05-21T10:05:48+09:00",
- "customerNote": "東京支店ルーター",
- "vpnId": "Z123456789",
- "ipoeId": "Z123456789",
- "mobileId": "Z123456789",
- "loopbackIpv4Address": "10.0.0.1",
- "primaryCircuit": {
- "circuitType": "ipoe",
- "circuitId": "Z123456789",
- "ref": "/v1/ipoe/hikari-collabo/Z123456789"
}, - "secondaryCircuit": {
- "circuitType": "mobile",
- "circuitId": "Z123456789",
- "ref": "/v1/ipoe/hikari-collabo/Z123456789"
}, - "terminalType": "rentalTerminal"
}
]
}
IPoE回線簡易情報一覧取得API
IPoE回線簡易情報一覧取得
query Parameters
limit | integer [ 1 .. 1000 ] Default: 10 ページあたりの表示件数の指定(デフォルト10, 最大1000) |
offset | integer >= 0 Default: 0 表示するページ番号の指定(デフォルト0) |
ipoeId | string <= 100 characters ^Z[0-9]{9}$ Example: ipoeId=Z123456789 IPoE リソースのID. 指定なしならテナント内のすべての terminal リソースが検索対象. 複数指定も可能. 複数指定の場合の例: ipoeId=Z123456788&ipoeId=Z1234556789 |
customerNote | string customerNoteの部分一致検索 |
sortKey | string Enum: "ipoeId" "customerNote" "ipv4Address" "resourceStatus" "updateTime" ソート項目の指定. レスポンスボディの項目から |
direction | string Enum: "asc" "desc" ソート順の指定. asc: 昇順, desc: 降順 |
resourceStatus | string Enum: "inactive" "active" "terminated" リソースのステータス |
header Parameters
X-Auth-Token required | string ^[0-9a-f]{32}$ Example: dc03494823a841338430052e9ee95e07 クライアントが Keystone を利用して取得した認証 Token |
Responses
OK
Response samples
- 200
{- "limit": 100,
- "offset": 0,
- "total": 1,
- "ipoes": [
- {
- "tenantId": "550e8400e29b41d4a716446655440000",
- "resourceStatus": "inactive",
- "orderId": "550e8400e29b41d4a716446655440000",
- "orderStatus": "applied",
- "creationTime": "2019-05-21T10:05:48+09:00",
- "updateTime": "2019-05-21T10:05:48+09:00",
- "serviceStartTime": "2019-05-21T10:05:48+09:00",
- "ipoeId": "Z123456789",
- "ipv4Address": "192.0.2.1/32",
- "customerNote": "IPoE回線1",
- "ref": "/v1/resource-summary/ipoe/hikari-collabo/Z123456789"
}
]
}
VPN簡易情報一覧取得API
VPNリソースを一覧取得するAPI
query Parameters
resourceStatus | string Enum: "inactive" "active" "terminated" リソースのステータス |
header Parameters
X-Auth-Token required | string ^[0-9a-f]{32}$ Example: dc03494823a841338430052e9ee95e07 クライアントが Keystone を利用して取得した認証 Token |
Responses
Response samples
- 200
{- "vpns": [
- {
- "tenantId": "550e8400e29b41d4a716446655440000",
- "vpnId": "V123456789",
- "ref": "/v1/resource-summary/vpns/V123456789",
- "resourceStatus": "inactive",
- "orderId": "550e8400e29b41d4a716446655440000",
- "orderStatus": "applied",
- "creationTime": "2019-05-21T10:05:48+09:00",
- "updateTime": "2019-05-21T10:05:48+09:00",
- "serviceStartTime": "2019-05-21T10:05:48+09:00",
- "customerNote": "東VPN",
- "internalAddress": "10.192.0.0/22"
}
]
}
ギャランティ簡易情報一覧取得API
- ギャランティリソースを一覧取得するAPI
- ギャランティの情報としてパターン別に取得できる情報の詳細はギャランティ回線情報取得APIを参照
query Parameters
limit | integer [ 1 .. 1000 ] Default: 10 Example: limit=5 ページあたりの表示件数の指定(デフォルト10, 最大1000) |
offset | integer >= 0 characters >= 0 Default: 0 Example: offset=5 表示するページ番号の指定(デフォルト0) |
guaranteeId | string ^Z[0-9]{9}$ Example: guaranteeId=Z123456789 guarantee リソースのID. 指定なしならテナント内のすべての guarantee リソースが検索対象 |
customerNote | string customerNoteの部分一致検索 |
sortKey | string Enum: "guaranteeId" "customerNote" "resourceStatus" "updateTime" ソート項目の指定. レスポンスボディの項目から |
direction | string Enum: "asc" "desc" ソート順の指定. asc: 昇順, desc: 降順 |
resourceStatus | string Enum: "inactive" "active" "terminated" リソースのステータス |
maintenance | string Enum: "internet" "vpn" 指定したネットワーク上でメンテナンスの予定があるものを返却する |
header Parameters
X-Auth-Token required | string ^[0-9a-f]{32}$ Example: dc03494823a841338430052e9ee95e07 クライアントが Keystone を利用して取得した認証 Token |
Responses
Response samples
- 200
{- "limit": 100,
- "offset": 0,
- "total": 1,
- "guarantees": [
- {
- "tenantId": "550e8400e29b41d4a716446655440000",
- "guaranteeId": "Z123456789",
- "ref": "/v1guarantees/Z123456789",
- "resourceStatus": "inactive",
- "orderId": "550e8400e29b41d4a716446655440000",
- "orderStatus": "applied",
- "creationTime": "2019-05-21T10:05:48+09:00",
- "updateTime": "2019-05-21T10:05:48+09:00",
- "serviceStartTime": "2019-05-21T10:05:48+09:00",
- "customerNote": "東ギャラ",
- "physicalBandwidth": "100M"
}
]
}
FIC接続簡易リソース一覧取得API
FIC接続簡易リソースを一覧取得するAPI
query Parameters
resourceStatus | string Enum: "inactive" "active" "terminated" リソースのステータス |
header Parameters
X-Auth-Token required | string ^[0-9a-f]{32}$ Example: dc03494823a841338430052e9ee95e07 クライアントが Keystone を利用して取得した認証 Token |
Responses
User Found
Response samples
- 200
{- "ficConnections": [
- {
- "ficConnectionId": "Z123456789",
- "tenantId": "550e8400e29b41d4a716446655440000",
- "vpnId": "Z123456789",
- "resourceStatus": "inactive",
- "orderId": "550e8400e29b41d4a716446655440000",
- "orderStatus": "applied",
- "creationTime": "2019-05-21T10:05:48+09:00",
- "updateTime": "2019-05-21T10:05:48+09:00",
- "serviceStartTime": "2019-05-21T10:05:48+09:00",
- "customerNote": "東10G",
- "referenceFicConnectionId": "F1234567890123",
- "routeAdvertisement": "fullRoute",
- "publicServiceKey": "vPmn7tdZfSgEDqhp62UHNyoNcDxjIMmvZB4_iflL4uipkIyLS9b1P1liBRqPGQMyTGzZL81rvM_YOGiDdqNSlkWs3DD_YKFNirhXpIUddM7jS7b4epLPgkC8BOJIZyl1Obzo3tyeDlceshhaw_lHaHiovtmCgyLUnVyvxFTUhd2cH0pHAMiW5NRYspkI0UBqft8RlmaDQBMSJe8lDTO-fvlyUfV2nrhgr9gXRhoJaP9Ghd-QCwHbgQjcO29EKG",
- "bandwidth": "10G",
- "ref": "/v1/fic-connections/Z000000001"
}
]
}
申込履歴 簡易情報一覧 API
申込履歴 簡易情報一覧 API
query Parameters
orderStatus | string Enum: "applied" "processing" "completed" "canceled" "aborted" "rejected" Example: orderStatus=processing order のステータスでフィルタ。- rejected は明示しない限り hit せず、無指定の場合は他のカテゴリー値のオーダーのみ返却- キーバリューペアを繰り返し指定することで最大N個まで Routings リソースを指定可能 (例: |
limit | integer [ 1 .. 1000 ] Default: 10 ページあたりの表示件数の指定(デフォルト10, 最大1000) |
offset | integer >= 0 Default: 10 表示するページ番号の指定 (デフォルト0) |
resourceId | string リソースのIDを指定。完全一致。複数指定不可 |
requestType | string Enum: "create" "update" "delete" リクエストの種別を指定。複数選択可 |
sortKey | string ソートに使用する要素を指定 |
direction | string Enum: "asc" "desc" ソート順を指定。asc: 昇順、desc: 降順 |
resourceType | string Enum: "fic-connection" "vpn" "terminal" "ipoe" "contractor-setting" "mobile-setting" "phone-ticketing-support" "guarantee" "registration-address" "break-out-list" リソースタイプを指定。完全一致。複数指定可。 |
bulkOrderId | string ^[0-9a-f]{32}$ Example: bulkOrderId=62ec2b62646740b5809f695dea7b2bbf 一括オーダーIDを指定。完全一致。 |
header Parameters
X-Auth-Token required | string ^[0-9a-f]{32}$ Example: dc03494823a841338430052e9ee95e07 クライアントが Keystone を利用して取得した認証 Token |
Responses
OK
Response samples
- 200
{- "limit": 100,
- "offset": 0,
- "total": 1,
- "orders": [
- {
- "tenantId": "550e8400e29b41d4a716446655440000",
- "resourceId": "Z123456789",
- "orderId": "62ec2b62646740b5809f695dea7b2bbf",
- "bulkOrderId": "62ec2b62646740b5809f695dea7b2bbf",
- "ref": "/v1/orders/62ec2b62646740b5809f695dea7b2bbf",
- "resourceType": "ipoe",
- "requestType": "create",
- "orderStatus": "applied",
- "creationTime": "2019-05-21T10:05:48+09:00",
- "updateTime": "2019-05-21T10:05:48+09:00",
- "request": { },
- "response": {
- "statusCode": 202,
- "message": { },
- "remarks": "住所 (英語) を訂正したいとの旨ご連絡を頂いたので、差し戻します。オーダー内容を編集してください。"
}
}
]
}