GET /text/isbn/demoapplication/json{
"type": "object",
"properties": {
"DataStatus": {
"type": "object",
"required": [
"RequestParameter",
"StatusCode",
"StatusDescription",
"ResponseDateTime",
"DataTotalCount"
],
"properties": {
"RequestParameter": {
"type": "string",
"description": "本次实际业务请求参数,不包含鉴权凭据;Demo 展示对应样例输入。"
},
"StatusCode": {
"type": "integer",
"description": "接口返回状态码"
},
"StatusDescription": {
"type": "string",
"description": "接口返回状态说明"
},
"ResponseDateTime": {
"type": "string",
"description": "接口数据返回时间"
},
"DataTotalCount": {
"type": "integer",
"description": "此条件下的总数据量,一般用于分页计算"
}
}
},
"Data": {
"anyOf": [
{
"oneOf": [
{
"type": "object",
"properties": {
"Title": {
"type": "string",
"description": "图书名称"
},
"CoverImage": {
"type": "string",
"description": "图书封面图片永久地址"
},
"ISBN": {
"type": "string",
"description": "ISBN"
},
"Author": {
"type": "string",
"description": "作者"
},
"Translator": {
"type": "string",
"description": "译者,没有译者时返回空字符串"
},
"Publisher": {
"type": "string",
"description": "出版商"
},
"PublisherDateTime": {
"type": "string",
"description": "出版年月,格式 2022-3"
},
"PageNumber": {
"type": "integer",
"description": "图书总页码"
},
"Binding": {
"type": "string",
"description": "图书包装类型,如平装、精装"
},
"BriefIntroduction": {
"type": "string",
"description": "图书简介"
},
"AuthorIntroduction": {
"type": "string",
"description": "作者简介"
},
"Price": {
"type": "number",
"format": "float",
"description": "图书定价,单位:元,仅供参考"
}
},
"required": [
"Title",
"CoverImage",
"ISBN",
"Author",
"Translator",
"Publisher",
"PublisherDateTime",
"PageNumber",
"Binding",
"BriefIntroduction",
"AuthorIntroduction",
"Price"
],
"description": "ISBN 返回单个图书对象,keywords 返回图书对象数组;可靠未找到时为 null。"
},
{
"type": "array",
"items": {
"type": "object",
"properties": {
"Title": {
"type": "string",
"description": "图书名称"
},
"CoverImage": {
"type": "string",
"description": "图书封面图片永久地址"
},
"ISBN": {
"type": "string",
"description": "ISBN"
},
"Author": {
"type": "string",
"description": "作者"
},
"Translator": {
"type": "string",
"description": "译者,没有译者时返回空字符串"
},
"Publisher": {
"type": "string",
"description": "出版商"
},
"PublisherDateTime": {
"type": "string",
"description": "出版年月,格式 2022-3"
},
"PageNumber": {
"type": "integer",
"description": "图书总页码"
},
"Binding": {
"type": "string",
"description": "图书包装类型,如平装、精装"
},
"BriefIntroduction": {
"type": "string",
"description": "图书简介"
},
"AuthorIntroduction": {
"type": "string",
"description": "作者简介"
},
"Price": {
"type": "number",
"format": "float",
"description": "图书定价,单位:元,仅供参考"
}
},
"required": [
"Title",
"CoverImage",
"ISBN",
"Author",
"Translator",
"Publisher",
"PublisherDateTime",
"PageNumber",
"Binding",
"BriefIntroduction",
"AuthorIntroduction",
"Price"
],
"description": "ISBN 返回单个图书对象,keywords 返回图书对象数组;可靠未找到时为 null。"
},
"description": "ISBN 返回单个图书对象,keywords 返回图书对象数组;可靠未找到时为 null。"
}
],
"description": "ISBN 返回单个图书对象,keywords 返回图书对象数组;可靠未找到时为 null。"
},
{
"type": "null",
"description": "ISBN 返回单个图书对象,keywords 返回图书对象数组;可靠未找到时为 null。"
}
],
"description": "ISBN 返回单个图书对象,keywords 返回图书对象数组;可靠未找到时为 null。"
}
},
"required": [
"DataStatus",
"Data"
]
}application/json{
"type": "object",
"properties": {
"DataStatus": {
"type": "object",
"required": [
"RequestParameter",
"StatusCode",
"StatusDescription",
"ResponseDateTime",
"DataTotalCount"
],
"properties": {
"RequestParameter": {
"type": "string",
"description": "本次实际业务请求参数,不包含鉴权凭据;Demo 展示对应样例输入。"
},
"StatusCode": {
"type": "integer",
"description": "接口返回状态码"
},
"StatusDescription": {
"type": "string",
"description": "接口返回状态说明"
},
"ResponseDateTime": {
"type": "string",
"description": "接口数据返回时间"
},
"DataTotalCount": {
"type": "integer",
"description": "此条件下的总数据量,一般用于分页计算"
}
}
},
"Data": {
"type": "null",
"description": "ISBN 返回单个图书对象,keywords 返回图书对象数组;可靠未找到时为 null。"
}
}
}application/json{
"type": "object",
"properties": {
"DataStatus": {
"type": "object",
"required": [
"RequestParameter",
"StatusCode",
"StatusDescription",
"ResponseDateTime",
"DataTotalCount"
],
"properties": {
"RequestParameter": {
"type": "string",
"description": "本次实际业务请求参数,不包含鉴权凭据;Demo 展示对应样例输入。"
},
"StatusCode": {
"type": "integer",
"description": "接口返回状态码"
},
"StatusDescription": {
"type": "string",
"description": "接口返回状态说明"
},
"ResponseDateTime": {
"type": "string",
"description": "接口数据返回时间"
},
"DataTotalCount": {
"type": "integer",
"description": "此条件下的总数据量,一般用于分页计算"
}
}
},
"Data": {
"type": "null",
"description": "ISBN 返回单个图书对象,keywords 返回图书对象数组;可靠未找到时为 null。"
}
}
}| 业务码 | 含义 | 说明 |
|---|---|---|
| 100 | 成功 | HTTP 200;仍应检查业务状态。 |
| 501 | 参数错误 | HTTP 400 |
| 900 | 依赖失败 | HTTP 500 |