POST api/HistoryData/QueryTemplateOnHistory

查询模板列表

Request Information

URI Parameters

None.

Body Parameters

tm_name 模板名称

QueryTemplateOnHistory
NameDescriptionTypeAdditional information
tm_name

string

None.

page_index

integer

None.

page_size

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "tm_name": "sample string 1",
  "page_index": 2,
  "page_size": 3
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

page_index 页数 page_size 页记录数 id 模板ID tm_no 序号 tm_name 模板名称 tm_memo 模板备注 tm_creator 保存者 tm_createtime 保存时间 tm_content 模板内容实体: { qry_type 查询类型 1:所有电站 3:自有电站(如用户为组织,则自有为:拥有和归属本节点) qry_time_start 查询时间 起 yyyy-MM-dd HH:mm qry_time_end 查询时间 止 yyyy-MM-dd HH:mm times 数据粒度 分钟 5 15 60 qry_status 输出格式 0:列表 1:曲线 2:全部 pws_historys 选择电站、设备列表: [{ id 电站ID pw_name 电站名称 pw_address 电站地址 status 电站状态(-1:离线 0:待机 1:正常 2:停机) inverters 设备列表 [{ sn 设备sn name 设备名称 change_num 更换序号 change_type 更换设备的类型 0:无更换 -1:被更换的设备 1:更换上线的设备 relation_sn 原设备/新设备SN relation_name 原设备/新设备名称 status 设备状态(-1:离线 0:待机 1:正常 2:停机) }] }] targets 指标列表 [{ target_index 指标标识 -排序号 target_key 指标key target_name 指标中文名 target_sn_six 支持SN号第六位的字母 如 s,d,m 所有则为空 target_sn_seven 支持SN号第七位的字母 如 s,t template_content 模板内容 }] }

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.