GET api/Messages?truckNo={truckNo}&apiSecurityKey={apiSecurityKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
truckNo

string

Required

apiSecurityKey

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of messageDetail
NameDescriptionTypeAdditional information
messageID

string

None.

dateTime

string

None.

subject

string

None.

message

string

None.

tstDispatcherID

string

None.

anroidID

string

None.

truckNo

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "messageID": "sample string 1",
    "dateTime": "sample string 2",
    "subject": "sample string 3",
    "message": "sample string 4",
    "tstDispatcherID": "sample string 5",
    "anroidID": "sample string 6",
    "truckNo": "sample string 7"
  },
  {
    "messageID": "sample string 1",
    "dateTime": "sample string 2",
    "subject": "sample string 3",
    "message": "sample string 4",
    "tstDispatcherID": "sample string 5",
    "anroidID": "sample string 6",
    "truckNo": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfgetMessages.messageDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/proje.Models">
  <getMessages.messageDetail>
    <anroidID>sample string 6</anroidID>
    <dateTime>sample string 2</dateTime>
    <message>sample string 4</message>
    <messageID>sample string 1</messageID>
    <subject>sample string 3</subject>
    <truckNo>sample string 7</truckNo>
    <tstDispatcherID>sample string 5</tstDispatcherID>
  </getMessages.messageDetail>
  <getMessages.messageDetail>
    <anroidID>sample string 6</anroidID>
    <dateTime>sample string 2</dateTime>
    <message>sample string 4</message>
    <messageID>sample string 1</messageID>
    <subject>sample string 3</subject>
    <truckNo>sample string 7</truckNo>
    <tstDispatcherID>sample string 5</tstDispatcherID>
  </getMessages.messageDetail>
</ArrayOfgetMessages.messageDetail>