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 .xml suffix or ?format=xml

HTTP + XML

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/xml
Content-Type: application/xml
Content-Length: length

<GetTicketListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Needio.Services.ServiceModel">
  <AllYn>false</AllYn>
  <Count>0</Count>
  <Page>0</Page>
  <SearchText>String</SearchText>
  <Status>Active</Status>
</GetTicketListRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetTicketListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Needio.Services.ServiceModel">
  <Error>
    <ErrorCode>String</ErrorCode>
    <ErrorDescription>String</ErrorDescription>
    <ErrorYn>false</ErrorYn>
  </Error>
  <ResMessage>String</ResMessage>
  <Result>false</Result>
  <TicketList xmlns:d2p1="http://schemas.datacontract.org/2004/07/Needio.Services.ServiceModel.Models">
    <d2p1:TicketDetailDTO>
      <d2p1:AffectsCustomer>false</d2p1:AffectsCustomer>
      <d2p1:Category>General</d2p1:Category>
      <d2p1:Details>String</d2p1:Details>
      <d2p1:IsHtml>false</d2p1:IsHtml>
      <d2p1:PostId>0</d2p1:PostId>
      <d2p1:Priority>High</d2p1:Priority>
      <d2p1:SessionId>String</d2p1:SessionId>
      <d2p1:Status>Active</d2p1:Status>
      <d2p1:StoreId>0</d2p1:StoreId>
      <d2p1:TagList>String</d2p1:TagList>
      <d2p1:TicketId>0</d2p1:TicketId>
      <d2p1:TicketType>Problem</d2p1:TicketType>
      <d2p1:Title>String</d2p1:Title>
      <d2p1:TransId>0</d2p1:TransId>
      <d2p1:UserId>0</d2p1:UserId>
      <d2p1:AssignedTo>String</d2p1:AssignedTo>
      <d2p1:CreatedBy>String</d2p1:CreatedBy>
      <d2p1:CreatedDate xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:DateTime>0001-01-01T00:00:00Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </d2p1:CreatedDate>
      <d2p1:CurrentStatusDate xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:DateTime>0001-01-01T00:00:00Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </d2p1:CurrentStatusDate>
      <d2p1:CurrentStatusSetBy>String</d2p1:CurrentStatusSetBy>
      <d2p1:Events>
        <d2p1:TicketEventDTO>
          <d2p1:Comment>String</d2p1:Comment>
          <d2p1:EventBy>String</d2p1:EventBy>
          <d2p1:EventById>0</d2p1:EventById>
          <d2p1:EventDate xmlns:d6p1="http://schemas.datacontract.org/2004/07/System">
            <d6p1:DateTime>0001-01-01T00:00:00Z</d6p1:DateTime>
            <d6p1:OffsetMinutes>0</d6p1:OffsetMinutes>
          </d2p1:EventDate>
          <d2p1:EventDescription>String</d2p1:EventDescription>
          <d2p1:EventId>0</d2p1:EventId>
          <d2p1:IsHtml>false</d2p1:IsHtml>
          <d2p1:TicketId>0</d2p1:TicketId>
        </d2p1:TicketEventDTO>
      </d2p1:Events>
      <d2p1:LastUpdateBy>String</d2p1:LastUpdateBy>
      <d2p1:LastUpdateDate xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:DateTime>0001-01-01T00:00:00Z</d4p1:DateTime>
        <d4p1:OffsetMinutes>0</d4p1:OffsetMinutes>
      </d2p1:LastUpdateDate>
      <d2p1:Owner>String</d2p1:Owner>
      <d2p1:TicketTags>
        <d2p1:TicketTagDTO>
          <d2p1:TagName>String</d2p1:TagName>
          <d2p1:TicketId>0</d2p1:TicketId>
          <d2p1:TicketTagId>0</d2p1:TicketTagId>
        </d2p1:TicketTagDTO>
      </d2p1:TicketTags>
    </d2p1:TicketDetailDTO>
  </TicketList>
  <TotalCount>0</TotalCount>
</GetTicketListResponse>