POST api/NewsInformation/GInformationList

According to the parameter list to query information

Request Information

Body Parameters

OBDPostModel
NameDescriptionTypeAdditional information
UserIDs

user id

integer

None.

PageNo

curpage

integer

None.

PageCount

Number of pages per page

integer

None.

TypeId

Type: 0 all 1 information 2 mall 3 entertainment

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:
{
  "UserIDs": 1,
  "PageNo": 2,
  "PageCount": 3,
  "TypeId": 4,
  "Token": "sample string 5",
  "Language": "sample string 6",
  "AppId": "sample string 7"
}

application/xml, text/xml

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

Response Information

Resource Description

OBDPostResult
NameDescriptionTypeAdditional information
List

collection

Collection of OBD_Post

None.

TopList

Collection of OBD_Post

None.

OBDPostDetails

in station

OBD_Post

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "List": [
    {
      "SLPhoto": "sample string 1",
      "ApproveTime": "2018-12-19T05:09:58.9553516+08:00",
      "AppId": 3,
      "ApproveUser": 4,
      "Featured": true,
      "Lat": 6.0,
      "Lng": 7.0,
      "Phone": "sample string 8",
      "Photo": "sample string 9",
      "PostContent": "sample string 10",
      "PostID": 11,
      "PostTime": "2018-12-19T05:09:58.9563281+08:00",
      "PostType": 13,
      "PostUser": 14,
      "ReadQty": 15,
      "Status": 16,
      "Subject": "sample string 17",
      "CounterMark": "sample string 18",
      "Area": "sample string 19",
      "AllUser": true
    },
    {
      "SLPhoto": "sample string 1",
      "ApproveTime": "2018-12-19T05:09:58.9553516+08:00",
      "AppId": 3,
      "ApproveUser": 4,
      "Featured": true,
      "Lat": 6.0,
      "Lng": 7.0,
      "Phone": "sample string 8",
      "Photo": "sample string 9",
      "PostContent": "sample string 10",
      "PostID": 11,
      "PostTime": "2018-12-19T05:09:58.9563281+08:00",
      "PostType": 13,
      "PostUser": 14,
      "ReadQty": 15,
      "Status": 16,
      "Subject": "sample string 17",
      "CounterMark": "sample string 18",
      "Area": "sample string 19",
      "AllUser": true
    }
  ],
  "TopList": [
    {
      "SLPhoto": "sample string 1",
      "ApproveTime": "2018-12-19T05:09:58.9553516+08:00",
      "AppId": 3,
      "ApproveUser": 4,
      "Featured": true,
      "Lat": 6.0,
      "Lng": 7.0,
      "Phone": "sample string 8",
      "Photo": "sample string 9",
      "PostContent": "sample string 10",
      "PostID": 11,
      "PostTime": "2018-12-19T05:09:58.9563281+08:00",
      "PostType": 13,
      "PostUser": 14,
      "ReadQty": 15,
      "Status": 16,
      "Subject": "sample string 17",
      "CounterMark": "sample string 18",
      "Area": "sample string 19",
      "AllUser": true
    },
    {
      "SLPhoto": "sample string 1",
      "ApproveTime": "2018-12-19T05:09:58.9553516+08:00",
      "AppId": 3,
      "ApproveUser": 4,
      "Featured": true,
      "Lat": 6.0,
      "Lng": 7.0,
      "Phone": "sample string 8",
      "Photo": "sample string 9",
      "PostContent": "sample string 10",
      "PostID": 11,
      "PostTime": "2018-12-19T05:09:58.9563281+08:00",
      "PostType": 13,
      "PostUser": 14,
      "ReadQty": 15,
      "Status": 16,
      "Subject": "sample string 17",
      "CounterMark": "sample string 18",
      "Area": "sample string 19",
      "AllUser": true
    }
  ],
  "OBDPostDetails": {
    "SLPhoto": "sample string 1",
    "ApproveTime": "2018-12-19T05:09:58.9553516+08:00",
    "AppId": 3,
    "ApproveUser": 4,
    "Featured": true,
    "Lat": 6.0,
    "Lng": 7.0,
    "Phone": "sample string 8",
    "Photo": "sample string 9",
    "PostContent": "sample string 10",
    "PostID": 11,
    "PostTime": "2018-12-19T05:09:58.9563281+08:00",
    "PostType": 13,
    "PostUser": 14,
    "ReadQty": 15,
    "Status": 16,
    "Subject": "sample string 17",
    "CounterMark": "sample string 18",
    "Area": "sample string 19",
    "AllUser": true
  },
  "State": 1
}

