POST api/Business/TicketChange/AddOrUpdate
新增或修改一个演出门票变更记录
Request Information
URI Parameters
None.
Body Parameters
TicketChangeForTheatreAddOrUpdateParmName | Description | Type | Additional information |
---|---|---|---|
SPDH |
SPDH char(20),--售票单号 |
string |
Required |
LBSBH |
LBSBH varchar(32),--内部识别号 |
string |
Required |
YSMPRQ |
YSMPRQ char(8),--原门票日期 |
string |
Required |
YSSPRQSJ |
YSSPRQSJ char(14),--原售票日期 |
string |
Required |
SPY |
SPY varchar(20),--原售票员 |
string |
Required |
GQGQSPY |
GQGQSPY varchar(20),--改签挂起售票员 |
string |
None. |
GQQRSPY |
GQQRSPY varchar(20),--改签签入售票员 |
string |
None. |
QRRQ |
QRRQ CHAR(8),--签入日期 |
string |
None. |
GQGQRQSJ |
GQGQRQSJ char(14),--改签挂起日期时间 |
string |
None. |
GQQRRQSJ |
GQQRRQSJ char(14),--改签签入日期时间 |
string |
None. |
ZT |
ZT char(1),--状态 |
string |
Required |
BZ |
BZ nvarchar(100),--备注 |
string |
None. |
MPKH |
MPKH varchar(32),--门票卡号 |
string |
None. |
GQQZWID |
GQQZWID uniqueidentifier,--改签前座位ID |
globally unique identifier |
Required |
GQQPCID |
GQQPCID uniqueidentifier,--改签前场次ID |
globally unique identifier |
Required |
GQHPCID |
GQHPCID uniqueidentifier,--改签后场次ID |
globally unique identifier |
Required |
GQHZWID |
GQHZWID uniqueidentifier--改签后座位ID |
globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{ "SPDH": "sample string 1", "LBSBH": "sample string 2", "YSMPRQ": "sample string 3", "YSSPRQSJ": "sample string 4", "SPY": "sample string 5", "GQGQSPY": "sample string 6", "GQQRSPY": "sample string 7", "QRRQ": "sample string 8", "GQGQRQSJ": "sample string 9", "GQQRRQSJ": "sample string 10", "ZT": "sample string 11", "BZ": "sample string 12", "MPKH": "sample string 13", "GQQZWID": "038f5da0-6853-4174-9a7a-c08aecd9ae67", "GQQPCID": "f786ee4d-618b-418d-ac83-64c92c5fb769", "GQHPCID": "076584db-d441-4cc3-9f0d-803419b2269b", "GQHZWID": "85cecb11-49db-4cbe-98e9-b0c35ff175e9" }
application/xml, text/xml
Sample:
<TicketChangeForTheatreAddOrUpdateParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm"> <BZ>sample string 12</BZ> <GQGQRQSJ>sample string 9</GQGQRQSJ> <GQGQSPY>sample string 6</GQGQSPY> <GQHPCID>076584db-d441-4cc3-9f0d-803419b2269b</GQHPCID> <GQHZWID>85cecb11-49db-4cbe-98e9-b0c35ff175e9</GQHZWID> <GQQPCID>f786ee4d-618b-418d-ac83-64c92c5fb769</GQQPCID> <GQQRRQSJ>sample string 10</GQQRRQSJ> <GQQRSPY>sample string 7</GQQRSPY> <GQQZWID>038f5da0-6853-4174-9a7a-c08aecd9ae67</GQQZWID> <LBSBH>sample string 2</LBSBH> <MPKH>sample string 13</MPKH> <QRRQ>sample string 8</QRRQ> <SPDH>sample string 1</SPDH> <SPY>sample string 5</SPY> <YSMPRQ>sample string 3</YSMPRQ> <YSSPRQSJ>sample string 4</YSSPRQSJ> <ZT>sample string 11</ZT> </TicketChangeForTheatreAddOrUpdateParm>
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.