POST api/Setting/SeatView/Add
调用存储过程,添加一个座位视图
Request Information
URI Parameters
None.
Body Parameters
AddSeatViewParmName | Description | Type | Additional information |
---|---|---|---|
RQ1 |
@RQ1 CHAR(8), /*起始日期*/ |
string |
Max length: 8 |
RQ2 |
@RQ2 CHAR(8), /*截止日期*/ |
string |
Max length: 8 |
JMDM |
@JMDM BIGINT,/*剧目ID*/ |
integer |
None. |
YQID |
@YQID UNIQUEIDENTIFIER,/*园区ID*/ |
globally unique identifier |
None. |
DELREPEAT |
@DELREPEAT CHAR(1),/*是否删除原有数据并重新创建 0表示删除 1表示不删除*/ |
string |
Max length: 1 |
PCID |
场次ID,单独创建某一个场次时使用的参数。 |
globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "RQ1": "sample string 1", "RQ2": "sample string 2", "JMDM": 3, "YQID": "89b33cad-67b7-4362-be67-949716c4ddcc", "DELREPEAT": "sample string 5", "PCID": "dbe3ae10-5123-4f21-9d0e-54bc73a1a574" }
application/xml, text/xml
Sample:
<AddSeatViewParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm"> <DELREPEAT>sample string 5</DELREPEAT> <JMDM>3</JMDM> <PCID>dbe3ae10-5123-4f21-9d0e-54bc73a1a574</PCID> <RQ1>sample string 1</RQ1> <RQ2>sample string 2</RQ2> <YQID>89b33cad-67b7-4362-be67-949716c4ddcc</YQID> </AddSeatViewParm>
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.