POST api/Device/SelectDeviceBills

Getting the device to upload text messages or text content is mainly used to check traffic

Request Information

Body Parameters

DeviceBillsModel
NameDescriptionTypeAdditional information
DeviceID

Imei number

integer

None.

AppPhone

Account

string

None.

Type

Type 0: all 1: cost 2: flow 3: Q sound early

integer

None.

PageNo

Page number

integer

None.

PageCount

Number each page

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

application/xml, text/xml

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

Response Information

Resource Description

Stateillustrate:
0. Indicates success

GetDeviceBillsResult
NameDescriptionTypeAdditional information
List

Collection of DeviceBills

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "List": [
    {
      "BillContent": "sample string 1",
      "Type": 2,
      "CreateTime": "2018-10-22T01:24:23.7597207+08:00"
    },
    {
      "BillContent": "sample string 1",
      "Type": 2,
      "CreateTime": "2018-10-22T01:24:23.7597207+08:00"
    }
  ],
  "State": 1
}

application/xml, text/xml

Sample:
<GetDeviceBillsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>1</State>
  <List>
    <DeviceBills>
      <BillContent>sample string 1</BillContent>
      <CreateTime>2018-10-22T01:24:23.7597207+08:00</CreateTime>
      <Type>2</Type>
    </DeviceBills>
    <DeviceBills>
      <BillContent>sample string 1</BillContent>
      <CreateTime>2018-10-22T01:24:23.7597207+08:00</CreateTime>
      <Type>2</Type>
    </DeviceBills>
  </List>
</GetDeviceBillsResult>