OkayAPI Docs


API Path: /api/App/Table/GetMoreDataByMoreField

API Description: R Get more data with more fields.

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
model_nameStringRequiredYour table Model Name
logicEnumOptaionandRange: and/orWhere condition logic, logic=and for logical and, logic=or for logical or
field_name_listArraySeperated with ,RequiredMIN: 1需要匹配的表单字段名称列表,多个字段用英文逗号分割,如:field_name_list=title,name
field_value_listArraySeperated with ,RequiredMIN: 1需要查找和对比的字段值列表,多个值用英文逗号分割,如:field_value_list=标题,小白。字段值不能含有英文逗号。field_value_list数量必须和field_name_list数量保持一致。
selectArraySeperated with ,Optaion需要返回的字段,默认返回全部字段,多个字段用英文逗号分割,如:select=id,uuid
pageIntOptaion1MIN: 1第几页
perpageIntOptaion20MIN: 1;MAX: 10000分页数量

API Debug

KEYREQUIREDVALUE
app_key *Required
model_name *Required
logic Option
field_name_list *Required
field_value_list *Required
select Option
page Option
perpage Option

API Response

KEYTypeDescription
err_codeInt状态操作码,0成功;1开发类错误;2应用层规则拦截,拦截后可以小白开放平台查看日记
err_msgString错误提示信息,err_code非0时参考此提示信息
itemsObject查找到的数据列表,如果未找到则为空数组。默认返回20条,ID升序获取。

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