Required role: | Approved |
All Verbs | /HelpDesk/AddCommentTicket/ |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TicketId | query | int | No | |
Comment | query | string | No | |
Medias | query | List<MediaDTO> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
start | form | DateTime | No | |
DeviceUUID | form | string | No | |
APIKey | form | string | No | |
isAdmin | form | bool | No | |
Cmd | 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 | |
ExYn | 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 | |
ShowAlert | form | bool | 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 | |
TicketEvent | form | TicketEventDTO | 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 |
Information | 11 |
CloseStore | 21 |
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 | DateTime | No | |
Medias | form | List<MediaDTO> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PostId | form | int | No | |
MediaId | form | int? | No | |
UsageType | form | UsageTypes | No | |
MediaType | form | MediaTypes | No | |
Source | form | string | No | |
MediaFileName | form | string | No | |
MediaMime | form | string | No | |
IsMain | form | bool | No | |
RefId | form | int? | No | |
OrderNum | form | int | No | |
Action | form | DBAction | No | |
IsDeleted | form | bool | No | |
FriendlyURL | form | string | No | |
PostVariantA1Key | form | string | No | |
SourceUrl | form | string | No | |
ActiveYn | form | bool | No |
Name | Value |
---|---|
StoreMedias | 1 |
StoreFiles | 2 |
Name | Value |
---|---|
icon | 0 |
Image | 1 |
Video | 2 |
Youtube | 3 |
8 | |
File | 9 |
ThreeD | 10 |
Custom | 99 |
Name | Value |
---|---|
None | 0 |
Insert | 1 |
Update | 2 |
Delete | 3 |
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 .jsv suffix or ?format=jsv
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: baseservices.needion.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
TicketId: 0,
Comment: String,
Medias:
[
{
PostId: 0,
MediaId: 0,
UsageType: 1,
MediaType: 0,
Source: String,
MediaFileName: String,
MediaMime: String,
IsMain: False,
RefId: 0,
OrderNum: 0,
Action: 0,
IsDeleted: False,
FriendlyURL: String,
PostVariantA1Key: String,
SourceUrl: String,
ActiveYn: False
}
],
start: 0001-01-01,
DeviceUUID: String,
APIKey: String,
isAdmin: False,
Cmd: String
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { Ticket: { AssignedTo: String, LastUpdateBy: String, CurrentStatusSetBy: String, Owner: String, CreatedBy: String, CreatedDate: 0001-01-01T00:00:00.0000000+00:00, CurrentStatusDate: 0001-01-01T00:00:00.0000000+00:00, LastUpdateDate: 0001-01-01T00:00:00.0000000+00:00, Events: [ { EventId: 0, TicketId: 0, EventDescription: String, Comment: String, IsHtml: False, EventBy: String, EventById: 0, EventDate: 0001-01-01, Medias: [ { PostId: 0, MediaId: 0, UsageType: 1, MediaType: 0, Source: String, MediaFileName: String, MediaMime: String, IsMain: False, RefId: 0, OrderNum: 0, Action: 0, IsDeleted: False, FriendlyURL: String, PostVariantA1Key: String, SourceUrl: String, ActiveYn: False } ] } ], TicketTags: [ { TicketTagId: 0, TagName: String, TicketId: 0 } ], ShowAlert: False, 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, TicketEvent: { EventId: 0, TicketId: 0, EventDescription: String, Comment: String, IsHtml: False, EventBy: String, EventById: 0, EventDate: 0001-01-01, Medias: [ { PostId: 0, MediaId: 0, UsageType: 1, MediaType: 0, Source: String, MediaFileName: String, MediaMime: String, IsMain: False, RefId: 0, OrderNum: 0, Action: 0, IsDeleted: False, FriendlyURL: String, PostVariantA1Key: String, SourceUrl: String, ActiveYn: False } ] } }, Result: False, ResMessage: String, Error: { ErrorYn: False, ExYn: False, ErrorCode: String, ErrorDescription: String }, PageInfo: { TotalRecordCount: 0, TotalPageCount: 0, CurrentPage: 0 } }