POST api/EquipmentLease/LeasePrice/SetByPeriod
按时间段进行一次调价 3009000M0002
Request Information
URI Parameters
None.
Body Parameters
ELEquipmentPriceSetParmName | Description | Type | Additional information |
---|---|---|---|
BillNum |
@BillNum char(20) |
string |
Required Max length: 20 Min length: 20 |
HappenDate |
调价日期 |
string |
Required Max length: 8 Min length: 8 |
HappenTime |
调价时间 |
string |
Required Max length: 6 Min length: 6 |
UserLoginName |
操作用户@UserLoginName varchar(20), |
string |
Required Max length: 20 |
ActionType |
动作类型@ActionType char(1), |
string |
Required Max length: 1 Min length: 1 |
Range |
作用范围@Range char(1), |
string |
Required Max length: 1 Min length: 1 |
EquipmentID |
装备id[EquipmentID] [bigint]NOT NULL, |
integer |
None. |
CategoryCode |
装备类别[CategoryCode] [char](6) NOT NULL, |
string |
Max length: 6 |
StartDate |
作用日期始 |
string |
Required Max length: 8 Min length: 8 |
StartTime |
作用起始时段 |
string |
Required Max length: 4 Min length: 4 |
EndDate |
作用日期止 |
string |
Max length: 8 Min length: 8 |
EndTime |
作用截止时段 |
string |
Max length: 4 Min length: 4 |
AdjustDeposit |
调整后押金值 |
decimal number |
None. |
CalulationMode |
租金计算方式 |
string |
Max length: 1 |
Price |
租金单价 |
decimal number |
None. |
LeaseUnitTime |
租赁单位时间 |
integer |
None. |
TimeoutGrace |
超时宽限时间 |
integer |
None. |
CalulationMode2 |
超时租金计算方式 |
string |
Max length: 1 |
Price2 |
超时租金单价 |
decimal number |
None. |
LeaseUnitTime2 |
超时租赁单位时间 |
integer |
None. |
MaxLeaseTime |
最大租赁时长 |
integer |
None. |
Reserver1 |
起租反悔时间 |
integer |
None. |
IsInclMon |
按周期设置价格需要填写,是否设置周一 |
string |
None. |
IsInclTues |
按周期设置价格需要填写,是否设置周二 |
string |
None. |
IsInclWed |
按周期设置价格需要填写,是否设置周三 |
string |
None. |
IsInclThurs |
按周期设置价格需要填写,是否设置周四 |
string |
None. |
IsInclFri |
按周期设置价格需要填写,是否设置周五 |
string |
None. |
IsInclSat |
按周期设置价格需要填写,是否设置周六 |
string |
None. |
IsInclSun |
按周期设置价格需要填写,是否设置周日 |
string |
None. |
Request Formats
application/json, text/json
{ "BillNum": "sample string 1", "HappenDate": "sample string 2", "HappenTime": "sample string 3", "UserLoginName": "sample string 4", "ActionType": "sample string 5", "Range": "sample string 6", "EquipmentID": 7, "CategoryCode": "sample string 8", "StartDate": "sample string 9", "StartTime": "sample string 10", "EndDate": "sample string 11", "EndTime": "sample string 12", "AdjustDeposit": 13.0, "CalulationMode": "sample string 14", "Price": 15.0, "LeaseUnitTime": 16, "TimeoutGrace": 17, "CalulationMode2": "sample string 18", "Price2": 19.0, "LeaseUnitTime2": 20, "MaxLeaseTime": 21, "Reserver1": 22, "IsInclMon": "sample string 23", "IsInclTues": "sample string 24", "IsInclWed": "sample string 25", "IsInclThurs": "sample string 26", "IsInclFri": "sample string 27", "IsInclSat": "sample string 28", "IsInclSun": "sample string 29" }
application/xml, text/xml
<ELEquipmentPriceSetParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm"> <ActionType>sample string 5</ActionType> <AdjustDeposit>13</AdjustDeposit> <BillNum>sample string 1</BillNum> <CalulationMode>sample string 14</CalulationMode> <CalulationMode2>sample string 18</CalulationMode2> <CategoryCode>sample string 8</CategoryCode> <EndDate>sample string 11</EndDate> <EndTime>sample string 12</EndTime> <EquipmentID>7</EquipmentID> <HappenDate>sample string 2</HappenDate> <HappenTime>sample string 3</HappenTime> <IsInclFri>sample string 27</IsInclFri> <IsInclMon>sample string 23</IsInclMon> <IsInclSat>sample string 28</IsInclSat> <IsInclSun>sample string 29</IsInclSun> <IsInclThurs>sample string 26</IsInclThurs> <IsInclTues>sample string 24</IsInclTues> <IsInclWed>sample string 25</IsInclWed> <LeaseUnitTime>16</LeaseUnitTime> <LeaseUnitTime2>20</LeaseUnitTime2> <MaxLeaseTime>21</MaxLeaseTime> <Price>15</Price> <Price2>19</Price2> <Range>sample string 6</Range> <Reserver1>22</Reserver1> <StartDate>sample string 9</StartDate> <StartTime>sample string 10</StartTime> <TimeoutGrace>17</TimeoutGrace> <UserLoginName>sample string 4</UserLoginName> </ELEquipmentPriceSetParm>
application/x-www-form-urlencoded
Sample not available.
application/bson
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
按时间段进行一次调价 3009000M0002
CommonOperationResultName | Description | Type | Additional information |
---|---|---|---|
errcode |
错误代码,通常0表示成功,其他值表示错误。 |
integer |
None. |
errmsg |
错误描述,当errcode不为零时,此值可以用于呈现给用户。 |
string |
None. |
tag |
操作同时,服务器端需要返回的其他值。 |
string |
None. |
Response Formats
application/json, text/json
{ "errcode": 1, "errmsg": "sample string 2", "tag": "sample string 3" }
application/xml, text/xml
<CommonOperationResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer"> <errcode>1</errcode> <errmsg>sample string 2</errmsg> <tag>sample string 3</tag> </CommonOperationResult>
application/bson
Binary JSON content. See http://bsonspec.org for details.