POST api/Person/GetReadBooks

Obtaining user information [private interfaces]

Request Information

Body Parameters

ReadBookModel
NameDescriptionTypeAdditional information
PageIndex

integer

None.

PageCount

integer

None.

Token

Get it after logging in Token

string

None.

Language

Language Option

string

None.

AppId

APP Application Identifier

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PageIndex": 1,
  "PageCount": 2,
  "Token": "sample string 3",
  "Language": "sample string 4",
  "AppId": "sample string 5"
}

application/xml, text/xml

Sample:
<ReadBookModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ParModel">
  <AppId>sample string 5</AppId>
  <Language>sample string 4</Language>
  <Token>sample string 3</Token>
  <PageCount>2</PageCount>
  <PageIndex>1</PageIndex>
</ReadBookModel>

Response Information

Resource Description

ReadBookResult
NameDescriptionTypeAdditional information
Items

Collection of ReadBook

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "Id": 1,
      "BookName": "sample string 2",
      "BookUrl": "sample string 3",
      "BackImage": "sample string 4"
    },
    {
      "Id": 1,
      "BookName": "sample string 2",
      "BookUrl": "sample string 3",
      "BackImage": "sample string 4"
    }
  ],
  "State": 1
}

application/xml, text/xml

Sample:
<ReadBookResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>1</State>
  <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/NewGPS2012.Entity">
    <d2p1:ReadBook>
      <d2p1:BackImage>sample string 4</d2p1:BackImage>
      <d2p1:BookName>sample string 2</d2p1:BookName>
      <d2p1:BookUrl>sample string 3</d2p1:BookUrl>
      <d2p1:Id>1</d2p1:Id>
    </d2p1:ReadBook>
    <d2p1:ReadBook>
      <d2p1:BackImage>sample string 4</d2p1:BackImage>
      <d2p1:BookName>sample string 2</d2p1:BookName>
      <d2p1:BookUrl>sample string 3</d2p1:BookUrl>
      <d2p1:Id>1</d2p1:Id>
    </d2p1:ReadBook>
  </Items>
</ReadBookResult>