SMS API
-
打印
-
PDF
SMS API
-
打印
-
PDF
基本信息
API URL
https://sens.apigw.ntruss.com/sms/v2
API Header
项目 | Mandatory | 说明 |
---|---|---|
Content-Type | Mandatory | 将请求体的Content Type指定为application/json(POST) |
x-ncp-apigw-timestamp | Mandatory | - 从协调世界时(UTC)1970年1月1日00:00:00起经过的时间,以毫秒(Millisecond)显示 - 若与API Gateway服务器的时差为5分钟以上,则视为请求无效 |
x-ncp-iam-access-key | Mandatory | 从门户网站或Sub Account获得的Access Key ID |
x-ncp-apigw-signature-v2 | Mandatory | - 利用Access Key ID映射的Secret Key对上述示例中的请求体进行加密后得到的签名 - HMAC使用加密算法HmacSHA256 |
NAVER Cloud Platform认证密钥以及签名创建指南
消息
发送消息
此API用于发送SMS/LMS/MMS消息。
请求URL
POST https://sens.apigw.ntruss.com/sms/v2/services/{serviceId}/messages
Content-Type: application/json; charset=utf-8
x-ncp-apigw-timestamp: {Timestamp}
x-ncp-iam-access-key: {Sub Account Access Key}
x-ncp-apigw-signature-v2: {API Gateway Signature}
Path Variables
项目 | Mandatory | Type | 说明 | 备注 |
---|---|---|---|---|
serviceId | Mandatory | String | 服务ID | 添加项目时获得的服务ID |
Headers
请求体
{
"type":"(SMS | LMS | MMS)",
"contentType":"(COMM | AD)",
"countryCode":"string",
"from":"string",
"subject":"string",
"content":"string",
"messages":[
{
"to":"string",
"subject":"string",
"content":"string"
}
],
"files":[
{
"name":"string",
"body":"string"
}
],
"reserveTime": "yyyy-MM-dd HH:mm",
"reserveTimeZone": "string",
"scheduleCode": "string"
}
项目 | Mandatory | Type | 说明 | 备注 |
---|---|---|---|---|
type | Mandatory | String | SMS Type | SMS、LMS、MMS(支持小写字母) |
contentType | Optional | String | 消息类型 | - COMN:一般消息 - AD:广告消息 - default: COMM |
countryCode | Optional | String | 国家编号 | 只可以向SENS提供的国家发送 - default: 82 - 国际SMS发送国家列表 |
from | Mandatory | String | 主叫号码 | 只能使用事先注册的主叫号码 |
subject | Optional | String | 默认消息标题 | 只能在LMS和MMS中使用 - LMS、MMS:最长40byte |
content | Mandatory | String | 默认消息内容 | - SMS:最长80byte - LMS、MMS:最长2000byte |
messages | Mandatory | Object | 消息信息 | - 参考以下项目(messages.XXX) - 最多100个 |
messages.to | Mandatory | String | 接收号码 | 只能输入除连字符(-)以外的数字 |
messages.subject | Optional | String | 自定义消息标题 | 只能在LMS和MMS中使用 - LMS、MMS:最长40byte |
messages.content | Optional | String | 自定义消息内容 | - SMS:最长80byte - LMS、MMS:最长2000byte |
files.name | Optional | String | 文件名称 | - 只能在MMS中使用 - 不可为空 - 扩展名为*.jpg和 *.jpeg的文件名 - 最多40个字符 |
files.body | Optional | String | 文件正文 | - 只能在MMS中使用 - 不可为空 将*.jpg和*.jpeg图片进行编码得到Base64的值 - 以原文件为准,最多300Kbyte - 文件名最多40个字符 - 最高分辨率为1500*1440 |
reserveTime | Optional | String | 预约时间 | 消息预约发送时间(yyyy-MM-dd HH:mm) |
reserveTimeZone | Optional | String | 预约时间所属时区 | - 预约时间所属时区(默认:Asia/Seoul) - 支持时区列表 - 使用TZ database name值 |
scheduleCode | Optional | String | 计划代码 | 拟添加的计划代码 |
注意
- 如果超过最大支持尺寸,则部分内容将被剪切并发送。
- 信件编码(subject, content)是基于EUC-KR发送,如果包含不支持的表情符号,则会引起发送失败。
参考
- 若未定义messages.subject和messages.content,将按照默认subject和content的指定值进行发送。
- messages.subject和messages.content的优先级高于默认的subject和content。
- 虽然是MMS类型,但如果没有附件,就会以LMS发送。
- 同时请求reserveTime和scheduleCode时,将被处理为预约发送。(预约发送的优先顺序高。)
响应体
{
"requestId":"string",
"requestTime":"string",
"statusCode":"string",
"statusName":"string"
}
项目 | Mandatory | Type | 说明 | 备注 |
---|---|---|---|---|
requestId | Mandatory | String | 请求ID | |
requestTime | Mandatory | DateTime | 请求时间 | |
statusCode | Mandatory | String | 请求状态码 | - 202:成功 - 其它:失败 - 采用HTTP Status规格 |
statusName | Mandatory | String | 请求状态名称 | - success:成功 - fail:失败 |
响应状态
HTTP Status | Desc |
---|---|
202 | Accept(请求完毕) |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
429 | Too Many Requests |
500 | Internal Server Error |
查询消息发送请求
此API用于查询消息发送请求。
请求URL
GET https://sens.apigw.ntruss.com/sms/v2/services/{serviceId}/messages?requestId=
x-ncp-apigw-timestamp: {Timestamp}
x-ncp-iam-access-key: {Sub Account Access Key}
x-ncp-apigw-signature-v2: {API Gateway Signature}
Path Variables
项目 | Mandatory | Type | 说明 | 备注 |
---|---|---|---|---|
serviceId | Mandatory | String | 服务ID | 添加项目时获得的服务ID |
Parameters
项目 | Mandatory | Type | 说明 | 备注 |
---|---|---|---|---|
requestId | Mandatory | String | 请求ID | 发送请求ID |
Headers
请求体
无
响应体
{
"requestId":"string",
"statusCode":"string",
"statusName":"string",
"messages":[
{
"messageId":"string",
"requestTime":"string",
"contentType":"string",
"countryCode":"string",
"from":"string",
"to":"string"
}
]
}
项目 | Mandatory | Type | 说明 | 备注 |
---|---|---|---|---|
requestId | Mandatory | String | 请求ID | |
statusCode | Mandatory | String | 请求状态码 | - 202:成功 - 其它:失败 - 采用HTTP Status规格 |
statusName | Mandatory | String | 请求状态名称 | - success:成功 - reserved:正在预约 - scheduled:正在计划 - fail:失败 |
messages.messageId | Mandatory | String | 消息ID | |
messages.requestTime | Mandatory | DateTime | 发送请求的时间 | |
messages.contentType | Mandatory | String | 消息类型 | - COMM:一般消息 - AD:广告消息 |
messages.countryCode | Mandatory | String | 国家编号 | |
messages.from | Mandatory | String | 主叫号码 | |
messages.to | Mandatory | String | 接收号码 |
响应状态
HTTP Status | Desc |
---|---|
200 | OK(请求完毕) |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
500 | Internal Server Error |
查询消息发送结果
此API用于查询消息发送结果。
请求URL
GET https://sens.apigw.ntruss.com/sms/v2/services/{serviceId}/messages/{messageId}
x-ncp-apigw-timestamp: {Timestamp}
x-ncp-iam-access-key: {Sub Account Access Key}
x-ncp-apigw-signature-v2: {API Gateway Signature}
Path Variables
项目 | Mandatory | Type | 说明 | 备注 |
---|---|---|---|---|
serviceId | Mandatory | String | 服务ID | 添加项目时获得的服务ID |
messageId | Mandatory | String | 消息ID | 查询消息发送请求时返回的消息标识符 |
Headers
请求体
无
响应体
{
"statusCode":"string",
"statusName":"string",
"messages":[
{
"requestTime":"string",
"contentType":"string",
"content":"string",
"countryCode":"string",
"from":"string",
"to":"string",
"status":"string",
"statusCode":"string",
"statusMessage":"string",
"statusName":"string",
"completeTime":"string",
"telcoCode":"string",
"files":[
{
"name":"string"
}
]
}
]
}
项目 | Mandatory | Type | 说明 | 备注 |
---|---|---|---|---|
statusCode | Mandatory | String | 向消息服务器发送请求的状态 | - 200:成功 - 其它:失败 |
statusName | Mandatory | String | 向消息服务器发送请求的状态名称 | - success:成功 - fail:失败 |
messages.requestTime | Mandatory | DateTime | 请求时间 | |
messages.contentType | Mandatory | String | 消息类型 | - COMM:一般消息 - AD:广告消息 |
messages.content | Mandatory | String | 消息内容 | 可以查询请求发送的原本content,或者实际发送时按不同类型的长度限制进行发送 |
messages.countryCode | Mandatory | String | 国家编号 | |
messages.from | Mandatory | String | 主叫号码 | |
messages.to | Mandatory | String | 接收号码 | |
messages.status | Mandatory | String | 消息服务器处理发送请求的状态 | - READY:正在等待 - PROCESSING:正在处理 - COMPLETED:处理完毕 |
messages.statusCode | Mandatory | String | 终端接收状态的结果代码 | 参考错误代码表 |
messages.statusName | Mandatory | String | 终端接收状态的结果名称 | |
messages.statusMessage | Mandatory | String | 终端接收状态的结果消息 | |
messages.completeTime | Mandatory | DateTime | 发送完毕时间 | |
messages.telcoCode | Mandatory | String | 运营商代码 | |
files.name | Optional | String | 附件名称 | 仅能在MMS上查询 |
响应状态
HTTP Status | Desc |
---|---|
200 | OK(请求完毕) |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
500 | Internal Server Error |
预约消息
查询预约消息状态
此API用于查询消息预约状态。
GET https://sens.apigw.ntruss.com/sms/v2/services/{serviceId}/reservations/{reserveId}/reserve-status
x-ncp-apigw-timestamp: {Timestamp}
x-ncp-iam-access-key: {Sub Account Access Key}
x-ncp-apigw-signature-v2: {API Gateway Signature}
Path Variables
项目 | Mandatory | Type | 说明 | 备注 |
---|---|---|---|---|
serviceId | Mandatory | String | 服务ID | 添加项目时获得的服务ID |
reserveId | Mandatory | String | 预约消息的ID | 查询预约发送请求时返回的消息标识符(requestId) |
Headers
请求体
无
响应体
{
"reserveId": "string",
"reserveTimeZone": "string",
"reserveTime": "string",
"reserveStatus": "string"
}
项目 | Mandatory | Type | 说明 | 备注 |
---|---|---|---|---|
reserveId | Mandatory | String | 预约消息的ID | 查询预约发送请求时返回的消息标识符(requestId) |
reserveTime | Mandatory | String | 预约时间 | 消息预约发送时间(yyyy-MM-dd HH:mm) |
reserveTimeZone | Mandatory | String | 预约时间所属时区 | - 预约时间所属时区(默认:Asia/Seoul) - 支持时区列表 - 使用TZ database name值 |
reserveStatus | Mandatory | String | 预约状态 | - READY:等待发送 - PROCESSING:正在请求发送 - CANCELED:取消发送 - FAIL:发送请求失败 - DONE:发送请求成功 - STALE:发送请求失败(超时) |
响应状态
HTTP Status | Desc |
---|---|
200 | OK(查询完毕) |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
500 | Internal Server Error |
取消预约消息
此API用于取消消息发送预约。
DELETE https://sens.apigw.ntruss.com/sms/v2/services/{serviceId}/reservations/{reserveId}
x-ncp-apigw-timestamp: {Timestamp}
x-ncp-iam-access-key: {Sub Account Access Key}
x-ncp-apigw-signature-v2: {API Gateway Signature}
Path Variables
项目 | Mandatory | Type | 说明 | 备注 |
---|---|---|---|---|
serviceId | Mandatory | String | 服务ID | 添加项目时获得的服务ID |
reserveId | Mandatory | String | 预约消息的ID | 查询预约发送请求时返回的消息标识符(requestId) |
Headers
请求体
无
响应体
无
响应状态
HTTP Status | Desc |
---|---|
204 | No Content(删除成功) |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
500 | Internal Server Error |
计划消息
取消计划消息
此API用于取消消息发送计划。
DELETE https://sens.apigw.ntruss.com/sms/v2/services/{serviceId}/schedules/{scheduleCode}/messages/{messageId}
x-ncp-apigw-timestamp: {Timestamp}
x-ncp-iam-access-key: {Sub Account Access Key}
x-ncp-apigw-signature-v2: {API Gateway Signature}
Path Variables
项目 | Mandatory | Type | 说明 | 备注 |
---|---|---|---|---|
serviceId | Mandatory | String | 服务ID | 添加项目时获得的服务ID |
scheduleCode | Mandatory | String | 计划代码 | 添加计划时使用的代码 |
messageId | Mandatory | String | 预约消息的ID | 查询计划发送请求时返回的消息标识符(requestId) |
Headers
请求体
无
响应体
无
响应状态
HTTP Status | Desc |
---|---|
204 | No Content(删除成功) |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
500 | Internal Server Error |
080号码拒收
查询拒收号码
此API用于查询拒收号码。
请求URL
GET https://sens.apigw.ntruss.com/sms/v2/services/{serviceId}/unsubscribes
Content-Type: application/json; charset=utf-8
x-ncp-apigw-timestamp: {Timestamp}
x-ncp-iam-access-key: {Sub Account Access Key}
x-ncp-apigw-signature-v2: {API Gateway Signature}
Path Variables
项目 | Mandatory | Type | 说明 | 备注 |
---|---|---|---|---|
serviceId | Mandatory | String | 服务ID | 添加项目时获得的服务ID |
Parameters
项目 | Mandatory | Type | 说明 | 备注 |
---|---|---|---|---|
clientTelNo | Optional | String | 拒收号码 | 添加至080服务号码列表的拒收号码 |
pageSize | Optional | Integer | 页面大小 | - default: 100 - 只能输入0~100之间的数字 |
pageIndex | Optional | Integer | 页面索引 | default: 0 |
startTime | Optional | Integer | 查询开始时间 | - 以拒收号码添加时间为准 - 默认:全部 |
endTime | Optional | Integer | 查询结束时间 | - 以拒收号码添加时间为准 - 默认:全部 |
Headers
请求体
无
响应体
[
{
"clientTelNo": "string",
"registerTime": "string",
"registerType": "char"
}
]
项目 | Mandatory | Type | 说明 | 备注 |
---|---|---|---|---|
clientTelNo | Mandatory | String | 拒收号码 | |
registerTime | Mandatory | String | 添加时间 | foramt: LocalDateTime |
registerType | Mandatory | Char | 添加方式 | - M(manual):手动添加 - C(call):致电添加 |
响应状态
HTTP Status | Desc |
---|---|
200 | OK |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
429 | Too Many Requests |
500 | Internal Server Error |
添加拒收号码
此API用于添加拒收号码。
请求URL
POST https://sens.apigw.ntruss.com/sms/v2/services/{serviceId}/unsubscribes
Content-Type: application/json; charset=utf-8
x-ncp-apigw-timestamp: {Timestamp}
x-ncp-iam-access-key: {Sub Account Access Key}
x-ncp-apigw-signature-v2: {API Gateway Signature}
Path Variables
项目 | Mandatory | Type | 说明 | 备注 |
---|---|---|---|---|
serviceId | Mandatory | String | 服务ID | 添加项目时获得的服务ID |
Parameters
无
Headers
请求体
[
{
"clientTelNo":"string"
}
]
项目 | Mandatory | Type | 说明 | 备注 |
---|---|---|---|---|
clientTelNo | Mandatory | String | 拒收号码 | 一次最多可以请求1000个(列表) |
响应体
[
{
"clientTelNo": "string",
"registerTime": "string",
"registerType": "char"
}
]
项目 | Mandatory | Type | 说明 | 备注 |
---|---|---|---|---|
clientTelNo | Mandatory | String | 拒收号码 | |
registerTime | Mandatory | String | 添加时间 | foramt: LocalDateTime |
registerType | Mandatory | Char | 添加方式 | - M(manual):手动添加 - C(call):致电添加 |
响应状态
HTTP Status | Desc |
---|---|
200 | OK |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
429 | Too Many Requests |
500 | Internal Server Error |
删除拒收号码
此API用于删除拒收号码。
请求URL
DELETE https://sens.apigw.ntruss.com/sms/v2/services/{serviceId}/unsubscribes
Content-Type: application/json; charset=utf-8
x-ncp-apigw-timestamp: {Timestamp}
x-ncp-iam-access-key: {Sub Account Access Key}
x-ncp-apigw-signature-v2: {API Gateway Signature}
Path Variables
项目 | Mandatory | Type | 说明 | 备注 |
---|---|---|---|---|
serviceId | Mandatory | String | 服务ID | 添加项目时获得的服务ID |
Parameters
无
Headers
请求体
[
{
"clientTelNo":"string"
}
]
项目 | Mandatory | Type | 说明 | 备注 |
---|---|---|---|---|
clientTelNo | Mandatory | String | 拒收号码 | 一次最多可以请求1000个(列表) |
响应体
无
响应状态
HTTP Status | Desc |
---|---|
204 | No Content(删除成功) |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
429 | Too Many Requests |
500 | Internal Server Error |
消息发送示例
SMS消息
一般消息
{
"type":"SMS",
"contentType":"COMM",
"countryCode":"82",
"from":"01012345678",
"content":"内容",
"messages":[
{
"to":"01012345678",
"content":"除了上面的content以外,单独向相应号码发送的内容(optional)"
}
]
}
预约消息
{
"reserveTime":"2019-07-25 17:09",
"type":"SMS",
"contentType":"COMM",
"countryCode":"82",
"from":"01012345678",
"content":"内容",
"messages":[
{
"to":"01012345678",
"content":"除了上面的content以外,单独向相应号码发送的内容(optional)"
}
]
}
计划消息
{
"scheduleCode":"every-pm-16",
"type":"SMS",
"contentType":"COMM",
"countryCode":"82",
"from":"01012345678",
"content":"内容",
"messages":[
{
"to":"01012345678",
"content":"除了上面的content以外,单独向相应号码发送的内容(optional)"
}
]
}
广告消息
{
"type":"SMS",
"contentType":"AD",
"countryCode":"82",
"from":"01012345678",
"content":"(广告)企业名称内容 [免费拒收]08012345678",
"messages":[
{
"to":"01012345678",
"content":"(广告)企业名称上的content和仅发送相应号码的内容(optional) [免费拒收]08012345678"
}
]
}
LMS消息
一般消息
{
"type":"LMS",
"contentType":"COMM",
"from":"01012345678",
"subject":"题目",
"content":"内容",
"messages":[
{
"to":"01012345678",
"subject":"除了上面的content以外,单独向相应号码发送的标题(optional)",
"content":"除了上面的content以外,单独向相应号码发送的内容(optional)"
}
]
}
预约消息
{
"reserveTime":"2019-07-25 17:09",
"type":"LMS",
"contentType":"COMM",
"from":"01012345678",
"subject":"题目",
"content":"内容",
"messages":[
{
"to":"01012345678",
"subject":"除了上面的content以外,单独向相应号码发送的标题(optional)",
"content":"除了上面的content以外,单独向相应号码发送的内容(optional)"
}
]
}
计划消息
{
"scheduleCode":"every-pm-16",
"type":"LMS",
"contentType":"COMM",
"from":"01012345678",
"subject":"题目",
"content":"内容",
"messages":[
{
"to":"01012345678",
"subject":"除了上面的content以外,单独向相应号码发送的标题(optional)",
"content":"除了上面的content以外,单独向相应号码发送的内容(optional)"
}
]
}
广告消息
{
"type":"LMS",
"contentType":"AD",
"from":"01012345678",
"subject":"题目",
"content":"(广告)企业名称内容 [免费拒收]08012345678",
"messages":[
{
"to":"01012345678",
"subject":"除了上面的content以外,单独向相应号码发送的标题(optional)",
"content":"(广告)企业名称上的content和仅发送相应号码的内容(optional) [免费拒收]08012345678"
}
]
}
MMS消息
一般消息
{
"type":"MMS",
"contentType":"COMM",
"from":"01012345678",
"subject":"题目",
"content":"内容",
"messages":[
{
"to":"01012345678",
"subject":"除了上面的content以外,单独向相应号码发送的标题(optional)",
"content":"除了上面的content以外,单独向相应号码发送的内容(optional)"
}
],
"files":[
{
"name":"test.jpg",
"body":"/9j/asEfsmk..(省略)..siD=="
}
]
}
预约消息
{
"reserveTime":"2019-07-25 17:09",
"type":"MMS",
"contentType":"COMM",
"from":"01012345678",
"subject":"题目",
"content":"内容",
"messages":[
{
"to":"01012345678",
"subject":"除了上面的content以外,单独向相应号码发送的标题(optional)",
"content":"除了上面的content以外,单独向相应号码发送的内容(optional)"
}
],
"files":[
{
"name":"test.jpg",
"body":"/9j/asEfsmk..(省略)..siD=="
}
]
}
计划消息
{
"scheduleCode":"every-pm-16",
"type":"MMS",
"contentType":"COMM",
"from":"01012345678",
"subject":"题目",
"content":"内容",
"messages":[
{
"to":"01012345678",
"subject":"除了上面的content以外,单独向相应号码发送的标题(optional)",
"content":"除了上面的content以外,单独向相应号码发送的内容(optional)"
}
],
"files":[
{
"name":"test.jpg",
"body":"/9j/asEfsmk..(省略)..siD=="
}
]
}
广告消息
{
"type":"MMS",
"contentType":"COMM",
"from":"01012345678",
"subject":"题目",
"content":"(广告)企业名称内容 [免费拒收]08012345678",
"messages":[
{
"to":"01012345678",
"subject":"除了上面的content以外,单独向相应号码发送的标题(optional)",
"content":"(广告)企业名称上的content和仅发送相应号码的内容(optional) [免费拒收]08012345678"
}
],
"files":[
{
"name":"test.jpg",
"body":"/9j/asEfsmk..(省略)..siD=="
}
]
}
错误代码
EMMA v.3接收结果代码
- EMMA Version:EMMA V3.5.1以上
- IB G/W Report Code:发送至运营商后得到的结果代码
- IB G/W Response Code:Infobank G/W接收消息后发送的结果代码
- IB EMMA:EMMA处理消息发送请求时使用的错误代码
IB G/W Report Code
代码 | 分类 | 含义 |
---|---|---|
0 | success | 成功 |
2000 | failure | 发送超时 |
2001 | failure | 发送失败(无线网端) |
2002 | failure | 发送失败(无线网 -> 终端) |
2003 | failure | 终端电源关闭 |
2004 | failure | 终端消息缓冲区已满 |
2005 | failure | 阴影区 |
2006 | failure | 消息被删除 |
2007 | failure | 终端暂时故障 |
3000 | Invalid | 无法发送 |
3001 | Invalid | 找不到用户 |
3002 | Invalid | 成年人认证失败 |
3003 | Invalid | 接收号码格式错误 |
3004 | Invalid | 终端暂停服务 |
3005 | Invalid | 终端呼叫处理状态 |
3006 | Invalid | 拒收 |
3007 | Invalid | 手机无法接收Callback URL |
3008 | Invalid | 其它终端问题 |
3009 | Invalid | 消息格式错误 |
3010 | Invalid | 终端不支持MMS |
3011 | Invalid | 服务器错误 |
3012 | Invalid | 垃圾消息 |
3013 | Invalid | 拒绝服务 |
3014 | Invalid | 其它 |
3015 | Invalid | 传输路径不存在 |
3016 | Invalid | 附件大小超限失败 |
3017 | Invalid | 违反主叫号码防伪规定 |
3018 | Invalid | 加入主叫号码防伪服务的手机个人用户号码 |
3019 | Invalid | KISA或未来创造科学部对所有客户公司要求阻止处理的主叫号码 |
3022 | Invalid | Charset Conversion Error |
3023 | Invalid | 未通过主叫号码预注册制度进行注册的号码 |
IB G/W Response Code
代码 | 含义 |
---|---|
1001 | 服务器正忙(RS内部存储队列已满) |
1002 | 接收号码格式错误 |
1003 | 回复号码格式错误 |
1004 | SPAM |
1005 | 使用次数超限 |
1006 | 没有附件 |
1007 | 有附件 |
1008 | 附件保存失败 |
1009 | 未有CLIENT_MSG_KEY |
1010 | 没有CONTENT |
1011 | 没有CALLBACK |
1012 | 未有RECIPIENT_INFO |
1013 | 没有SUBJECT |
1014 | 没有附件KEY |
1015 | 附件没有NAME |
1016 | 附件大小无 |
1017 | 没有附件Content |
1018 | 没有传输权限 |
1019 | 超过TTL |
1020 | charset conversion error |
IB EMMA
代码 | 含义 |
---|---|
E900 | Invalid-IB 没有传输密钥的情况 |
E901 | 没有接收号码的情况 |
E902 | 同时接收时)没有接收号码序号的情况 |
E903 | 没有标题的情况 |
E904 | 没有消息的情况 |
E905 | 没有回复号码的情况 |
E906 | 没有消息密钥的情况 |
E907 | 没有广播通信选项的情况 |
E908 | 没有服务类型的情况 |
E909 | 没有传输请求时间的情况 |
E910 | 没有TTL时间的情况 |
E911 | 服务类型为MMS MT时,没有附件扩展名的情况 |
E912 | 服务类型为MMS MT时,attach_file文件夹里没有附件 |
E913 | 服务类型为MMS MT时,附件大小为0的情况 |
E914 | 服务类型为MMS MT时,消息表里有文件组密钥,但文件表里没有数据的情况 |
E915 | 重复的消息 |
E916 | 认证服务器阻止号码 |
E917 | 客户DB阻止号码 |
E918 | USER CALLBACK FAIL |
E919 | 处于发送受限时间时,消息重发处理被禁止的情况 |
E920 | 服务类型为LMS MT时,消息表里有文件组密钥的情况 |
E921 | 服务类型为MMS MT时,消息表里没有文件组密钥的情况 |
E922 | 广播通信词组限制字符使用错误 |
E999 | 其它错误 |
本文对您有帮助吗?