POST api/Busi/ZJMP_XZMP/T/AddOrUpdate
添加或修改一个行政免票单。
Request Information
URI Parameters
None.
Body Parameters
FreeTicketAddOrUpdateParmName | Description | Type | Additional information |
---|---|---|---|
LBSBH |
内部识别号。 |
string |
Required Max length: 32 |
DWLX |
客户类型,分别表示1地接社,2组团社,3协议单位,4地接部门,5组团部门,7导游员 |
string |
Required Max length: 1 |
DWID |
客户ID |
string |
Required Max length: 36 |
RS |
人数 |
integer |
Required |
SQRQ |
申请时间 |
date |
Required |
YXRQ |
起始有效日期 |
date |
None. |
LDSP |
文本,执行审批的领导 |
string |
Max length: 20 |
JDSX |
免票人员的接待事项 |
string |
Max length: 100 |
TXQLXID |
对应的通行券的类型 |
globally unique identifier |
Required |
SRQ |
申请人 |
string |
Max length: 16 |
LXDM |
免票类型的代码 |
string |
Required Max length: 2 |
MM |
换票的密码 |
string |
Max length: 10 |
XM |
姓名 |
string |
Max length: 20 |
ZJLX |
证件类型,同证件类型的取值,如果是二代证,可以直接用二代证过闸 |
string |
Max length: 1 |
ZJHM |
证件号码 |
string |
Max length: 20 |
PCID |
场次ID,为演出办理免票时必填 |
globally unique identifier |
None. |
Permits |
额外定义的通行权。 |
Collection of FreeTicketPermitItem |
None. |
Seats |
办理演出的行政免票时的座位清单。 |
Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "LBSBH": "sample string 1", "DWLX": "sample string 2", "DWID": "sample string 3", "RS": 4, "SQRQ": "2025-01-22T02:06:03.7404325+08:00", "YXRQ": "2025-01-22T02:06:03.7404325+08:00", "LDSP": "sample string 7", "JDSX": "sample string 8", "TXQLXID": "888e9c4b-fdd1-482c-b46a-2c4c3f7985dd", "SRQ": "sample string 10", "LXDM": "sample string 11", "MM": "sample string 12", "XM": "sample string 13", "ZJLX": "sample string 14", "ZJHM": "sample string 15", "PCID": "4ac79f0f-6441-4d41-beb8-42176398b61e", "Permits": [ { "YXID": "4eacb682-e88e-456e-a42c-e21f1f258ca7", "XKFX": "sample string 2", "XKCS": 3 }, { "YXID": "4eacb682-e88e-456e-a42c-e21f1f258ca7", "XKFX": "sample string 2", "XKCS": 3 } ], "Seats": [ "95f3f73b-4449-46be-8b27-6a6ef6dd241c", "c61bf272-59c5-4be0-ada0-095445eff24d" ] }
application/xml, text/xml
Sample:
<FreeTicketAddOrUpdateParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.FreeTicket"> <DWID>sample string 3</DWID> <DWLX>sample string 2</DWLX> <JDSX>sample string 8</JDSX> <LBSBH>sample string 1</LBSBH> <LDSP>sample string 7</LDSP> <LXDM>sample string 11</LXDM> <MM>sample string 12</MM> <PCID>4ac79f0f-6441-4d41-beb8-42176398b61e</PCID> <Permits> <FreeTicketPermitItem> <XKCS>3</XKCS> <XKFX>sample string 2</XKFX> <YXID>4eacb682-e88e-456e-a42c-e21f1f258ca7</YXID> </FreeTicketPermitItem> <FreeTicketPermitItem> <XKCS>3</XKCS> <XKFX>sample string 2</XKFX> <YXID>4eacb682-e88e-456e-a42c-e21f1f258ca7</YXID> </FreeTicketPermitItem> </Permits> <RS>4</RS> <SQRQ>2025-01-22T02:06:03.7404325+08:00</SQRQ> <SRQ>sample string 10</SRQ> <Seats xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>95f3f73b-4449-46be-8b27-6a6ef6dd241c</d2p1:guid> <d2p1:guid>c61bf272-59c5-4be0-ada0-095445eff24d</d2p1:guid> </Seats> <TXQLXID>888e9c4b-fdd1-482c-b46a-2c4c3f7985dd</TXQLXID> <XM>sample string 13</XM> <YXRQ>2025-01-22T02:06:03.7404325+08:00</YXRQ> <ZJHM>sample string 15</ZJHM> <ZJLX>sample string 14</ZJLX> </FreeTicketAddOrUpdateParm>
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.