GET api/Ticket/getMessageByTicket?ticketId={ticketId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ticketId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of MessageModelName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
ticketId | integer |
None. |
|
userGSId | integer |
None. |
|
username | string |
None. |
|
date | date |
None. |
|
message | string |
None. |
|
isRead | byte |
None. |
|
fileUpload | string |
None. |
|
privateMessage | string |
None. |
|
messageStatus | string |
None. |
|
requestType | string |
None. |
|
userCharge | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "ticketId": 2, "userGSId": 3, "username": "sample string 4", "date": "2024-12-05T00:35:08.4777501+01:00", "message": "sample string 6", "isRead": 64, "fileUpload": "sample string 8", "privateMessage": "sample string 9", "messageStatus": "sample string 10", "requestType": "sample string 11", "userCharge": "sample string 12" }, { "id": 1, "ticketId": 2, "userGSId": 3, "username": "sample string 4", "date": "2024-12-05T00:35:08.4777501+01:00", "message": "sample string 6", "isRead": 64, "fileUpload": "sample string 8", "privateMessage": "sample string 9", "messageStatus": "sample string 10", "requestType": "sample string 11", "userCharge": "sample string 12" } ]
application/xml, text/xml
Sample:
<ArrayOfMessageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebServiceLMS6Auth.Models"> <MessageModel> <date>2024-12-05T00:35:08.4777501+01:00</date> <fileUpload>sample string 8</fileUpload> <id>1</id> <isRead>64</isRead> <message>sample string 6</message> <messageStatus>sample string 10</messageStatus> <privateMessage>sample string 9</privateMessage> <requestType>sample string 11</requestType> <ticketId>2</ticketId> <userCharge>sample string 12</userCharge> <userGSId>3</userGSId> <username>sample string 4</username> </MessageModel> <MessageModel> <date>2024-12-05T00:35:08.4777501+01:00</date> <fileUpload>sample string 8</fileUpload> <id>1</id> <isRead>64</isRead> <message>sample string 6</message> <messageStatus>sample string 10</messageStatus> <privateMessage>sample string 9</privateMessage> <requestType>sample string 11</requestType> <ticketId>2</ticketId> <userCharge>sample string 12</userCharge> <userGSId>3</userGSId> <username>sample string 4</username> </MessageModel> </ArrayOfMessageModel>