GET api/Ticket/getAllNotReadMessagesByTicket?ticketId={ticketId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ticketId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of TicketMessage
NameDescriptionTypeAdditional information
id

integer

None.

userId

string

None.

date

date

None.

message

string

None.

isRead

byte

None.

fileUpload

string

None.

ticketId

integer

None.

privateMessage

string

None.

messageStatus

string

None.

user_in_charge

string

None.

ticketType

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "userId": "sample string 2",
    "date": "2019-11-17T12:15:54.1796502+01:00",
    "message": "sample string 4",
    "isRead": 64,
    "fileUpload": "sample string 6",
    "ticketId": 7,
    "privateMessage": "sample string 8",
    "messageStatus": "sample string 9",
    "user_in_charge": "sample string 10",
    "ticketType": "sample string 11"
  },
  {
    "id": 1,
    "userId": "sample string 2",
    "date": "2019-11-17T12:15:54.1796502+01:00",
    "message": "sample string 4",
    "isRead": 64,
    "fileUpload": "sample string 6",
    "ticketId": 7,
    "privateMessage": "sample string 8",
    "messageStatus": "sample string 9",
    "user_in_charge": "sample string 10",
    "ticketType": "sample string 11"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTicketMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebServiceLMS6Auth">
  <TicketMessage>
    <date>2019-11-17T12:15:54.1796502+01:00</date>
    <fileUpload>sample string 6</fileUpload>
    <id>1</id>
    <isRead>64</isRead>
    <message>sample string 4</message>
    <messageStatus>sample string 9</messageStatus>
    <privateMessage>sample string 8</privateMessage>
    <ticketId>7</ticketId>
    <ticketType>sample string 11</ticketType>
    <userId>sample string 2</userId>
    <user_in_charge>sample string 10</user_in_charge>
  </TicketMessage>
  <TicketMessage>
    <date>2019-11-17T12:15:54.1796502+01:00</date>
    <fileUpload>sample string 6</fileUpload>
    <id>1</id>
    <isRead>64</isRead>
    <message>sample string 4</message>
    <messageStatus>sample string 9</messageStatus>
    <privateMessage>sample string 8</privateMessage>
    <ticketId>7</ticketId>
    <ticketType>sample string 11</ticketType>
    <userId>sample string 2</userId>
    <user_in_charge>sample string 10</user_in_charge>
  </TicketMessage>
</ArrayOfTicketMessage>