PUT api/Banner
Request Information
URI Parameters
None.
Body Parameters
Collection of Banner| Name | Description | Type | Additional information |
|---|---|---|---|
| banner_id | integer |
None. |
|
| name | string |
Required Max length: 32 |
|
| pic_filepath_cht | string |
Required Max length: 255 |
|
| pic_filepath_chs | string |
Required Max length: 255 |
|
| pic_filepath_eng | string |
Required Max length: 255 |
|
| pic_filepath_jpn | string |
Required Max length: 255 |
|
| link_cht | string |
Required Max length: 255 |
|
| link_chs | string |
Required Max length: 255 |
|
| link_eng | string |
Required Max length: 255 |
|
| link_jpn | string |
Required Max length: 255 |
|
| create_date | string |
None. |
|
| update_date | string |
None. |
|
| priority | integer |
Required |
|
| is_disabled | string |
Required Max length: 1 |
Request Formats
application/json, text/json
Sample:
[
{
"banner_id": 1,
"name": "sample string 2",
"pic_filepath_cht": "sample string 3",
"pic_filepath_chs": "sample string 4",
"pic_filepath_eng": "sample string 5",
"pic_filepath_jpn": "sample string 6",
"link_cht": "sample string 7",
"link_chs": "sample string 8",
"link_eng": "sample string 9",
"link_jpn": "sample string 10",
"create_date": "0001/01/01",
"update_date": "0001/01/01",
"priority": 13,
"is_disabled": "sample string 14"
},
{
"banner_id": 1,
"name": "sample string 2",
"pic_filepath_cht": "sample string 3",
"pic_filepath_chs": "sample string 4",
"pic_filepath_eng": "sample string 5",
"pic_filepath_jpn": "sample string 6",
"link_cht": "sample string 7",
"link_chs": "sample string 8",
"link_eng": "sample string 9",
"link_jpn": "sample string 10",
"create_date": "0001/01/01",
"update_date": "0001/01/01",
"priority": 13,
"is_disabled": "sample string 14"
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| msg | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"msg": "sample string 1"
}