OkayAPI Docs


API Path: /api/App/Market_Email/GetEmailList

API Description: 获取邮件记录列表,使用前请先安装带纪录的邮件发送插件

1
API Traffic
HTTP/HTTPS
Protocol
GET/POST
Method
UTF-8
Charset
JSON
Response

API Debug   


API Params

ParameterTypeRequiredDefaultNoteDescription
HTTP_APPKEYStringRequiredMIN: 32Common Put Your APPKEY
email_senderStringOptaion发件人
orderIntOptaion11按收藏时间顺序显示,2按收藏时间逆序
pageIntOptaion1MIN: 1第几页
perpageIntOptaion10MIN: 1;MAX: 10分页数量

API Debug

KEYREQUIREDVALUE
app_key *Required
email_sender Option
order Option
page Option
perpage Option

API Response

KEYTypeDescription
err_codeInt操作码,0表示成功,正数表示业务失败场景,负数表示系统失败场景
err_msgString错误提示信息,err_code非0时参考此提示信息
totalInt邮件总数
itemsArray邮件列表
items[].idInt邮件ID
items[].email_senderString发送人
items[].email_addressString收件人
items[].email_titleString邮件title
items[].email_contentString邮件内容
items[].email_resultString发送接口,1表示成功,0表示失败
items[].email_timeString发送时间

HTTP Response Code

HTTP Status CodeDescription
Http Status = 200Success
Http Status = 400Illegal-Params
Http Status = 401Illegal-Token
Http Status = 402IP-Banned
Http Status = 404API-NOT-Exsits
Http Status = 406Illegal-APPKEY
Http Status = 407APPKEY-Expired-Out
Http Status = 408APPKEY-Busy
Http Status = 409Illegal-Sign
Http Status = 413API-Traffic-NOT-Enough
Http Status = 415API-LOCKED
Http Status = 500Internal-Server-Error