POST api/ServerPro/GetServerDefault
取得預設規格
Request Information
URI Parameters
None.
Body Parameters
GetServerDefault_Input| Name | Description | Type | Additional information |
|---|---|---|---|
| Ticket |
身份票據 |
string |
Required |
| serviceNumber |
服務代號 |
string |
Required |
| ServiceCityNo |
服務縣市 |
integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"Ticket": "sample string 1",
"serviceNumber": "sample string 2",
"ServiceCityNo": 3
}
text/html
Sample:
{"Ticket":"sample string 1","serviceNumber":"sample string 2","ServiceCityNo":3}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
取得預設規格
GetServerDefault_Output| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceSpecs |
服務規格 |
Collection of GetServerDefault_Spec |
None. |
| ticketVerified |
驗證是否通過 |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"ServiceSpecs": [
{
"ServiceSpec": "sample string 1"
},
{
"ServiceSpec": "sample string 1"
}
],
"ticketVerified": true
}
text/html
Sample:
{"ServiceSpecs":[{"ServiceSpec":"sample string 1"},{"ServiceSpec":"sample string 1"}],"ticketVerified":true}