Take.API

<back to all web services

SearchConfigRequest

The following routes are available for this service:
GET,POST/config/SearchConfigPage
RequestPaging Parameters:
NameParameterData TypeRequiredDescription
PageSizeformintYes每页最多记录数(默认每页20条)
PageIndexformintYes页索引
ConfigListResponse Parameters:
NameParameterData TypeRequiredDescription
ConfigModelsformList<ConfigModel>Yes配置信息列表
ResponsePaging Parameters:
NameParameterData TypeRequiredDescription
PageSizeformintYes每页最多记录数
PageIndexformintYes页索引
RowCountformintYes总记录数
PageCountformintYes总页数
ResponseBase Parameters:
NameParameterData TypeRequiredDescription
ErrorCodeformintYes返回编码,200之外的值都表示有错误
ErrorMsgformstringYes返回的消息
ConfigModel Parameters:
NameParameterData TypeRequiredDescription
IDformintYes配置编号
ConfigTypeformstringYes配置类型
ConfigNameformstringYes配置名称
ConfigValueformstringYes
RemarkformstringYes备注
CreateByformstringYes创建人
CreateDTformDateTime?Yes创建时间
UpdateByformstringYes修改人
UpdateDTformDateTime?Yes修改时间

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/SearchConfigRequest HTTP/1.1 
Host: bookinglogin.hart-worldwide.com 
Content-Type: application/json
Content-Length: length

{"PageSize":0,"PageIndex":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ConfigModels":[{"ID":0,"ConfigType":"String","ConfigName":"String","ConfigValue":"String","Remark":"String","CreateBy":"String","CreateDT":"\/Date(-62135596800000-0000)\/","UpdateBy":"String","UpdateDT":"\/Date(-62135596800000-0000)\/"}],"PageSize":0,"PageIndex":0,"RowCount":0,"PageCount":0,"ErrorCode":0,"ErrorMsg":"String"}