POST api/TransRecord/UploadRoomType
Request Information
URI Parameters
None.
Body Parameters
Collection of C_Bi_RoomType| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | string |
None. |
|
| ShopID | string |
None. |
|
| TypeID | string |
None. |
|
| TypeName | string |
None. |
|
| MinimumCharge | decimal number |
None. |
|
| ServiceType | integer |
None. |
|
| ServiceCharge | decimal number |
None. |
|
| SweepPercentage | decimal number |
None. |
|
| SortId | integer |
None. |
|
| IsCountTime | boolean |
None. |
|
| Status | integer |
None. |
|
| UpdateTime | Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"ID": "sample string 1",
"ShopID": "sample string 2",
"TypeID": "sample string 3",
"TypeName": "sample string 4",
"MinimumCharge": 5.0,
"ServiceType": 6,
"ServiceCharge": 7.0,
"SweepPercentage": 8.0,
"SortId": 9,
"IsCountTime": true,
"Status": 11,
"UpdateTime": "QEA="
},
{
"ID": "sample string 1",
"ShopID": "sample string 2",
"TypeID": "sample string 3",
"TypeName": "sample string 4",
"MinimumCharge": 5.0,
"ServiceType": 6,
"ServiceCharge": 7.0,
"SweepPercentage": 8.0,
"SortId": 9,
"IsCountTime": true,
"Status": 11,
"UpdateTime": "QEA="
}
]
application/xml, text/xml
Sample:
<ArrayOfC_Bi_RoomType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LG.Model.CM_TB">
<C_Bi_RoomType>
<ID>sample string 1</ID>
<IsCountTime>true</IsCountTime>
<MinimumCharge>5</MinimumCharge>
<ServiceCharge>7</ServiceCharge>
<ServiceType>6</ServiceType>
<ShopID>sample string 2</ShopID>
<SortId>9</SortId>
<Status>11</Status>
<SweepPercentage>8</SweepPercentage>
<TypeID>sample string 3</TypeID>
<TypeName>sample string 4</TypeName>
<UpdateTime>QEA=</UpdateTime>
</C_Bi_RoomType>
<C_Bi_RoomType>
<ID>sample string 1</ID>
<IsCountTime>true</IsCountTime>
<MinimumCharge>5</MinimumCharge>
<ServiceCharge>7</ServiceCharge>
<ServiceType>6</ServiceType>
<ShopID>sample string 2</ShopID>
<SortId>9</SortId>
<Status>11</Status>
<SweepPercentage>8</SweepPercentage>
<TypeID>sample string 3</TypeID>
<TypeName>sample string 4</TypeName>
<UpdateTime>QEA=</UpdateTime>
</C_Bi_RoomType>
</ArrayOfC_Bi_RoomType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.