POST api/Files/VoiceFileListNoRead

To find unread voice records by day

Request Information

Body Parameters

required parameter

VoiceFileListNoReadModel
NameDescriptionTypeAdditional information
Imei

Imei

string

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:
{
  "Imei": "sample string 1",
  "Token": "sample string 2",
  "Language": "sample string 3",
  "AppId": "sample string 4"
}

application/xml, text/xml

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

Response Information

Resource Description

State status
0. success
100. no record

VoiceFileListNoReadResult
NameDescriptionTypeAdditional information
FileUrl

path

string

None.

Items

record set

Collection of DayVoiceFile

None.

State

status code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "FileUrl": "sample string 1",
  "Items": [
    {
      "Date": "sample string 1",
      "Items": [
        {
          "FileId": 1,
          "SerialNumber": "sample string 2",
          "FileUrl": "sample string 3",
          "Lng": 4.0,
          "Lat": 5.0,
          "Created": "sample string 6",
          "SourceType": 7,
          "Long": 8,
          "Type": 9,
          "Content": "sample string 10",
          "IsRead": true,
          "IdentityID": "sample string 12",
          "Avatar": "sample string 13",
          "UserId": 1,
          "Address": "sample string 14",
          "SendName": "sample string 15"
        },
        {
          "FileId": 1,
          "SerialNumber": "sample string 2",
          "FileUrl": "sample string 3",
          "Lng": 4.0,
          "Lat": 5.0,
          "Created": "sample string 6",
          "SourceType": 7,
          "Long": 8,
          "Type": 9,
          "Content": "sample string 10",
          "IsRead": true,
          "IdentityID": "sample string 12",
          "Avatar": "sample string 13",
          "UserId": 1,
          "Address": "sample string 14",
          "SendName": "sample string 15"
        }
      ]
    },
    {
      "Date": "sample string 1",
      "Items": [
        {
          "FileId": 1,
          "SerialNumber": "sample string 2",
          "FileUrl": "sample string 3",
          "Lng": 4.0,
          "Lat": 5.0,
          "Created": "sample string 6",
          "SourceType": 7,
          "Long": 8,
          "Type": 9,
          "Content": "sample string 10",
          "IsRead": true,
          "IdentityID": "sample string 12",
          "Avatar": "sample string 13",
          "UserId": 1,
          "Address": "sample string 14",
          "SendName": "sample string 15"
        },
        {
          "FileId": 1,
          "SerialNumber": "sample string 2",
          "FileUrl": "sample string 3",
          "Lng": 4.0,
          "Lat": 5.0,
          "Created": "sample string 6",
          "SourceType": 7,
          "Long": 8,
          "Type": 9,
          "Content": "sample string 10",
          "IsRead": true,
          "IdentityID": "sample string 12",
          "Avatar": "sample string 13",
          "UserId": 1,
          "Address": "sample string 14",
          "SendName": "sample string 15"
        }
      ]
    }
  ],
  "State": 2
}

application/xml, text/xml

