POST api/Tally/CheckCompanyNumber
統編驗證
Request Information
URI Parameters
None.
Body Parameters
CheckCompanyNumber_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| Ticket |
身份票據 |
string |
Required |
| taxId |
統一編號 |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"Ticket": "sample string 1",
"taxId": "sample string 2"
}
text/html
Sample:
{"Ticket":"sample string 1","taxId":"sample string 2"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
統編驗證
CheckCompanyNumber_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| status |
狀態 0:0:系統錯誤1:統一編號存在 2:統一編號不存在 |
integer |
None. |
| ticketVerified |
驗證是否通過 |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": 1,
"ticketVerified": true
}
text/html
Sample:
{"status":1,"ticketVerified":true}