Order API (1.0)
Download OpenAPI specification:Download
申込履歴 一覧 API
申込履歴 一覧 API
query Parameters
orderStatus | string Enum: "applied" "processing" "completed" "canceled" "aborted" "rejected" Example: orderStatus=processing order のステータスでフィルタ。
|
limit | integer [ 1 .. 100 ] Default: 10 ページあたりの表示件数の指定(デフォルト10, 最大100) |
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
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
Response samples
- 200
{- "total": 100,
- "offset": 0,
- "orders": [
- {
- "tenantId": "550e8400e29b41d4a716446655440000",
- "resourceId": "Z123456789",
- "orderId": "62ec2b62646740b5809f695dea7b2bbf",
- "bulkOrderId": "62ec2b62646740b5809f695dea7b2bbf",
- "ref": "/v1/orders/62ec2b62646740b5809f695dea7b2bbf",
- "resourceType": "ipoe",
- "requestType": "create",
- "orderStatus": "applied",
- "downloadableDocumentId": {
- "collaboFieldSurveyWorkCandidate": "1e115026499c42d783b53c04b4808f1e",
- "collaboConstrcutionWorkCandidate": "1e115026499c42d783b53c04b4808f1e",
- "collaboRemovalWorkCandidate": "1e115026499c42d783b53c04b4808f1e",
- "collaboSiteRouteSurveyReport": "1e115026499c42d783b53c04b4808f1e",
- "collaboConstructionResultReport": "1e115026499c42d783b53c04b4808f1e"
}, - "creationTime": "2019-05-21T10:05:48+09:00",
- "updateTime": "2019-05-21T10:05:48+09:00",
- "request": { },
- "response": {
- "statusCode": 202,
- "message": { },
- "remarks": "住所 (英語) を訂正したいとの旨ご連絡を頂いたので、差し戻します。オーダー内容を編集してください。"
}
}
]
}
申込履歴 参照 API
申込履歴 参照 API
path Parameters
orderId required | string ^[0-9a-f]{32}$ Example: 62ec2b62646740b5809f695dea7b2bbf 関連するオーダーのID. オーダーステータスと同じ条件で対象のオーダーが引用される |
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
{- "tenantId": "550e8400e29b41d4a716446655440000",
- "resourceId": "Z123456789",
- "orderId": "62ec2b62646740b5809f695dea7b2bbf",
- "bulkOrderId": "62ec2b62646740b5809f695dea7b2bbf",
- "ref": "/v1/orders/62ec2b62646740b5809f695dea7b2bbf",
- "resourceType": "ipoe",
- "requestType": "create",
- "orderStatus": "applied",
- "downloadableDocumentId": {
- "collaboFieldSurveyWorkCandidate": "1e115026499c42d783b53c04b4808f1e",
- "collaboConstrcutionWorkCandidate": "1e115026499c42d783b53c04b4808f1e",
- "collaboRemovalWorkCandidate": "1e115026499c42d783b53c04b4808f1e",
- "collaboSiteRouteSurveyReport": "1e115026499c42d783b53c04b4808f1e",
- "collaboConstructionResultReport": "1e115026499c42d783b53c04b4808f1e"
}, - "creationTime": "2019-05-21T10:05:48+09:00",
- "updateTime": "2019-05-21T10:05:48+09:00",
- "request": { },
- "response": {
- "statusCode": 202,
- "message": { },
- "remarks": "住所 (英語) を訂正したいとの旨ご連絡を頂いたので、差し戻します。オーダー内容を編集してください。"
}
}
申込内容 変更 API
申込内容 変更 API
- requestキーに送信したオーダの内容がそのまま入っているので変更箇所を修正してPUTのAPIをコールすることでオーダの変更を行う
- ギャランティのIWAN工事に関するオーダのみで利用可能
path Parameters
orderId required | string ^[0-9a-f]{32}$ Example: 62ec2b62646740b5809f695dea7b2bbf 関連するオーダーのID. オーダーステータスと同じ条件で対象のオーダーが引用される |
header Parameters
X-Auth-Token required | string ^[0-9a-f]{32}$ Example: dc03494823a841338430052e9ee95e07 クライアントが Keystone を利用して取得した認証 Token |
Request Body schema: application/json
- 申込内容に対する変更内容. 変更点のみ記載
- fieldSurvey、construction、removalのdate、timeのみ変更可
- オーダ情報を変更するとSDPの内部処理によってギャランティのリソースに反映される
request required | object 申込内容に対する変更内容. 変更点のみを記載 |
Responses
Accepted
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
Request samples
- Payload
{- "request": {
- "fieldSurvey": {
- "date": "2022-02-02",
- "time": "9-12"
}, - "construction": {
- "date": "2022-02-02",
- "time": "9-12"
}
}
}
Response samples
- 202
申込内容 取り消し API
申込内容 取り消し API
注意点:
- リソースの状態によってはこのオペレーションが実行不可能な場合があります(既に元の申込内容で処理中である場合、対象申込が処理済みである場合など)
path Parameters
orderId required | string ^[0-9a-f]{32}$ Example: 62ec2b62646740b5809f695dea7b2bbf 関連するオーダーのID. オーダーステータスと同じ条件で対象のオーダーが引用される |
header Parameters
X-Auth-Token required | string ^[0-9a-f]{32}$ Example: dc03494823a841338430052e9ee95e07 クライアントが Keystone を利用して取得した認証 Token |
Responses
Accepted
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error
Response samples
- 202