POST v1/company/{companyId}/tickets/PostTicketReply
Post a ticket reply
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
companyId |
Company id |
decimal number |
Required |
Body Parameters
Ticket post reply model
AppTicketPostReplyModelName | Description | Type | Additional information |
---|---|---|---|
F_TicketMaster |
Ticket record id |
decimal number |
None. |
Message |
ticket comments |
string |
None. |
Attachments |
Ticket attachments |
AppAttachmentmodel |
None. |
Request Formats
application/json, text/json
Sample:
{ "F_TicketMaster": 1.0, "Message": "sample string 2", "Attachments": { "FileName": "sample string 1", "ContentType": "sample string 2", "FileContents": "sample string 3" } }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiResponseOfAppTicketMasterModelName | Description | Type | Additional information |
---|---|---|---|
Result | AppTicketMasterModel |
None. |
|
Status | boolean |
None. |
|
Message | string |
None. |
|
Errors |
Errors occures while processing request |
Collection of ApiError |
None. |
Response Formats
application/json, text/json
Sample:
{ "Result": { "TicketData": { "Id": 1, "TicketId": 2, "Subject": "sample string 3", "Message": "sample string 4", "Attachment": "sample string 5", "IsAttachment": true, "Status": "sample string 6", "DateOfCreation": "sample string 7", "LastUpdatedOn": "sample string 8", "SenderName": "sample string 9" }, "TicketLog": [ { "Id": 1, "F_TicketsMaster": 2, "Message": "sample string 3", "DateOfCreation": "sample string 4", "UserName": "sample string 5", "Attachment": "sample string 6", "isReplyByYou": true }, { "Id": 1, "F_TicketsMaster": 2, "Message": "sample string 3", "DateOfCreation": "sample string 4", "UserName": "sample string 5", "Attachment": "sample string 6", "isReplyByYou": true } ] }, "Status": true, "Message": "sample string 2", "Errors": [ { "Number": 1, "Message": "sample string 2", "Exception": { "ClassName": "System.Exception", "Message": null, "Data": null, "InnerException": null, "HelpURL": "sample string 1", "StackTraceString": null, "RemoteStackTraceString": null, "RemoteStackIndex": 0, "ExceptionMethod": null, "HResult": 3, "Source": "sample string 2", "WatsonBuckets": null } }, { "Number": 1, "Message": "sample string 2", "Exception": { "ClassName": "System.Exception", "Message": null, "Data": null, "InnerException": null, "HelpURL": "sample string 1", "StackTraceString": null, "RemoteStackTraceString": null, "RemoteStackIndex": 0, "ExceptionMethod": null, "HResult": 3, "Source": "sample string 2", "WatsonBuckets": null } } ] }