application/xml, text/xml

Sample:
<OBDPostResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>1</State>
  <List xmlns:d2p1="http://schemas.datacontract.org/2004/07/NewGPS2012.Entity.Entity">
    <d2p1:OBD_Post>
      <d2p1:AllUser>true</d2p1:AllUser>
      <d2p1:AppId>3</d2p1:AppId>
      <d2p1:ApproveTime>2018-12-19T05:09:58.9553516+08:00</d2p1:ApproveTime>
      <d2p1:ApproveUser>4</d2p1:ApproveUser>
      <d2p1:Area>sample string 19</d2p1:Area>
      <d2p1:CounterMark>sample string 18</d2p1:CounterMark>
      <d2p1:Featured>true</d2p1:Featured>
      <d2p1:Lat>6</d2p1:Lat>
      <d2p1:Lng>7</d2p1:Lng>
      <d2p1:Phone>sample string 8</d2p1:Phone>
      <d2p1:Photo>sample string 9</d2p1:Photo>
      <d2p1:PostContent>sample string 10</d2p1:PostContent>
      <d2p1:PostID>11</d2p1:PostID>
      <d2p1:PostTime>2018-12-19T05:09:58.9563281+08:00</d2p1:PostTime>
      <d2p1:PostType>13</d2p1:PostType>
      <d2p1:PostUser>14</d2p1:PostUser>
      <d2p1:ReadQty>15</d2p1:ReadQty>
      <d2p1:SLPhoto>sample string 1</d2p1:SLPhoto>
      <d2p1:Status>16</d2p1:Status>
      <d2p1:Subject>sample string 17</d2p1:Subject>
    </d2p1:OBD_Post>
    <d2p1:OBD_Post>
      <d2p1:AllUser>true</d2p1:AllUser>
      <d2p1:AppId>3</d2p1:AppId>
      <d2p1:ApproveTime>2018-12-19T05:09:58.9553516+08:00</d2p1:ApproveTime>
      <d2p1:ApproveUser>4</d2p1:ApproveUser>
      <d2p1:Area>sample string 19</d2p1:Area>
      <d2p1:CounterMark>sample string 18</d2p1:CounterMark>
      <d2p1:Featured>true</d2p1:Featured>
      <d2p1:Lat>6</d2p1:Lat>
      <d2p1:Lng>7</d2p1:Lng>
      <d2p1:Phone>sample string 8</d2p1:Phone>
      <d2p1:Photo>sample string 9</d2p1:Photo>
      <d2p1:PostContent>sample string 10</d2p1:PostContent>
      <d2p1:PostID>11</d2p1:PostID>
      <d2p1:PostTime>2018-12-19T05:09:58.9563281+08:00</d2p1:PostTime>
      <d2p1:PostType>13</d2p1:PostType>
      <d2p1:PostUser>14</d2p1:PostUser>
      <d2p1:ReadQty>15</d2p1:ReadQty>
      <d2p1:SLPhoto>sample string 1</d2p1:SLPhoto>
      <d2p1:Status>16</d2p1:Status>
      <d2p1:Subject>sample string 17</d2p1:Subject>
    </d2p1:OBD_Post>
  </List>
  <OBDPostDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/NewGPS2012.Entity.Entity">
    <d2p1:AllUser>true</d2p1:AllUser>
    <d2p1:AppId>3</d2p1:AppId>
    <d2p1:ApproveTime>2018-12-19T05:09:58.9553516+08:00</d2p1:ApproveTime>
    <d2p1:ApproveUser>4</d2p1:ApproveUser>
    <d2p1:Area>sample string 19</d2p1:Area>
    <d2p1:CounterMark>sample string 18</d2p1:CounterMark>
    <d2p1:Featured>true</d2p1:Featured>
    <d2p1:Lat>6</d2p1:Lat>
    <d2p1:Lng>7</d2p1:Lng>
    <d2p1:Phone>sample string 8</d2p1:Phone>
    <d2p1:Photo>sample string 9</d2p1:Photo>
    <d2p1:PostContent>sample string 10</d2p1:PostContent>
    <d2p1:PostID>11</d2p1:PostID>
    <d2p1:PostTime>2018-12-19T05:09:58.9563281+08:00</d2p1:PostTime>
    <d2p1:PostType>13</d2p1:PostType>
    <d2p1:PostUser>14</d2p1:PostUser>
    <d2p1:ReadQty>15</d2p1:ReadQty>
    <d2p1:SLPhoto>sample string 1</d2p1:SLPhoto>
    <d2p1:Status>16</d2p1:Status>
    <d2p1:Subject>sample string 17</d2p1:Subject>
  </OBDPostDetails>
  <TopList xmlns:d2p1="http://schemas.datacontract.org/2004/07/NewGPS2012.Entity.Entity">
    <d2p1:OBD_Post>
      <d2p1:AllUser>true</d2p1:AllUser>
      <d2p1:AppId>3</d2p1:AppId>
      <d2p1:ApproveTime>2018-12-19T05:09:58.9553516+08:00</d2p1:ApproveTime>
      <d2p1:ApproveUser>4</d2p1:ApproveUser>
      <d2p1:Area>sample string 19</d2p1:Area>
      <d2p1:CounterMark>sample string 18</d2p1:CounterMark>
      <d2p1:Featured>true</d2p1:Featured>
      <d2p1:Lat>6</d2p1:Lat>
      <d2p1:Lng>7</d2p1:Lng>
      <d2p1:Phone>sample string 8</d2p1:Phone>
      <d2p1:Photo>sample string 9</d2p1:Photo>
      <d2p1:PostContent>sample string 10</d2p1:PostContent>
      <d2p1:PostID>11</d2p1:PostID>
      <d2p1:PostTime>2018-12-19T05:09:58.9563281+08:00</d2p1:PostTime>
      <d2p1:PostType>13</d2p1:PostType>
      <d2p1:PostUser>14</d2p1:PostUser>
      <d2p1:ReadQty>15</d2p1:ReadQty>
      <d2p1:SLPhoto>sample string 1</d2p1:SLPhoto>
      <d2p1:Status>16</d2p1:Status>
      <d2p1:Subject>sample string 17</d2p1:Subject>
    </d2p1:OBD_Post>
    <d2p1:OBD_Post>
      <d2p1:AllUser>true</d2p1:AllUser>
      <d2p1:AppId>3</d2p1:AppId>
      <d2p1:ApproveTime>2018-12-19T05:09:58.9553516+08:00</d2p1:ApproveTime>
      <d2p1:ApproveUser>4</d2p1:ApproveUser>
      <d2p1:Area>sample string 19</d2p1:Area>
      <d2p1:CounterMark>sample string 18</d2p1:CounterMark>
      <d2p1:Featured>true</d2p1:Featured>
      <d2p1:Lat>6</d2p1:Lat>
      <d2p1:Lng>7</d2p1:Lng>
      <d2p1:Phone>sample string 8</d2p1:Phone>
      <d2p1:Photo>sample string 9</d2p1:Photo>
      <d2p1:PostContent>sample string 10</d2p1:PostContent>
      <d2p1:PostID>11</d2p1:PostID>
      <d2p1:PostTime>2018-12-19T05:09:58.9563281+08:00</d2p1:PostTime>
      <d2p1:PostType>13</d2p1:PostType>
      <d2p1:PostUser>14</d2p1:PostUser>
      <d2p1:ReadQty>15</d2p1:ReadQty>
      <d2p1:SLPhoto>sample string 1</d2p1:SLPhoto>
      <d2p1:Status>16</d2p1:Status>
      <d2p1:Subject>sample string 17</d2p1:Subject>
    </d2p1:OBD_Post>
  </TopList>
</OBDPostResult>