POST api/NewsInformation/GInformationById?postId={postId}

Go to the id to query the information details

Request Information

Body Parameters

None.

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-16T02:10:53.1109609+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-16T02:10:53.1119375+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-16T02:10:53.1109609+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-16T02:10:53.1119375+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-16T02:10:53.1109609+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-16T02:10:53.1119375+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-16T02:10:53.1109609+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-16T02:10:53.1119375+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-16T02:10:53.1109609+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-16T02:10:53.1119375+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-16T02:10:53.1109609+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-16T02:10:53.1119375+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-16T02:10:53.1109609+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-16T02:10:53.1119375+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-16T02:10:53.1109609+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-16T02:10:53.1119375+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-16T02:10:53.1109609+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-16T02:10:53.1119375+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-16T02:10:53.1109609+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-16T02:10:53.1119375+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>