POST api/Business/Passport/SetPermit
设置通行证的许可权和有效期
Request Information
URI Parameters
None.
Body Parameters
PassportSetPermitParmName | Description | Type | Additional information |
---|---|---|---|
LBSBH |
内部识别号 |
string |
Max length: 32 |
QSRQ |
起始有效日期 |
string |
Max length: 8 Min length: 8 |
JZRQ |
截至有效日期 |
string |
Max length: 8 Min length: 8 |
YQIDS |
园区ID列表,以|分隔 |
string |
Max length: 4000 |
TXFX |
通行方向,以|分格 |
string |
Max length: 4000 |
TXCS |
通行次数列表,以|分格 ,以上三个同时为空时,表示不设置明细 |
string |
Max length: 4000 |
Request Formats
application/json, text/json
Sample:
{ "LBSBH": "sample string 1", "QSRQ": "sample string 2", "JZRQ": "sample string 3", "YQIDS": "sample string 4", "TXFX": "sample string 5", "TXCS": "sample string 6" }
application/xml, text/xml
Sample:
<PassportSetPermitParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm"> <JZRQ>sample string 3</JZRQ> <LBSBH>sample string 1</LBSBH> <QSRQ>sample string 2</QSRQ> <TXCS>sample string 6</TXCS> <TXFX>sample string 5</TXFX> <YQIDS>sample string 4</YQIDS> </PassportSetPermitParm>
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.