有空接口说明文档

最后更新: Oct 1,2018

#1331#[公共]查询信息

接口地址

环境 地址

正式环境

https://open.atimer.cn/v1/allinone/query

沙箱环境

https://sandbox.atimer.cn/v1/allinone/query

 

入参规范

名称 类型 必须 描述

Client

Client

系统参数,开发者调用接口客户端信息

Time

datetime

指定查询的时间

 

出参规范

{

       Success: true,

       Error: {

              // 包含 code 和 Description

 },

       Data: {

              // 下表解释

       }

}

名称 类型 描述

ChineseLunar

string

农历

ChineseZodiac

string

干支

Constellation

string

星座

GeneralHoliday

string[]

节假

ChineseConstellation

string

星宿

ChineseSolarTerm

string

节气

 

范例

请求:

{"Time":"2019-12-08T14:20:22.7408787+08:00","Client":{"ClientKey":"WTpnUYbmA00WoTuI","Timestamp":"1575786022","Sign":"7dedcaf02cba5f9f4005b1e71cc80f67","UserCode":""}}

响应:

{"Success":true,"Error":null,"Data":{"Time":"2019-12-08T14:20:22.7408787+08:00","ChineseLunar":{"Year":"二零一九年","Month":"十一月","Day":"十三","Date":"农历二零一九年十一月十三"},"ChineseZodiac":{"Year":"己亥年","Month":"丙子月","Day":"己卯日","Hour":"辛未时"},"Constellation":"射手座","GeneralHoliday":[],"ChineseConstellation":"昴日鸡","ChineseSolarTerm":"","Huangli":{"yangli":"2019-12-08","yinli":"己亥(猪)年十一月十三","wuxing":"城头土 平执位","chongsha":"冲鸡(癸酉)煞西","baiji":"己不破券二比并亡 卯不穿井水泉不香","jishen":"天恩 民日 不将 玉堂 五合","yi":"祭祀 平治道涂 修坟 除服 成服 馀事勿取","xiongshen":"死神 月刑 天吏 天贼","ji":"移徙 入宅 嫁娶 掘井 安葬"}}}

执行耗时 561 毫秒