Skip to content

17. 年报 ​

17.1 列表 ​

描述:获取年报列表

请求方式: GET · 请求路径: /DataService/api/v3/company/annualReport/{companyId}

请求参数 ​

参数类型必填位置说明
companyIdstring是path企业 ID
pageIndexinteger(int32)是query页码
pageSizeinteger(int32)是query每每页条数量

请求示例 ​

curl --request GET \
  --url 'https://api3.jingxiansuo.com/DataService/api/v3/company/annualReport/5bb74266a9ae9a03180549db?pageSize=5&pageIndex=1' \
  --header 'Authorization: demo-auth' \
  --header 'AuthorizationMD5: demo-auth-md5'

响应字段 ​

字段路径类型说明
statusinteger(int32)业务状态码,200 表示请求成功
messagestring状态说明
dataobject接口业务数据
data.pageIndexinteger(int32)当前页码
data.pageSizeinteger(int32)每页条数
data.totalRecordsinteger(int32)符合条件的记录总数
data.recordsarray<object>记录列表;无数据时返回空数组 []
data.records[].idstringid
data.records[].reportNamestring报送年度
data.records[].reportDateinteger(int64)公示日期
successboolean是否成功;status 为 200 时返回 true

响应示例 ​

json
{
    "status": 200,
    "message": "Success",
    "data": {
        "pageIndex": 1,
        "pageSize": 5,
        "totalRecords": 10,
        "records": [
            {
                "id": "6499c69f07d7f95571774e52",
                "reportName": "2022年度报告",
                "reportDate": 1686240000
            }
        ]
    },
    "success": true
}

17.2 详情 ​

描述:获取年报详情

请求方式: GET · 请求路径: /DataService/api/v3/company/annualReportDetail/{id}

请求参数 ​

参数类型必填位置说明
idstring是path记录 ID

请求示例 ​

curl --request GET \
  --url 'https://api3.jingxiansuo.com/DataService/api/v3/company/annualReportDetail/6499c69f07d7f95571774e52' \
  --header 'Authorization: demo-auth' \
  --header 'AuthorizationMD5: demo-auth-md5'

响应字段 ​

字段路径类型说明
statusinteger(int32)业务状态码,200 表示请求成功
messagestring状态说明
dataobject接口业务数据
data.totalEquitystring资产总额
data.profitRetastring所有者权益合计
data.saleIncomestring销售总额
data.profitTotalstring利润总额
data.servFareIncomestring营业总收入中主营业务收入
data.netAmountstring净利润
data.taxTotalstring纳税总额
data.debitAmountstring负债总额
data.socialSecurityobject社保信息
data.socialSecurity.yanglaobxNumstring城镇职工基本养老保险
data.socialSecurity.yiliaobxNumstring职工基本医疗保险
data.socialSecurity.shengyubxNumstring生育保险
data.socialSecurity.shiyebxNumstring失业保险
data.socialSecurity.gongshangbxNumstring工伤保险
data.socialSecurity.dwYanglaobxJsstring单位参加城镇职工基本养老保险缴费基数
data.socialSecurity.dwShiyebxJsstring单位参加失业保险缴费基数
data.socialSecurity.dwYiliaobxJsstring单位参加职工基本医疗保险缴费基数
data.socialSecurity.dwGongshangbxJsstring单位参加工伤保险缴费基数
data.socialSecurity.dwShengyubxJsstring单位参加生育保险缴费基数
data.socialSecurity.bqYanglaobxJestring参加城镇职工基本养老保险本期实际缴费金额
data.socialSecurity.bqShiyebxJestring参加失业保险本期实际缴费金额
data.socialSecurity.bqYiliaobxJestring参加职工基本医疗保险本期实际缴费金额
data.socialSecurity.bqGongshangbxJestring参加工伤保险本期实际缴费金额
data.socialSecurity.bqShengyubxJestring参加生育保险本期实际缴费金额
data.socialSecurity.dwYanglaobxJestring单位参加城镇职工基本养老保险累计欠缴金额
data.socialSecurity.dwShiyebxJestring单位参加失业保险累计欠缴金额
data.socialSecurity.dwYiliaobxJestring单位参加职工基本医疗保险累计欠缴金额
data.socialSecurity.dwGongshangbxJestring单位参加工伤保险累计欠缴金额
data.socialSecurity.dwShengyubxJestring单位参加生育保险累计欠缴金额
successboolean是否成功;status 为 200 时返回 true

响应示例 ​

json
{
    "status": 200,
    "message": "Success",
    "data": {
        "totalEquity": null,
        "profitReta": null,
        "saleIncome": null,
        "profitTotal": null,
        "servFareIncome": null,
        "netAmount": null,
        "taxTotal": null,
        "debitAmount": null,
        "socialSecurity": {
            "yanglaobxNum": "65人",
            "yiliaobxNum": "65人",
            "shengyubxNum": "65人",
            "shiyebxNum": "65人",
            "gongshangbxNum": "65人",
            "dwYanglaobxJs": null,
            "dwShiyebxJs": null,
            "dwYiliaobxJs": null,
            "dwGongshangbxJs": null,
            "dwShengyubxJs": null,
            "bqYanglaobxJe": null,
            "bqShiyebxJe": null,
            "bqYiliaobxJe": null,
            "bqGongshangbxJe": null,
            "bqShengyubxJe": null,
            "dwYanglaobxJe": null,
            "dwShiyebxJe": null,
            "dwYiliaobxJe": null,
            "dwGongshangbxJe": null,
            "dwShengyubxJe": null
        }
    },
    "success": true
}