POST api/Setting/SMS_WLPMB/REF/T/Add
添加一个票务自动短信模板引用记录。
Request Information
URI Parameters
None.
Body Parameters
Sms_WLPMB_Ref_AddOrUpdParmName | Description | Type | Additional information |
---|---|---|---|
RefId |
引用的ID,添加操作时此值可以是任意值,不会被采信。 |
integer |
Required |
EventType |
事件类型 1预订成功2 支付成功3 订单关闭4 售票或订单转售票单5 退票6 录入人脸7 激活8 首次过闸 |
string |
Required Max length: 1 Min length: 1 |
LimitedToTicketType |
‘1’是,0或其他值否。 |
string |
Required Max length: 1 Min length: 1 |
LimitedToCustomer |
‘1’是,0或其他值否。 |
string |
Required Max length: 1 Min length: 1 |
TemplateId |
模板的ID |
string |
Required Max length: 4 |
EffectiveStartDate |
有效期始,YYYYMMDD。 |
string |
Required Max length: 8 Min length: 8 |
EffectiveEndDate |
有效期止,YYYYMMDD。 |
string |
Required Max length: 8 Min length: 8 |
EnableStatus |
‘1’是,‘0’或其他值否。 |
string |
Required Max length: 1 Min length: 1 |
Memory |
备注 |
string |
Max length: 100 |
Reserve1 |
保留一 |
string |
Max length: 25 |
Reserve2 |
保留二 |
string |
Max length: 25 |
LimitToDelayAct |
是否仅限延迟激活业务。 |
string |
Max length: 1 |
Request Formats
application/json, text/json
Sample:
{ "RefId": 1, "EventType": "sample string 2", "LimitedToTicketType": "sample string 3", "LimitedToCustomer": "sample string 4", "TemplateId": "sample string 5", "EffectiveStartDate": "sample string 6", "EffectiveEndDate": "sample string 7", "EnableStatus": "sample string 8", "Memory": "sample string 9", "Reserve1": "sample string 10", "Reserve2": "sample string 11", "LimitToDelayAct": "sample string 12" }
application/xml, text/xml
Sample:
<Sms_WLPMB_Ref_AddOrUpdParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Tour.V5.Parm.Sms"> <EffectiveEndDate>sample string 7</EffectiveEndDate> <EffectiveStartDate>sample string 6</EffectiveStartDate> <EnableStatus>sample string 8</EnableStatus> <EventType>sample string 2</EventType> <LimitToDelayAct>sample string 12</LimitToDelayAct> <LimitedToCustomer>sample string 4</LimitedToCustomer> <LimitedToTicketType>sample string 3</LimitedToTicketType> <Memory>sample string 9</Memory> <RefId>1</RefId> <Reserve1>sample string 10</Reserve1> <Reserve2>sample string 11</Reserve2> <TemplateId>sample string 5</TemplateId> </Sms_WLPMB_Ref_AddOrUpdParm>
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
添加一个票务自动短信模板引用记录。
CommonOperationResultWithTagOfInt32Name | Description | Type | Additional information |
---|---|---|---|
errcode | integer |
None. |
|
errmsg | string |
None. |
|
tag | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "errcode": 1, "errmsg": "sample string 2", "tag": 3 }
application/xml, text/xml
Sample:
<CommonOperationResultWithTagOfint 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>3</tag> </CommonOperationResultWithTagOfint>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.