GET api/person/GetBook?id={id}

获取一个书籍信息

请求信息

URI 参数

名称说明类型其他信息
id

Id

string

Required

Body 参数

None.

响应信息

响应说明

ResponseExOfBookModel
名称说明类型其他信息
StatusCode

状态码

ResponseStatusCode

None.

Message

信息

string

None.

Data

数据

BookModel

None.

响应格式

application/json, text/json

Sample:
{
  "StatusCode": 0,
  "Message": "sample string 1",
  "Data": {
    "Id": "sample string 1",
    "Name": "sample string 2",
    "AuthorId": "sample string 3",
    "AuthorName": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<ResponseExOfBookModelyAzhP_Peq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZJ.GX.Application.WebApi.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/ZJ.GX.Application.IBLL">
    <d2p1:AuthorId>sample string 3</d2p1:AuthorId>
    <d2p1:AuthorName>sample string 4</d2p1:AuthorName>
    <d2p1:Id>sample string 1</d2p1:Id>
    <d2p1:Name>sample string 2</d2p1:Name>
  </Data>
  <Message>sample string 1</Message>
  <StatusCode>OK</StatusCode>
</ResponseExOfBookModelyAzhP_Peq>