POST api/Error/AddWebErrorLog
紀錄前端錯誤
Request Information
URI Parameters
None.
Body Parameters
AddWebErrorLog_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| userId |
帳號 |
string |
Required |
| Ticket |
身份票據 |
string |
Required |
| msg |
錯誤訊息 |
string |
None. |
| url |
發生網址 |
string |
None. |
| lineNo |
行號 |
string |
None. |
| columnNo |
列號 |
string |
None. |
| stack |
錯誤堆疊訊息 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"userId": "sample string 1",
"Ticket": "sample string 2",
"msg": "sample string 3",
"url": "sample string 4",
"lineNo": "sample string 5",
"columnNo": "sample string 6",
"stack": "sample string 7"
}
text/html
Sample:
{"userId":"sample string 1","Ticket":"sample string 2","msg":"sample string 3","url":"sample string 4","lineNo":"sample string 5","columnNo":"sample string 6","stack":"sample string 7"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
紀錄前端錯誤
AddWebErrorLog_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| ticketVerified |
驗證是否通過 |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"ticketVerified": true
}
text/html
Sample:
{"ticketVerified":true}