docomo business SIGN 共通APIリファレンス (1.0.0)
Download OpenAPI specification:Download
docomo business SIGN 共通APIリファレンス
送付先住所一覧取得
送付先住所一覧取得
path Parameters
| tenantId required | string 32 characters 0-9a-f Example: 550e8400e29b41d4a716446655440000 テナントID |
header Parameters
| X-Auth-Token required | string 32 characters 0-9a-f Example: 098e5cb2b91c4b63a64e47dfe17a5f76 ログイン時に取得するIDトークン |
Responses
OK
Bad Request
Internal Server Error
Response samples
- 200
- 400
{- "shippingAddresses": [
- {
- "shippingAddressId": "fbfd5c9c6718320e7fdec080b74a7abd",
- "contractorName": "山田 太郎",
- "shippingPostalCode": "100-8019",
- "shippingPrefecture": "東京都",
- "shippingCity": "千代田区",
- "shippingCityAdditionalInfo": "string",
- "shippingAddress": "大手町2-3-1",
- "shippingBuilding": "大手町プレイスウエストタワー",
- "packageRecipient": "開発部",
- "packageRecipientCompany": "エヌ・ティ・ティ・コミュニケーションズ",
- "phoneNumber": "03-1234-1234",
- "contractorEmailAddress": "test@example.com"
}
]
}送付先住所登録
送付先住所登録
作成可能件数: 10件
path Parameters
| tenantId required | string 32 characters 0-9a-f Example: 550e8400e29b41d4a716446655440000 テナントID |
header Parameters
| X-Auth-Token required | string 32 characters 0-9a-f Example: 098e5cb2b91c4b63a64e47dfe17a5f76 ログイン時に取得するIDトークン |
Request Body schema: application/json
| contractorName required | string 契約者氏名 |
| shippingPostalCode required | string 宛先郵便番号 |
| shippingPrefecture required | string 宛先都道府県 |
| shippingCity required | string 宛先市区町村 |
| shippingCityAdditionalInfo required | string Nullable 宛先大字通称など |
| shippingAddress required | string 宛先町番地 |
| shippingBuilding required | string 宛先ビル名等 |
| packageRecipient required | string 部署名・担当者名 |
| packageRecipientCompany required | string Nullable 発送先会社名 |
| phoneNumber required | string 宛先電話番号 |
| contractorEmailAddress required | string <email> ^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$ 契約者メールアドレス |
Responses
Created
Bad Request
Internal Server Error
Request samples
- Payload
{- "contractorName": "string",
- "shippingPostalCode": "string",
- "shippingPrefecture": "string",
- "shippingCity": "string",
- "shippingCityAdditionalInfo": "string",
- "shippingAddress": "string",
- "shippingBuilding": "string",
- "packageRecipient": "string",
- "packageRecipientCompany": "string",
- "phoneNumber": "string",
- "contractorEmailAddress": "user@example.com"
}Response samples
- 201
- 400
{- "shippingAddressId": "fbfd5c9c6718320e7fdec080b74a7abd",
- "contractorName": "山田 太郎",
- "shippingPostalCode": "100-8019",
- "shippingPrefecture": "東京都",
- "shippingCity": "千代田区",
- "shippingCityAdditionalInfo": "string",
- "shippingAddress": "大手町2-3-1",
- "shippingBuilding": "大手町プレイスウエストタワー",
- "packageRecipient": "開発部",
- "packageRecipientCompany": "エヌ・ティ・ティ・コミュニケーションズ",
- "phoneNumber": "03-1234-1234",
- "contractorEmailAddress": "test@example.com"
}送付先住所取得
送付先住所取得
path Parameters
| tenantId required | string 32 characters 0-9a-f Example: 550e8400e29b41d4a716446655440000 テナントID |
| shippingAddressId required | string 32 characters 0-9a-f Example: b41715e07684453abbe8a83eb93fde80 送付先住所ID |
header Parameters
| X-Auth-Token required | string 32 characters 0-9a-f Example: 098e5cb2b91c4b63a64e47dfe17a5f76 ログイン時に取得するIDトークン |
Responses
OK
Bad Request
Not Found
Internal Server Error
Response samples
- 200
- 400
- 404
{- "shippingAddressId": "fbfd5c9c6718320e7fdec080b74a7abd",
- "contractorName": "山田 太郎",
- "shippingPostalCode": "100-8019",
- "shippingPrefecture": "東京都",
- "shippingCity": "千代田区",
- "shippingCityAdditionalInfo": "string",
- "shippingAddress": "大手町2-3-1",
- "shippingBuilding": "大手町プレイスウエストタワー",
- "packageRecipient": "開発部",
- "packageRecipientCompany": "エヌ・ティ・ティ・コミュニケーションズ",
- "phoneNumber": "03-1234-1234",
- "contractorEmailAddress": "test@example.com"
}送付先住所変更
送付先住所変更
path Parameters
| tenantId required | string 32 characters 0-9a-f Example: 550e8400e29b41d4a716446655440000 テナントID |
| shippingAddressId required | string 32 characters 0-9a-f Example: b41715e07684453abbe8a83eb93fde80 送付先住所ID |
header Parameters
| X-Auth-Token required | string 32 characters 0-9a-f Example: 098e5cb2b91c4b63a64e47dfe17a5f76 ログイン時に取得するIDトークン |
Request Body schema: application/json
| contractorName required | string 契約者氏名 |
| shippingPostalCode required | string 宛先郵便番号 |
| shippingPrefecture required | string 宛先都道府県 |
| shippingCity required | string 宛先市区町村 |
| shippingCityAdditionalInfo required | string Nullable 宛先大字通称など |
| shippingAddress required | string 宛先町番地 |
| shippingBuilding required | string 宛先ビル名等 |
| packageRecipient required | string 部署名・担当者名 |
| packageRecipientCompany required | string Nullable 発送先会社名 |
| phoneNumber required | string 宛先電話番号 |
| contractorEmailAddress required | string <email> ^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$ 契約者メールアドレス |
Responses
OK
Bad Request
Not Found
Internal Server Error
Request samples
- Payload
{- "contractorName": "string",
- "shippingPostalCode": "string",
- "shippingPrefecture": "string",
- "shippingCity": "string",
- "shippingCityAdditionalInfo": "string",
- "shippingAddress": "string",
- "shippingBuilding": "string",
- "packageRecipient": "string",
- "packageRecipientCompany": "string",
- "phoneNumber": "string",
- "contractorEmailAddress": "user@example.com"
}Response samples
- 200
- 400
- 404
{- "shippingAddressId": "fbfd5c9c6718320e7fdec080b74a7abd",
- "contractorName": "山田 太郎",
- "shippingPostalCode": "100-8019",
- "shippingPrefecture": "東京都",
- "shippingCity": "千代田区",
- "shippingCityAdditionalInfo": "string",
- "shippingAddress": "大手町2-3-1",
- "shippingBuilding": "大手町プレイスウエストタワー",
- "packageRecipient": "開発部",
- "packageRecipientCompany": "エヌ・ティ・ティ・コミュニケーションズ",
- "phoneNumber": "03-1234-1234",
- "contractorEmailAddress": "test@example.com"
}送付先住所削除
送付先住所削除
path Parameters
| tenantId required | string 32 characters 0-9a-f Example: 550e8400e29b41d4a716446655440000 テナントID |
| shippingAddressId required | string 32 characters 0-9a-f Example: b41715e07684453abbe8a83eb93fde80 送付先住所ID |
header Parameters
| X-Auth-Token required | string 32 characters 0-9a-f Example: 098e5cb2b91c4b63a64e47dfe17a5f76 ログイン時に取得するIDトークン |
Responses
No Content
Bad Request
Not Found
Internal Server Error
Response samples
- 400
- 404
{- "errorCode": 10104,
- "errorMessages": [
- "path parameter 'hsn' is invalid"
]
}オーダー履歴一覧取得
オーダー履歴一覧取得
path Parameters
| tenantId required | string 32 characters 0-9a-f Example: 550e8400e29b41d4a716446655440000 テナントID |
query Parameters
| from required | string <date> Example: from=2024-06-10 検索年月日(from) 検索年月日(to)以前であること。 |
| to required | string <date> Example: to=2024-06-10 検索年月日(to) 検索年月日(from)以降であること。 |
| serviceType | string Enum: "mvno-open" "mvno-closed" "things-cloud" "fic" "maxiv" "skyway" "security" Example: serviceType=mvno-open サービスタイプ(複数指定可能) |
| orderType | string Enum: "create-sim" "suspend" "resume" "delete-sim" "policy" "activate" "sleep" "wake" "add-limit" "create-connection" "delete-connection" "create-tc" "delete-tc" "request-approval" "execute-request" "delete-request" "create-maxiv" "delete-maxiv" "create-skyway" "delete-skyway" "create-rink-help-desk" "delete-rink-help-desk" "start-rink-flow-collector" "end-rink-flow-collector" Example: orderType=create-sim オーダータイプ(複数指定可能) |
| page | integer >= 1 Example: page=3 ページ数. デフォルトは1 |
| pageSize | integer [ 1 .. 10000 ] Example: pageSize=30 1ページ中のアイテム数. デフォルトは20 |
header Parameters
| X-Auth-Token required | string 32 characters 0-9a-f Example: 098e5cb2b91c4b63a64e47dfe17a5f76 ログイン時に取得するIDトークン |
Responses
OK
Bad Request
Internal Server Error
Response samples
- 200
- 400
{- "orders": [
- {
- "orderId": "123e4567e89b12d3a456426655440000",
- "serviceType": "mvno-open",
- "orderType": "create-sim",
- "orderedAt": "2024-06-10T06:30:30Z"
}, - {
- "orderId": "550e8400e29b41d4a716446655440000",
- "serviceType": "things-cloud",
- "orderType": "create-tc",
- "orderedAt": "2024-06-12T13:15:45Z"
}
], - "total": 2,
- "totalPages": 1,
- "page": 1,
- "pageSize": 20
}オーダー履歴取得
オーダー履歴取得
path Parameters
| tenantId required | string 32 characters 0-9a-f Example: 550e8400e29b41d4a716446655440000 テナントID |
| orderId required | string ^[0-9a-f]{32}$ Example: e4eaaaf2d14211e1b3e4080027620cdd docomo business SIGNで管理するオーダーID |
header Parameters
| X-Auth-Token required | string 32 characters 0-9a-f Example: 098e5cb2b91c4b63a64e47dfe17a5f76 ログイン時に取得するIDトークン |
Responses
OK
Bad Request
Not Found
Internal Server Error
Response samples
- 200
- 400
- 404
{- "serviceType": "mvno-open",
- "orderType": "create-sim",
- "orderedAt": "2024-06-10T06:30:30Z",
- "status": "success",
- "updatedAt": "2024-06-10T06:30:30Z",
- "endedAt": null
}ダッシュボード用の申込件数取得API
ダッシュボード用の申込件数取得
path Parameters
| tenantId required | string 32 characters 0-9a-f Example: 550e8400e29b41d4a716446655440000 テナントID |
header Parameters
| X-Auth-Token required | string 32 characters 0-9a-f Example: 098e5cb2b91c4b63a64e47dfe17a5f76 ログイン時に取得するIDトークン |
Responses
OK
Bad Request
Internal Server Error
Response samples
- 200
- 400
{- "simsCount": {
- "open": 1000,
- "closed": 100,
- "mec": 150
}, - "threatsCount": {
- "critical": 1,
- "high": 1,
- "medium": 2,
- "other": 3,
- "low": 10,
- "informational": 10
}, - "trafficsCount": {
- "critical": 1,
- "high": 1,
- "other": 10
}, - "paasCount": {
- "mec": 2,
- "cloud": 3
}, - "contents": {
- "security": {
- "threat": true,
- "flowCollector": true
}, - "mobileNetwork": {
- "open": true,
- "closed": true,
- "mec": true
}, - "application": {
- "iotService": true
}, - "interConnect": {
- "remoteAccess": true,
- "cloudService": true,
- "networkService": true
}
}
}約款同意状況取得
最新の約款バージョンと同意状況を返却
path Parameters
| tenantId required | string 32 characters 0-9a-f Example: 550e8400e29b41d4a716446655440000 テナントID |
header Parameters
| X-Auth-Token required | string 32 characters 0-9a-f Example: 098e5cb2b91c4b63a64e47dfe17a5f76 ログイン時に取得するIDトークン |
Responses
OK
Bad Request
Internal Server Error
Response samples
- 200
- 400
{- "isAgreed": true
}約款同意
現在施行中の最新の約款に同意する
path Parameters
| tenantId required | string 32 characters 0-9a-f Example: 550e8400e29b41d4a716446655440000 テナントID |
header Parameters
| X-Auth-Token required | string 32 characters 0-9a-f Example: 098e5cb2b91c4b63a64e47dfe17a5f76 ログイン時に取得するIDトークン |
Responses
OK
Bad Request
Internal Server Error
Response samples
- 200
- 400
{- "isAgreed": true
}