GET api/Messages/GetDriverTextList?apiKey={apiKey}&tabletID={tabletID}&driverID={driverID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiKey

string

Required

tabletID

string

Required

driverID

integer

Required

Body Parameters

None.

Response Information

Resource Description

ReturnTextToMobile
NameDescriptionTypeAdditional information
status

boolean

None.

message

string

None.

TextList

Collection of TextListReturn

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "message": "sample string 2",
  "TextList": [
    {
      "MobileTextMessageLogID": 1,
      "DriverID": 2,
      "TextMessage": "sample string 3",
      "Direction": "sample string 4",
      "Viewed": true
    },
    {
      "MobileTextMessageLogID": 1,
      "DriverID": 2,
      "TextMessage": "sample string 3",
      "Direction": "sample string 4",
      "Viewed": true
    }
  ]
}

application/xml, text/xml

Sample:
<TextMessageModel.ReturnTextToMobile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProCADMobileService.Models">
  <TextList>
    <TextMessageModel.TextListReturn>
      <Direction>sample string 4</Direction>
      <DriverID>2</DriverID>
      <MobileTextMessageLogID>1</MobileTextMessageLogID>
      <TextMessage>sample string 3</TextMessage>
      <Viewed>true</Viewed>
    </TextMessageModel.TextListReturn>
    <TextMessageModel.TextListReturn>
      <Direction>sample string 4</Direction>
      <DriverID>2</DriverID>
      <MobileTextMessageLogID>1</MobileTextMessageLogID>
      <TextMessage>sample string 3</TextMessage>
      <Viewed>true</Viewed>
    </TextMessageModel.TextListReturn>
  </TextList>
  <message>sample string 2</message>
  <status>true</status>
</TextMessageModel.ReturnTextToMobile>