POST api/admin/CreateComment
Request Information
URI Parameters
None.
Body Parameters
CommentDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| CommentId | string |
None. |
|
| TicketId | string |
None. |
|
| CommentBody | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CommentId": "sample string 1",
"TicketId": "sample string 2",
"CommentBody": "sample string 3"
}
application/xml, text/xml
Sample:
<CommentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO.Ticketing"> <CommentBody>sample string 3</CommentBody> <CommentId>sample string 1</CommentId> <TicketId>sample string 2</TicketId> </CommentDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |