All Verbs | /HelpDesk/AddCommentTicket/ |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TicketId | query | int | No | |
Comment | query | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
start | form | DateTime | No | |
DeviceUUID | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Ticket | form | TicketDetailDTO | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Result | form | bool | No | |
ResMessage | form | string | No | |
Error | form | Error | No | |
PageInfo | form | BasePageInfo | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ErrorYn | form | bool | No | |
ErrorCode | form | string | No | |
ErrorDescription | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TotalRecordCount | form | int | No | |
TotalPageCount | form | int | No | |
CurrentPage | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AssignedTo | form | string | No | |
LastUpdateBy | form | string | No | |
CurrentStatusSetBy | form | string | No | |
Owner | form | string | No | |
CreatedBy | form | string | No | |
CreatedDate | form | DateTimeOffset | No | |
CurrentStatusDate | form | DateTimeOffset | No | |
LastUpdateDate | form | DateTimeOffset | No | |
Events | form | List<TicketEventDTO> | No | |
TicketTags | form | List<TicketTagDTO> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TicketId | form | int | No | |
TicketType | form | TicketTypes | No | |
Category | form | TicketCategories | No | |
Title | form | string | No | |
Details | form | string | No | |
IsHtml | form | bool | No | |
TagList | form | string | No | |
Status | form | TicketStatuses | No | |
Priority | form | TicketPriorities | No | |
AffectsCustomer | form | bool | No | |
PostId | form | int? | No | |
TransId | form | int? | No | |
StoreId | form | int? | No | |
SessionId | form | string | No | |
UserId | form | int | No | |
ReturnId | form | int? | No |
Name | Value |
---|---|
Problem | 0 |
Question | 1 |
Request | 2 |
Proposal | 3 |
Name | Value |
---|---|
General | 0 |
Profile | 1 |
Post | 2 |
Store | 3 |
Transaction | 4 |
Payment | 5 |
Delivery | 6 |
Refund | 7 |
Chat | 8 |
Campaigns | 9 |
SSS | 10 |
Name | Value |
---|---|
Active | 0 |
MoreInfo | 1 |
Resolved | 2 |
Closed | 3 |
Name | Value |
---|---|
High | 0 |
Medium | 1 |
Low | 2 |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
EventId | form | int | No | |
TicketId | form | int | No | |
EventDescription | form | string | No | |
Comment | form | string | No | |
IsHtml | form | bool | No | |
EventBy | form | string | No | |
EventById | form | int | No | |
EventDate | form | DateTimeOffset | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TicketTagId | form | int | No | |
TagName | form | string | No | |
TicketId | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Ticket | form | TicketDetailDTO | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /HelpDesk/AddCommentTicket/ HTTP/1.1
Host: baseservices2.needion.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"TicketId":0,"Comment":"String","start":"\/Date(1611227278134+0300)\/","DeviceUUID":"String"}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"Ticket":{"AssignedTo":"String","LastUpdateBy":"String","CurrentStatusSetBy":"String","Owner":"String","CreatedBy":"String","CreatedDate":"\/Date(-62135596800000)\/","CurrentStatusDate":"\/Date(-62135596800000)\/","LastUpdateDate":"\/Date(-62135596800000)\/","Events":[{"EventId":0,"TicketId":0,"EventDescription":"String","Comment":"String","IsHtml":false,"EventBy":"String","EventById":0,"EventDate":"\/Date(-62135596800000)\/"}],"TicketTags":[{"TicketTagId":0,"TagName":"String","TicketId":0}],"TicketId":0,"TicketType":0,"Category":0,"Title":"String","Details":"String","IsHtml":false,"TagList":"String","Status":0,"Priority":0,"AffectsCustomer":false,"PostId":0,"TransId":0,"StoreId":0,"SessionId":"String","UserId":0,"ReturnId":0},"Result":false,"ResMessage":"String","Error":{"ErrorYn":false,"ErrorCode":"String","ErrorDescription":"String"},"PageInfo":{"TotalRecordCount":0,"TotalPageCount":0,"CurrentPage":0}}