POST api/Device/SelectDeviceBills

获取设备上传短信或文字内容,主要用于 查话费 查流量

Request Information

Body Parameters

DeviceBillsModel
NameDescriptionTypeAdditional information
DeviceID

Imei号

integer

None.

AppPhone

账号

string

None.

Type

类型 0: 所有 1: 话费 2: 流量 3: 问声早

integer

None.

PageNo

查询的页数

integer

None.

PageCount

每页条数

integer

None.

Token

登录后获取到的 Token

string

None.

Language

语言选项

string

None.

AppId

APP应用标识

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

State说明:
0. 表示成功

GetDeviceBillsResult
NameDescriptionTypeAdditional information
List

Collection of DeviceBills

None.

State

状态码

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "List": [
    {
      "BillContent": "sample string 1",
      "Type": 2,
      "CreateTime": "2025-12-12T05:27:10.5414917+08:00"
    },
    {
      "BillContent": "sample string 1",
      "Type": 2,
      "CreateTime": "2025-12-12T05:27:10.5414917+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>2025-12-12T05:27:10.5414917+08:00</CreateTime>
      <Type>2</Type>
    </DeviceBills>
    <DeviceBills>
      <BillContent>sample string 1</BillContent>
      <CreateTime>2025-12-12T05:27:10.5414917+08:00</CreateTime>
      <Type>2</Type>
    </DeviceBills>
  </List>
</GetDeviceBillsResult>