Needio.Services

<back to all web services

GetTicketListRequest

Requires Authentication
The following routes are available for this service:
All Verbs/HelpDesk/GetTicketList/
GetTicketListRequest Parameters:
NameParameterData TypeRequiredDescription
StatusqueryTicketStatusesNo
AllYnqueryboolNo
CountqueryintNo
PagequeryintNo
SearchTextquerystringNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
GetTicketListResponse Parameters:
NameParameterData TypeRequiredDescription
TicketListformList<TicketDetailDTO>No
TotalCountformintNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
TicketDetailDTO Parameters:
NameParameterData TypeRequiredDescription
AssignedToformstringNo
LastUpdateByformstringNo
CurrentStatusSetByformstringNo
OwnerformstringNo
CreatedByformstringNo
CreatedDateformDateTimeOffsetNo
CurrentStatusDateformDateTimeOffsetNo
LastUpdateDateformDateTimeOffsetNo
EventsformList<TicketEventDTO>No
TicketTagsformList<TicketTagDTO>No
TicketDTO Parameters:
NameParameterData TypeRequiredDescription
TicketIdformintNo
TicketTypeformTicketTypesNo
CategoryformTicketCategoriesNo
TitleformstringNo
DetailsformstringNo
IsHtmlformboolNo
TagListformstringNo
StatusformTicketStatusesNo
PriorityformTicketPrioritiesNo
AffectsCustomerformboolNo
PostIdformint?No
TransIdformint?No
StoreIdformint?No
SessionIdformstringNo
UserIdformintNo
TicketTypes Enum:
NameValue
Problem0
Question1
Request2
Proposal3
TicketCategories Enum:
NameValue
General0
Profile1
Post2
Store3
Transaction4
Payment5
Delivery6
Refund7
Chat8
Campaigns9
SSS10
TicketStatuses Enum:
NameValue
Active0
MoreInfo1
Resolved2
Closed3
TicketPriorities Enum:
NameValue
High0
Medium1
Low2
TicketEventDTO Parameters:
NameParameterData TypeRequiredDescription
EventIdformintNo
TicketIdformintNo
EventDescriptionformstringNo
CommentformstringNo
IsHtmlformboolNo
EventByformstringNo
EventByIdformintNo
EventDateformDateTimeOffsetNo
TicketTagDTO Parameters:
NameParameterData TypeRequiredDescription
TicketTagIdformintNo
TagNameformstringNo
TicketIdformintNo
GetTicketListResponse Parameters:
NameParameterData TypeRequiredDescription
TicketListformList<TicketDetailDTO>No
TotalCountformintNo

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

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /HelpDesk/GetTicketList/ HTTP/1.1 
Host: baseservices2.needion.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Status":0,"AllYn":false,"Count":0,"Page":0,"SearchText":"String","start":"\/Date(1593818970968+0300)\/"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"TicketList":[{"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}],"TotalCount":0,"Result":false,"ResMessage":"String","Error":{"ErrorYn":false,"ErrorCode":"String","ErrorDescription":"String"}}