POST api/Servo/Sms/Rpt/Add
添加一个经营报短信任务
Request Information
URI Parameters
None.
Body Parameters
RptSmsTaskAddParmName | Description | Type | Additional information |
---|---|---|---|
MBID |
@MBID char(4),/*模板ID*/ |
string |
None. |
MBMC |
@MBMC nvarchar(32),/*模板名称*/ |
string |
None. |
MBNR |
@MBNR nvarchar(500),/*模板内容*/ |
string |
None. |
FSZQ |
@FSZQ char(1) ,/*发送周期*/ |
string |
None. |
ZQZ |
@ZQZ char(8),/*周期值*/ |
string |
None. |
JFFSSJ |
@JFFSSJ char(14),/*计划发送时间*/ |
string |
None. |
GRFSRS |
@GRFSRS int ,/*过日发送日数*/ |
integer |
None. |
DXNR |
@DXNR nvarchar(500),/*短信内容*/ |
string |
None. |
BL1 |
@BL1 varchar(50),/*保留1*/ |
string |
None. |
BL2 |
@BL2 varchar(50),/*保留2*/ |
string |
None. |
BL3 |
@BL3 varchar(50),/*保留3*/ |
string |
None. |
CSGS |
@CSGS int ,/*参数的个数*/ |
integer |
None. |
PARMTABLE |
@PARMTABLE varchar(4000),/*参数表参数以“|”分隔*/ |
string |
None. |
VALUETABLE |
@VALUETABLE varchar(4000),/*参数值表,参数值以“|”分隔*/ |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "MBID": "sample string 1", "MBMC": "sample string 2", "MBNR": "sample string 3", "FSZQ": "sample string 4", "ZQZ": "sample string 5", "JFFSSJ": "sample string 6", "GRFSRS": 7, "DXNR": "sample string 8", "BL1": "sample string 9", "BL2": "sample string 10", "BL3": "sample string 11", "CSGS": 12, "PARMTABLE": "sample string 13", "VALUETABLE": "sample string 14" }
application/xml, text/xml
Sample:
<RptSmsTaskAddParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.Servo"> <BL1>sample string 9</BL1> <BL2>sample string 10</BL2> <BL3>sample string 11</BL3> <CSGS>12</CSGS> <DXNR>sample string 8</DXNR> <FSZQ>sample string 4</FSZQ> <GRFSRS>7</GRFSRS> <JFFSSJ>sample string 6</JFFSSJ> <MBID>sample string 1</MBID> <MBMC>sample string 2</MBMC> <MBNR>sample string 3</MBNR> <PARMTABLE>sample string 13</PARMTABLE> <VALUETABLE>sample string 14</VALUETABLE> <ZQZ>sample string 5</ZQZ> </RptSmsTaskAddParm>
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.