ギャランティリソースAPI (1.0)
Download OpenAPI specification:Download
本APIでは、docomo business RINKのギャランティ接続のリソース情報の参照・操作が可能です。
docomo business RINK ギャランティ接続のお申し込みの全体の流れは以下
- IWアクセス回線の住所照会(住所コードの取得)
- 住所照会で取得したコードを元にIWアクセス回線の提供可否を判定
- IWアクセス回線の稼働日照会(現地調査、宅内工事の空き日時の取得)
- ギャランティ接続リソース作成&IWアクセス回線の現地調査、宅内工事の予約
- IWアクセス回線の場合は、現地調査、宅内工事の予約を行った時点で申し込みになる
- 現調のみOKだった場合は、オーダ変更申し込みで確定した現調情報とともにたく宅内工事の申し込みを行う
- 稼働日予約の結果はこちらからGETしないとわからない
- ギャランティ接続の回線ごとのパラメータ設定は端末申込(Terminal API)で実施する
- L2はギャランティ接続リソース、L3はルーターリソースとして持つ
ギャランティ一覧取得API
- ギャランティ接続リソースを一覧取得するAPI
- ギャランティ接続の情報としてパターン別に取得できる情報の詳細はギャランティ回線情報取得APIを参照
query Parameters
limit | integer [ 1 .. 100 ] Default: 10 Example: limit=5 ページあたりの表示件数の指定(デフォルト10, 最大100) |
offset | integer >= 0 characters >= 0 Default: 0 Example: offset=5 表示するページ番号の指定(デフォルト0) |
guaranteeId | string ^Z[0-9]{9}$ Example: guaranteeId=Z123456789 ギャランティ接続リソースのID. 指定なしならテナント内のすべての ギャランティ接続リソースが検索対象 |
customerNote | string customerNoteの部分一致検索 |
sortKey | string ソート項目の指定. レスポンスボディの項目から |
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
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
Response samples
- 200
{- "guarantees": [
- {
- "tenantId": "550e8400e29b41d4a716446655440000",
- "resourceStatus": "inactive",
- "orderId": "550e8400e29b41d4a716446655440000",
- "orderStatus": "processing",
- "creationTime": "2019-05-21T10:05:48+09:00",
- "updateTime": "2019-05-21T10:05:48+09:00",
- "serviceStartTime": "2019-05-21T10:05:48+09:00",
- "terminalId": "Z123456789",
- "guaranteeId": "Z123456789",
- "accessLineId": "123456789",
- "ref": "/v1/guarantees/Z123456789",
- "customerNote": "東ギャラ",
- "userInterfaceType": "100BASE-TX",
- "physicalBandwidth": "100M",
- "internet": {
- "rateLimit": "50M",
- "alertSetting": {
- "threshold": "90",
- "duration": "5min",
- "notificationInterval": "1day"
}
}, - "vpn": {
- "rateLimit": "50M",
- "alertSetting": {
- "threshold": "90",
- "duration": "5min",
- "notificationInterval": "1day"
}
}, - "installationPlaceCode": "212dd263522c4e73887212edfc7273e6",
- "fieldSurveyLess": false,
- "fieldSurveyResult": "ok",
- "fieldSurvey": {
- "reserveStatus": "approved",
- "operationAdjustment": false,
- "workerCompanyName": "NTTコミュニケーションズ",
- "workerCompanyPhoneNumber": "03-1234-5678",
- "workerResponsiblePersonName": "山田 太郎",
- "date": "2022-02-02",
- "time": "9-12",
- "preContactCompanyName": "NTTコミュニケーションズ",
- "preContactPersonName": "山田 太郎",
- "preContactPhoneNumber": "03-1234-5678",
- "attendanceCompanyName": "NTTコミュニケーションズ",
- "attendancePersonName": "山田 太郎",
- "attendancePhoneNumber": "03-1234-5678",
- "admissionApplicationRequired": true
}, - "construction": {
- "reserveStatus": "approved",
- "operationAdjustment": false,
- "workerCompanyName": "NTTコミュニケーションズ",
- "workerCompanyPhoneNumber": "03-1234-5678",
- "workerResponsiblePersonName": "山田 太郎",
- "date": "2022-02-02",
- "time": "9-12",
- "preContactCompanyName": "NTTコミュニケーションズ",
- "preContactPersonName": "山田 太郎",
- "preContactPhoneNumber": "03-1234-5678",
- "attendanceCompanyName": "NTTコミュニケーションズ",
- "attendancePersonName": "山田 太郎",
- "attendancePhoneNumber": "03-1234-5678",
- "admissionApplicationRequired": true
}
}
]
}
ギャランティ申込API
- ギャランティ接続リソースの新規作成API
- IWアクセス回線の現地調査・宅内工事稼働日予約も同時に行う
- 開通希望日は宅内工事日以降の日付を指定(宅内工事日を含む)
header Parameters
X-Auth-Token required | string ^[0-9a-f]{32}$ Example: dc03494823a841338430052e9ee95e07 クライアントが Keystone を利用して取得した認証 Token |
Request Body schema: application/json
customerNote | string <= 64 characters 回線名 (全角・半角・記号許容) |
userInterfaceType | string Enum: "100BASE-TX" "1000BASE-LX" "1000BASE-SX" "1000BASE-T" ギャランティ接続で契約しているIWアクセス回線のユーザー網インターフェース
|
physicalBandwidth | string Enum: "100M" "1G" ギャランティ接続で契約している物理帯域
|
internet | object ギャランティ接続で契約しているインターネットの情報 |
vpn | object ギャランティ接続で契約しているVPN接続の情報 |
installationPlaceCode | string ^[a-f0-9]{32}$ 設置場所を示すコード、UUID形式 住所照会APIの結果として返却される収容区域コードと設置住所情報を紐づけたもの |
constructionType | string Enum: "toMDFtag" "toMDFjumper" "toIDFtag" "toTerminal" 工事区分
|
wiringType | string Enum: "rental" "selfDevice" 配線区分
|
communicationMode | string Enum: "full-duplex" "auto-nego" 通信モード
|
fieldSurveyLess | boolean Default: false 現調レスを希望する項目
|
fieldSurvey | object IWアクセス回線取得のデータ内の新設現地調査日の予約リクエスト内容 |
construction | object IWアクセス回線取得のデータ内の新設宅内工事日の予約リクエスト内容 |
Responses
Accepted
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
Request samples
- Payload
{- "customerNote": "東ギャラ",
- "userInterfaceType": "100BASE-TX",
- "physicalBandwidth": "100M",
- "internet": {
- "rateLimit": "50M",
- "alertSetting": {
- "threshold": "90",
- "duration": "5min",
- "notificationInterval": "1day"
}
}, - "vpn": {
- "rateLimit": "50M",
- "alertSetting": {
- "threshold": "90",
- "duration": "5min",
- "notificationInterval": "1day"
}
}, - "installationPlaceCode": "212dd263522c4e73887212edfc7273e6",
- "constructionType": "toMDFtag",
- "wiringType": "rental",
- "communicationMode": "full-duplex",
- "fieldSurveyLess": false,
- "fieldSurvey": {
- "operationAdjustment": false,
- "date": "2022-02-02",
- "time": "9-12",
- "preContactCompanyName": "NTTコミュニケーションズ",
- "preContactPersonName": "山田 太郎",
- "preContactPhoneNumber": "03-1234-5678",
- "attendanceCompanyName": "NTTコミュニケーションズ",
- "attendancePersonName": "山田 太郎",
- "attendancePhoneNumber": "03-1234-5678",
- "admissionApplicationRequired": true
}, - "construction": {
- "operationAdjustment": false,
- "date": "2022-02-02",
- "time": "9-12",
- "preContactCompanyName": "NTTコミュニケーションズ",
- "preContactPersonName": "山田 太郎",
- "preContactPhoneNumber": "03-1234-5678",
- "attendanceCompanyName": "NTTコミュニケーションズ",
- "attendancePersonName": "山田 太郎",
- "attendancePhoneNumber": "03-1234-5678",
- "admissionApplicationRequired": true
}
}
Response samples
- 202
{- "tenantId": "550e8400e29b41d4a716446655440000",
- "resourceStatus": "inactive",
- "orderId": "550e8400e29b41d4a716446655440000",
- "orderStatus": "applied",
- "guaranteeId": "Z123456789",
- "creationTime": "2019-05-21T10:05:48+09:00",
- "ref": "/v1/guarantees/Z123456789",
- "customerNote": "東ギャラ",
- "userInterfaceType": "100BASE-TX",
- "physicalBandwidth": "100M",
- "internet": {
- "rateLimit": "50M",
- "alertSetting": {
- "threshold": "90",
- "duration": "5min",
- "notificationInterval": "1day"
}
}, - "vpn": {
- "rateLimit": "50M",
- "alertSetting": {
- "threshold": "90",
- "duration": "5min",
- "notificationInterval": "1day"
}
}, - "installationPlaceCode": "212dd263522c4e73887212edfc7273e6",
- "constructionType": "toMDFtag",
- "wiringType": "rental",
- "communicationMode": "full-duplex",
- "fieldSurveyLess": false,
- "fieldSurvey": {
- "operationAdjustment": false,
- "reserveStatus": "processing",
- "date": "2022-02-02",
- "time": "9-12",
- "preContactCompanyName": "NTTコミュニケーションズ",
- "preContactPersonName": "山田 太郎",
- "preContactPhoneNumber": "03-1234-5678",
- "attendanceCompanyName": "NTTコミュニケーションズ",
- "attendancePersonName": "山田 太郎",
- "attendancePhoneNumber": "03-1234-5678",
- "admissionApplicationRequired": true
}, - "construction": {
- "operationAdjustment": false,
- "reserveStatus": "processing",
- "date": "2022-02-02",
- "time": "9-12",
- "preContactCompanyName": "NTTコミュニケーションズ",
- "preContactPersonName": "山田 太郎",
- "preContactPhoneNumber": "03-1234-5678",
- "attendanceCompanyName": "NTTコミュニケーションズ",
- "attendancePersonName": "山田 太郎",
- "attendancePhoneNumber": "03-1234-5678",
- "admissionApplicationRequired": true
}
}
ギャランティ回線情報取得API
- ギャランティ接続リソースを取得するAPI
- ギャランティ接続としての情報とそれに紐づいたIWアクセス回線の情報を取得
path Parameters
guaranteeId required | string |
header Parameters
X-Auth-Token required | string ^[0-9a-f]{32}$ Example: dc03494823a841338430052e9ee95e07 クライアントが Keystone を利用して取得した認証 Token |
Responses
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
Response samples
- 200
{- "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",
- "guaranteeId": "Z123456789",
- "accessLineId": "123456789",
- "ref": "/v1/guarantees/Z123456789",
- "customerNote": "東ギャラ",
- "userInterfaceType": "100BASE-TX",
- "physicalBandwidth": "100M",
- "internet": {
- "rateLimit": "50M",
- "alertSetting": {
- "threshold": "90",
- "duration": "5min",
- "notificationInterval": "1day"
}
}, - "vpn": {
- "rateLimit": "50M",
- "alertSetting": {
- "threshold": "90",
- "duration": "5min",
- "notificationInterval": "1day"
}
}, - "installationPlaceCode": "212dd263522c4e73887212edfc7273e6",
- "constructionType": "toMDFtag",
- "wiringType": "rental",
- "communicationMode": "full-duplex",
- "fieldSurveyLess": false,
- "fieldSurvey": {
- "operationAdjustment": false,
- "reserveStatus": "processing",
- "date": "2022-02-02",
- "time": "9-12",
- "preContactCompanyName": "NTTコミュニケーションズ",
- "preContactPersonName": "山田 太郎",
- "preContactPhoneNumber": "03-1234-5678",
- "attendanceCompanyName": "NTTコミュニケーションズ",
- "attendancePersonName": "山田 太郎",
- "attendancePhoneNumber": "03-1234-5678",
- "admissionApplicationRequired": true
}, - "construction": {
- "operationAdjustment": false,
- "reserveStatus": "processing",
- "date": "2022-02-02",
- "time": "9-12",
- "preContactCompanyName": "NTTコミュニケーションズ",
- "preContactPersonName": "山田 太郎",
- "preContactPhoneNumber": "03-1234-5678",
- "attendanceCompanyName": "NTTコミュニケーションズ",
- "attendancePersonName": "山田 太郎",
- "attendancePhoneNumber": "03-1234-5678",
- "admissionApplicationRequired": true
}
}
ギャランティ変更API
- ギャランティ接続リソースを変更するAPI
- 変更したい項目のみボディに記載しリクエストする
- 既存の設定を削除したい場合はnullを設定する
- IWアクセス回線の物理回線の変更は廃止・新設で行うため、ギャランティの変更APIでは変更不可
- IWアクセス回線の稼働日予約に関するオーダの修正はOrder APIで行う
- OrderのPUTで変更した場合に、SDPの内部処理によってギャランティ接続のリソースに反映される
path Parameters
guaranteeId required | string |
header Parameters
X-Auth-Token required | string ^[0-9a-f]{32}$ Example: dc03494823a841338430052e9ee95e07 クライアントが Keystone を利用して取得した認証 Token |
Request Body schema: application/json
customerNote | string <= 64 characters 回線名 (全角・半角・記号許容) |
internet | object ギャランティ接続で契約しているインターネットの情報 |
vpn | object ギャランティ接続で契約しているVPN接続の情報 |
Responses
Accepted
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
Request samples
- Payload
{- "customerNote": "東ギャラ",
- "internet": {
- "rateLimit": "50M",
- "alertSetting": {
- "threshold": "90",
- "duration": "5min",
- "notificationInterval": "1day"
}
}, - "vpn": {
- "rateLimit": "50M",
- "alertSetting": {
- "threshold": "90",
- "duration": "5min",
- "notificationInterval": "1day"
}
}
}
Response samples
- 202
{- "tenantId": "550e8400e29b41d4a716446655440000",
- "resourceStatus": "active",
- "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",
- "guaranteeId": "Z123456789",
- "accessLineId": "123456789",
- "ref": "/v1/guarantees/Z123456789",
- "customerNote": "東ギャラ",
- "physicalBandwidth": "100M",
- "terminalId": "Z000000001",
- "internet": {
- "rateLimit": "50M",
- "alertSetting": {
- "threshold": "90",
- "duration": "5min",
- "notificationInterval": "1day"
}
}, - "vpn": {
- "rateLimit": "50M",
- "alertSetting": {
- "threshold": "90",
- "duration": "5min",
- "notificationInterval": "1day"
}
}, - "installationPlaceCode": "212dd263522c4e73887212edfc7273e6",
- "fieldSurveyLess": false,
- "constructionType": "toMDFtag",
- "wiringType": "rental",
- "communicationMode": "full-duplex",
- "fieldSurvey": {
- "operationAdjustment": false,
- "reserveStatus": "processing",
- "date": "2022-02-02",
- "time": "9-12",
- "workerCompanyName": "NTTコミュニケーションズ",
- "workerCompanyPhoneNumber": "03-1234-5678",
- "workerResponsiblePersonName": "山田 太郎",
- "preContactCompanyName": "NTTコミュニケーションズ",
- "preContactPersonName": "山田 太郎",
- "preContactPhoneNumber": "03-1234-5678",
- "attendanceCompanyName": "NTTコミュニケーションズ",
- "attendancePersonName": "山田 太郎",
- "attendancePhoneNumber": "03-1234-5678",
- "admissionApplicationRequired": true
}, - "construction": {
- "operationAdjustment": false,
- "reserveStatus": "processing",
- "date": "2022-02-02",
- "time": "9-12",
- "workerCompanyName": "NTTコミュニケーションズ",
- "workerCompanyPhoneNumber": "03-1234-5678",
- "workerResponsiblePersonName": "山田 太郎",
- "preContactCompanyName": "NTTコミュニケーションズ",
- "preContactPersonName": "山田 太郎",
- "preContactPhoneNumber": "03-1234-5678",
- "attendanceCompanyName": "NTTコミュニケーションズ",
- "attendancePersonName": "山田 太郎",
- "attendancePhoneNumber": "03-1234-5678",
- "admissionApplicationRequired": true
}
}
ギャランティリソース削除API
- ギャランティ接続リソースの削除API
- IWアクセス回線の廃止稼働日予約も同時に行う
path Parameters
guaranteeId required | string |
header Parameters
X-Auth-Token required | string ^[0-9a-f]{32}$ Example: dc03494823a841338430052e9ee95e07 クライアントが Keystone を利用して取得した認証 Token |
Request Body schema: application/json
removal required | object IWアクセス回線取得のデータ内の新設宅内工事日の予約リクエスト内容 |
Responses
Accepted
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
Request samples
- Payload
{- "removal": {
- "operationAdjustment": false,
- "date": "2022-02-02",
- "time": "9-12",
- "preContactCompanyName": "NTTコミュニケーションズ",
- "preContactPersonName": "山田 太郎",
- "preContactPhoneNumber": "03-1234-5678",
- "attendanceCompanyName": "NTTコミュニケーションズ",
- "attendancePersonName": "山田 太郎",
- "attendancePhoneNumber": "03-1234-5678",
- "admissionApplicationRequired": true
}
}
Response samples
- 202
{- "tenantId": "550e8400e29b41d4a716446655440000",
- "resourceStatus": "active",
- "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",
- "guaranteeId": "Z123456789",
- "accessLineId": "123456789",
- "ref": "/v1/guarantees/Z123456789",
- "customerNote": "東ギャラ",
- "physicalBandwidth": "100M",
- "internet": {
- "rateLimit": "50M",
- "alertSetting": {
- "threshold": "90",
- "duration": "5min",
- "notificationInterval": "1day"
}
}, - "vpn": {
- "rateLimit": "50M",
- "alertSetting": {
- "threshold": "90",
- "duration": "5min",
- "notificationInterval": "1day"
}
}, - "installationPlaceCode": "212dd263522c4e73887212edfc7273e6",
- "fieldSurveyLess": false,
- "removal": {
- "operationAdjustment": false,
- "reserveStatus": "processing",
- "date": "2022-02-02",
- "time": "9-12",
- "preContactCompanyName": "NTTコミュニケーションズ",
- "preContactPersonName": "山田 太郎",
- "preContactPhoneNumber": "03-1234-5678",
- "attendanceCompanyName": "NTTコミュニケーションズ",
- "attendancePersonName": "山田 太郎",
- "attendancePhoneNumber": "03-1234-5678",
- "admissionApplicationRequired": true
}
}
住所照会
- IWアクセス回線を引く設置場所住所を(都道府県、市区郡町村、大字・通称、字・丁目、番地、建物)を取得するAPI
- 設置可能な住所リストになければ設置不可として判断する
- 住所照会の結果として、収容区域コードを取得し、installPlaceCodeとして返却する
header Parameters
X-Auth-Token required | string ^[0-9a-f]{32}$ Example: dc03494823a841338430052e9ee95e07 クライアントが Keystone を利用して取得した認証 Token |
Request Body schema: application/json
postalCode required | string ^[0-9]{3}-[0-9]{4}$ 郵便番号
|
prefecture | string [ 1 .. 4 ] characters
|
municipality | string [ 1 .. 12 ] characters
|
largerSection | string [ 1 .. 18 ] characters
|
section | string [ 1 .. 12 ] characters
|
houseNumber1 | string [ 1 .. 20 ] characters
|
houseNumber2 | string [ 1 .. 10 ] characters Nullable
|
houseNumber3 | string [ 1 .. 10 ] characters Nullable
|
buildingName1 | string [ 1 .. 20 ] characters
|
buildingName2 | string [ 1 .. 10 ] characters
|
buildingName3 | string [ 1 .. 10 ] characters
|
Responses
OK
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
Request samples
- Payload
{- "postalCode": "160-0023",
- "prefecture": "東京都",
- "municipality": "新宿区",
- "largerSection": "西新宿",
- "section": "3丁目",
- "houseNumber1": "19",
- "houseNumber2": "2",
- "houseNumber3": "5",
- "buildingName1": "山田ビル1",
- "buildingName2": "山田ビル2",
- "buildingName3": "大和ハイツ"
}
Response samples
- 200
{- "installationPlaceCode": "212dd263522c4e73887212edfc7273e6",
- "postalCode": "160-0023",
- "prefecture": "東京都",
- "municipalityList": [
- "新宿区"
], - "largerSectionList": [
- "西新宿"
], - "sectionList": [
- "3丁目"
], - "houseNumber1List": [
- "19"
], - "houseNumber2List": [
- "2"
], - "houseNumber3List": [
- "5"
], - "buildingName1List": [
- "山田ビル1"
], - "buildingName2List": [
- "山田ビル2"
], - "buildingName3List": [
- "大和ハイツ"
]
}
提供判定
- IWアクセス回線の提供可否を判断するAPI
- 光コラボでは品目ごとの判定を行っているが、作成時点では100Mのみの提供なので、品目ごとの判定は行わない
header Parameters
X-Auth-Token required | string ^[0-9a-f]{32}$ Example: dc03494823a841338430052e9ee95e07 クライアントが Keystone を利用して取得した認証 Token |
Request Body schema: application/json
installationPlaceCode required | string ^[a-f0-9]{32}$ 設置場所を示すコード、UUID形式 住所照会APIの結果として返却される収容区域コードと設置住所情報を紐づけたもの |
Responses
OK
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
Request samples
- Payload
{- "installationPlaceCode": "212dd263522c4e73887212edfc7273e6"
}
Response samples
- 200
{- "installationPlaceCode": "212dd263522c4e73887212edfc7273e6",
- "serviceAvailable": true
}
稼働日照会API(現地調査日、宅内工事日、廃止工事日)
現地調査日、宅内工事日、廃止工事日の可能日を照会するAPI
query Parameters
yearMonth | string Example: yearMonth=2023-06
|
type required | string Enum: "fieldSurvey" "constrction" "removal" Example: type=fieldSurvey
|
installationPlaceCode required | string Example: installationPlaceCode=212dd263522c4e73887212edfc7273e6
|
admissionApplicationRequired | boolean Example: admissionApplicationRequired=true
|
fieldSurveyLess | boolean Example: fieldSurveyLess=false
|
fieldSurveyDate | string Example: fieldSurveyDate=2022-06-23
|
header Parameters
X-Auth-Token required | string ^[0-9a-f]{32}$ Example: dc03494823a841338430052e9ee95e07 クライアントが Keystone を利用して取得した認証 Token |
Responses
OK
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
Response samples
- 200
{- "constructionDates": [
- {
- "scheduledDate": "2022-06-23",
- "scheduledTimes": [
- {
- "scheduledTime": "9-12"
}
]
}
]
}
住所登録依頼API
ギャランティ接続の住所登録を申し込むAPI
- 本APIの利用前に住所照会APIへのコールが必要となる。
- 本APIのリクエストキーのpostalCode,prefecture,municipality,largerSection,sectionは住所照会APIのレスポンスを設定する。レスポンスがリストの場合はその中から1つ選択し設定する。
- 本APIのリクエストキーのhouseNumber1,houseNumber2,houseNumber3,buildingName1,buildingName2,buildingName3は自由入力が可能。全角で入力すること。
header Parameters
X-Auth-Token required | string ^[0-9a-f]{32}$ Example: dc03494823a841338430052e9ee95e07 クライアントが Keystone を利用して取得した認証 Token |
Request Body schema: application/json
postalCode required | string ^[0-9]{3}-[0-9]{4}$ ご利用場所郵便番号。ハイフンあり |
prefecture required | string [ 1 .. 4 ] characters
|
municipality required | string [ 1 .. 12 ] characters
|
largerSection | string [ 1 .. 18 ] characters
|
section | string [ 1 .. 12 ] characters
|
houseNumber1 | string [ 1 .. 20 ] characters
|
houseNumber2 | string [ 1 .. 10 ] characters
|
houseNumber3 | string [ 1 .. 10 ] characters
|
buildingName1 | string [ 1 .. 20 ] characters
|
buildingName2 | string [ 1 .. 10 ] characters
|
buildingName3 | string [ 1 .. 10 ] characters
|
latitude required | string 9 characters 座標情報(緯度) |
longitude required | string 10 characters 座標情報(経度) |
mapDocumentId required | string ^[0-9a-f]{32}$ 地図情報ファイル。確認書類アップロードAPI callにより返却されたdocumentId |
companyName required | string [ 1 .. 190 ] characters 設置住所登録依頼申込者の事業所名 |
personName required | string [ 1 .. 40 ] characters 設置住所登録依頼申込者の担当者氏名 |
phoneNumber required | string <= 13 characters ^0 設置住所登録依頼申込者の担当者電話番号。ハイフン必須 |
Responses
Accepted
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
Request samples
- Payload
{- "postalCode": "160-0023",
- "prefecture": "東京都",
- "municipality": "新宿区",
- "largerSection": "西新宿",
- "section": "3丁目",
- "houseNumber1": "19",
- "houseNumber2": "2",
- "houseNumber3": "5",
- "buildingName1": "山田ビル1",
- "buildingName2": "2階",
- "buildingName3": "202号",
- "latitude": "35.687046",
- "longitude": "139.767876",
- "mapDocumentId": "550e8400e29b41d4a716446655440000",
- "companyName": "NTTコミュニケーションズ",
- "personName": "山田 太郎",
- "phoneNumber": "03-1234-5678"
}
Response samples
- 202
{- "tenantId": "550e8400e29b41d4a716446655440000",
- "orderId": "550e8400e29b41d4a716446655440000",
- "orderStatus": "applied",
- "postalCode": "160-0023",
- "prefecture": "東京都",
- "municipality": "新宿区",
- "largerSection": "西新宿",
- "section": "3丁目",
- "houseNumber1": "19",
- "houseNumber2": "2",
- "houseNumber3": "5",
- "buildingName1": "山田ビル1",
- "buildingName2": "2階",
- "buildingName3": "202号",
- "latitude": "35.687046",
- "longitude": "139.767876",
- "mapDocumentId": "550e8400e29b41d4a716446655440000",
- "companyName": "NTTコミュニケーションズ",
- "personName": "山田 太郎",
- "phoneNumber": "03-1234-5678"
}