通用性說明
送審流程
-
台灣時間每天 23:00 送審,並且檢查前一天送審結果。
-
更新時間大於前一日 23 : 00 且送審未成功的案件會進行審查。 -
http response 中 applResult 的 value
|
結果 |
可能內容 |
|---|---|
|
送審成功 |
成功 |
|
送審失敗 |
用電戶名不符
|
API Domain 與認證
採取 API Key 認證,請於 Request Header 添加 `Authorization: Bearer <API_KEY>`
Route B 服務開通
API ① - 申請開通 Route B 服務
|
Summary |
申請開通 Route B |
|
|---|---|---|
|
Path |
POST |
|
|
Description |
在呼叫此 API 後,聯齊將代替 SI 向台電業務處申請開通 Route B 服務,並提供:
|
|
|
Request Body |
Content Type |
application/json |
|
Example Value |
JSON
|
|
|
Schema |
JSON
|
|
|
Note |
再開封印日期說明
|
|
|
Response |
Status Code |
200 |
|---|---|---|
|
Description |
Success |
|
|
Content Type |
application/json |
|
|
Example Value |
JSON
|
|
|
Schema |
JSON
|
|
|
Note |
|
|
Response |
Status Code |
403 |
|---|---|---|
|
Description |
Success |
|
|
Content Type |
application/json |
|
|
Example Value |
JSON
|
|
|
Schema |
JSON
|
|
|
Note |
若 identity 與 tpcNo 重複,將顯示該筆申請已存在 |
API ② - 上傳同意書圖片
|
Summary |
上傳同意書圖片 |
|
|---|---|---|
|
Path |
POST |
|
|
Description |
|
|
|
Request Body |
Content Type |
multipart/form-data |
|
Example Value |
JSON
|
|
|
Schema |
JSON
|
|
|
Request Params |
Example Value |
JSON
|
|
Schema |
JSON
|
|
|
Note |
僅支援 JPG 格式圖片 |
|
|
Response |
Status Code |
200 |
|---|---|---|
|
Description |
Success |
|
|
Content Type |
application/json |
|
|
Example Value |
JSON
|
|
|
Schema |
JSON
|
|
|
Note |
|
|
Response |
Status Code |
400 |
|---|---|---|
|
Description |
Invalid parameter. |
|
|
Content Type |
application/json |
|
|
Example Value |
JSON
|
|
|
Schema |
JSON
|
|
|
Note |
|
|
Response |
Status Code |
403 |
|---|---|---|
|
Description |
Forbidden. |
|
|
Content Type |
application/json |
|
|
Example Value |
JSON
|
|
|
Schema |
JSON
|
|
Response |
Status Code |
404 |
|---|---|---|
|
Description |
Resource not found. |
|
|
Content Type |
application/json |
|
|
Example Value |
JSON
|
|
|
Schema |
JSON
|
API ③ - 上傳附件圖片
|
Summary |
上傳附件圖片 |
|
|---|---|---|
|
Path |
POST |
|
|
Description |
|
|
|
Request Body |
Content Type |
multipart/form-data |
|
Example Value |
JSON
|
|
|
Schema |
JSON
|
|
|
Request Params |
Example Value |
JSON
|
|
Schema |
JSON
|
|
|
Note |
|
|
|
Response |
Status Code |
200 |
|---|---|---|
|
Description |
Success |
|
|
Content Type |
application/json |
|
|
Example Value |
JSON
|
|
|
Schema |
JSON
|
|
|
Note |
|
|
Response |
Status Code |
400 |
|---|---|---|
|
Description |
Invalid parameter. |
|
|
Content Type |
application/json |
|
|
Example Value |
JSON
|
|
|
Schema |
JSON
|
|
|
Note |
|
|
Response |
Status Code |
403 |
|---|---|---|
|
Description |
Forbidden. |
|
|
Content Type |
application/json |
|
|
Example Value |
JSON
|
|
|
Schema |
JSON
|
|
Response |
Status Code |
404 |
|---|---|---|
|
Description |
Resource not found. |
|
|
Content Type |
application/json |
|
|
Example Value |
JSON
|
|
|
Schema |
JSON
|
API ④ - 更新 Route B 服務開通的申請資訊
|
Summary |
更新 Route B 服務開通的申請資訊 |
|
|---|---|---|
|
Path |
PUT |
|
|
Description |
在呼叫此 API 後,可更新 Route B 服務開通的申請資訊 |
|
|
Request Body |
Content Type |
application/json |
|
Example Value |
JSON
|
|
|
Schema |
JSON
|
|
|
Request Params |
Example Value |
JSON
|
|
Schema |
JSON
|
|
|
Response |
Status Code |
200 |
|---|---|---|
|
Description |
Success |
|
|
Content Type |
application/json |
|
|
Example Value |
JSON
|
|
|
Schema |
JSON
|
|
|
Note |
|
|
Response |
Status Code |
403 |
|---|---|---|
|
Description |
Forbidden. |
|
|
Content Type |
application/json |
|
|
Example Value |
JSON
|
|
|
Schema |
JSON
|
API ⑤ - 取得 Route B 服務開通的申請結果
|
Summary |
取得 Route B 服務開通的申請結果 |
|
|---|---|---|
|
Path |
GET |
|
|
Description |
在呼叫此 API 後,聯齊將提供 Route B 服務開通的申請結果 |
|
|
Request Body |
Content Type |
application/json |
|
Example Value |
JSON
|
|
|
Schema |
JSON
|
|
|
Request Params |
Example Value |
JSON
|
|
Schema |
JSON
|
|
|
Response |
Status Code |
200 |
|---|---|---|
|
Description |
Success |
|
|
Content Type |
application/json |
|
|
Example Value |
JSON
|
|
|
Schema |
JSON
|
|
|
Note |
|
API ⑥ - 取得 Route B 服務開通的申請清單與結果
|
Summary |
取得 Route B 服務開通的申請清單與結果 |
|
|---|---|---|
|
Path |
GET |
|
|
Description |
在呼叫此 API 後,聯齊將提供 Route B 服務開通的申請清單與結果 |
|
|
Request Body |
Content Type |
application/json |
|
Example Value |
JSON
|
|
|
Schema |
JSON
|
|
|
Request Params |
Example Value |
JSON
|
|
Schema |
JSON
|
|
|
Note |
依時間排序,新的在前就得在後 再開封印日期說明
|
|
|
Response |
Status Code |
200 |
|---|---|---|
|
Description |
Success |
|
|
Content Type |
application/json |
|
|
Example Value |
JSON
|
|
|
Schema |
JSON
|
|
|
Note |
|