OPTIONS api/Media/UpdateMedia?ip={ip}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ip | string |
Required |
Body Parameters
YwTerminal| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
None. |
|
| type | string |
Required String length: inclusive between 0 and 2 |
|
| tgroup | string |
None. |
|
| code | string |
Required String length: inclusive between 0 and 100 |
|
| name | string |
Required String length: inclusive between 0 and 200 |
|
| fbl | string |
String length: inclusive between 0 and 32 |
|
| address | string |
Required String length: inclusive between 0 and 100 |
|
| key | string |
Required String length: inclusive between 0 and 50 |
|
| zttt | string |
String length: inclusive between 0 and 2 |
|
| isdel | string |
None. |
|
| creatdate | date |
None. |
|
| creatuser | string |
None. |
|
| updatedate | date |
None. |
|
| updateuser | string |
None. |
|
| bzzz | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "sample string 1",
"type": "sample string 2",
"tgroup": "sample string 3",
"code": "sample string 4",
"name": "sample string 5",
"fbl": "sample string 6",
"address": "sample string 7",
"key": "sample string 8",
"zttt": "sample string 9",
"isdel": "sample string 10",
"creatdate": "2026-02-04T11:15:21.2237393+08:00",
"creatuser": "sample string 11",
"updatedate": "2026-02-04T11:15:21.2237393+08:00",
"updateuser": "sample string 12",
"bzzz": "sample string 13"
}
application/xml, text/xml
Sample:
<YwTerminal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models"> <address>sample string 7</address> <bzzz>sample string 13</bzzz> <code>sample string 4</code> <creatdate>2026-02-04T11:15:21.2237393+08:00</creatdate> <creatuser>sample string 11</creatuser> <fbl>sample string 6</fbl> <id>sample string 1</id> <isdel>sample string 10</isdel> <key>sample string 8</key> <name>sample string 5</name> <tgroup>sample string 3</tgroup> <type>sample string 2</type> <updatedate>2026-02-04T11:15:21.2237393+08:00</updatedate> <updateuser>sample string 12</updateuser> <zttt>sample string 9</zttt> </YwTerminal>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>