POST api/Setting/JQ_MPZL_JG/T/Add
设置景区票型价格。
Request Information
URI Parameters
None.
Body Parameters
TicketTypeAddPiceParmName | Description | Type | Additional information |
---|---|---|---|
MPLXID |
门票类型id |
globally unique identifier |
Required |
StartDate |
起始时间 |
string |
Required Max length: 8 |
EndDate |
到期时间 |
string |
Required Max length: 8 |
Price |
价格 |
decimal number |
Required |
IsInclMon |
是否设置周一 |
string |
Required Max length: 1 |
IsInclTues |
是否设置周二 |
string |
Required Max length: 1 |
IsInclWed |
是否设置周三 |
string |
Required Max length: 1 |
IsInclThurs |
是否设置周四 |
string |
Required Max length: 1 |
IsInclFri |
是否设置周五 |
string |
Required Max length: 1 |
IsInclSat |
是否设置周六 |
string |
Required Max length: 1 |
IsInclSun |
是否设置周日 |
string |
Required Max length: 1 |
CreateInvoidItem |
是否同时创建发票项目,“1”表示是,“0”表示否。 |
string |
Required Max length: 1 |
Request Formats
application/json, text/json
Sample:
{ "MPLXID": "6c615ac0-3aa0-4697-ba2b-294eaee6d44f", "StartDate": "sample string 2", "EndDate": "sample string 3", "Price": 4.0, "IsInclMon": "sample string 5", "IsInclTues": "sample string 6", "IsInclWed": "sample string 7", "IsInclThurs": "sample string 8", "IsInclFri": "sample string 9", "IsInclSat": "sample string 10", "IsInclSun": "sample string 11", "CreateInvoidItem": "sample string 12" }
application/xml, text/xml
Sample:
<TicketTypeAddPiceParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm"> <CreateInvoidItem>sample string 12</CreateInvoidItem> <EndDate>sample string 3</EndDate> <IsInclFri>sample string 9</IsInclFri> <IsInclMon>sample string 5</IsInclMon> <IsInclSat>sample string 10</IsInclSat> <IsInclSun>sample string 11</IsInclSun> <IsInclThurs>sample string 8</IsInclThurs> <IsInclTues>sample string 6</IsInclTues> <IsInclWed>sample string 7</IsInclWed> <MPLXID>6c615ac0-3aa0-4697-ba2b-294eaee6d44f</MPLXID> <Price>4</Price> <StartDate>sample string 2</StartDate> </TicketTypeAddPiceParm>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
设置景区票型价格。
CommonOperationResultName | Description | Type | Additional information |
---|---|---|---|
errcode |
错误代码,通常0表示成功,其他值表示错误。 |
integer |
None. |
errmsg |
错误描述,当errcode不为零时,此值可以用于呈现给用户。 |
string |
None. |
tag |
操作同时,服务器端需要返回的其他值。 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": "sample string 3" }
application/xml, text/xml
Sample:
<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
Sample:
Binary JSON content. See http://bsonspec.org for details.