Sample:
<VoiceFileListNoReadResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ResModel">
  <State>2</State>
  <FileUrl>sample string 1</FileUrl>
  <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/NewGPS2012.AppApi.Models.ViewModel">
    <d2p1:DayVoiceFile>
      <d2p1:Date>sample string 1</d2p1:Date>
      <d2p1:Items>
        <d2p1:VoiceFile>
          <d2p1:Address>sample string 14</d2p1:Address>
          <d2p1:Avatar>sample string 13</d2p1:Avatar>
          <d2p1:Content>sample string 10</d2p1:Content>
          <d2p1:Created>sample string 6</d2p1:Created>
          <d2p1:FileId>1</d2p1:FileId>
          <d2p1:FileUrl>sample string 3</d2p1:FileUrl>
          <d2p1:IdentityID>sample string 12</d2p1:IdentityID>
          <d2p1:IsRead>true</d2p1:IsRead>
          <d2p1:Lat>5</d2p1:Lat>
          <d2p1:Lng>4</d2p1:Lng>
          <d2p1:Long>8</d2p1:Long>
          <d2p1:SendName>sample string 15</d2p1:SendName>
          <d2p1:SerialNumber>sample string 2</d2p1:SerialNumber>
          <d2p1:SourceType>7</d2p1:SourceType>
          <d2p1:Type>9</d2p1:Type>
          <d2p1:UserId>1</d2p1:UserId>
        </d2p1:VoiceFile>
        <d2p1:VoiceFile>
          <d2p1:Address>sample string 14</d2p1:Address>
          <d2p1:Avatar>sample string 13</d2p1:Avatar>
          <d2p1:Content>sample string 10</d2p1:Content>
          <d2p1:Created>sample string 6</d2p1:Created>
          <d2p1:FileId>1</d2p1:FileId>
          <d2p1:FileUrl>sample string 3</d2p1:FileUrl>
          <d2p1:IdentityID>sample string 12</d2p1:IdentityID>
          <d2p1:IsRead>true</d2p1:IsRead>
          <d2p1:Lat>5</d2p1:Lat>
          <d2p1:Lng>4</d2p1:Lng>
          <d2p1:Long>8</d2p1:Long>
          <d2p1:SendName>sample string 15</d2p1:SendName>
          <d2p1:SerialNumber>sample string 2</d2p1:SerialNumber>
          <d2p1:SourceType>7</d2p1:SourceType>
          <d2p1:Type>9</d2p1:Type>
          <d2p1:UserId>1</d2p1:UserId>
        </d2p1:VoiceFile>
      </d2p1:Items>
    </d2p1:DayVoiceFile>
    <d2p1:DayVoiceFile>
      <d2p1:Date>sample string 1</d2p1:Date>
      <d2p1:Items>
        <d2p1:VoiceFile>
          <d2p1:Address>sample string 14</d2p1:Address>
          <d2p1:Avatar>sample string 13</d2p1:Avatar>
          <d2p1:Content>sample string 10</d2p1:Content>
          <d2p1:Created>sample string 6</d2p1:Created>
          <d2p1:FileId>1</d2p1:FileId>
          <d2p1:FileUrl>sample string 3</d2p1:FileUrl>
          <d2p1:IdentityID>sample string 12</d2p1:IdentityID>
          <d2p1:IsRead>true</d2p1:IsRead>
          <d2p1:Lat>5</d2p1:Lat>
          <d2p1:Lng>4</d2p1:Lng>
          <d2p1:Long>8</d2p1:Long>
          <d2p1:SendName>sample string 15</d2p1:SendName>
          <d2p1:SerialNumber>sample string 2</d2p1:SerialNumber>
          <d2p1:SourceType>7</d2p1:SourceType>
          <d2p1:Type>9</d2p1:Type>
          <d2p1:UserId>1</d2p1:UserId>
        </d2p1:VoiceFile>
        <d2p1:VoiceFile>
          <d2p1:Address>sample string 14</d2p1:Address>
          <d2p1:Avatar>sample string 13</d2p1:Avatar>
          <d2p1:Content>sample string 10</d2p1:Content>
          <d2p1:Created>sample string 6</d2p1:Created>
          <d2p1:FileId>1</d2p1:FileId>
          <d2p1:FileUrl>sample string 3</d2p1:FileUrl>
          <d2p1:IdentityID>sample string 12</d2p1:IdentityID>
          <d2p1:IsRead>true</d2p1:IsRead>
          <d2p1:Lat>5</d2p1:Lat>
          <d2p1:Lng>4</d2p1:Lng>
          <d2p1:Long>8</d2p1:Long>
          <d2p1:SendName>sample string 15</d2p1:SendName>
          <d2p1:SerialNumber>sample string 2</d2p1:SerialNumber>
          <d2p1:SourceType>7</d2p1:SourceType>
          <d2p1:Type>9</d2p1:Type>
          <d2p1:UserId>1</d2p1:UserId>
        </d2p1:VoiceFile>
      </d2p1:Items>
    </d2p1:DayVoiceFile>
  </Items>
</VoiceFileListNoReadResult>