Needio.Services

<back to all web services

CreateTicketRequest

Requires Authentication
The following routes are available for this service:
All Verbs/HelpDesk/CreateTicket
CreateTicketRequest Parameters:
NameParameterData TypeRequiredDescription
TicketqueryTicketDTONo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
CreateTicketResponse Parameters:
NameParameterData TypeRequiredDescription
TicketIdformintNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
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
CreateTicketResponse Parameters:
NameParameterData TypeRequiredDescription
TicketIdformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

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

POST /HelpDesk/CreateTicket HTTP/1.1 
Host: baseservices2.needion.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	Ticket: 
	{
		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
	},
	start: 2020-07-13T12:12:30.7416374+03:00
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	TicketId: 0,
	Result: False,
	ResMessage: String,
	Error: 
	{
		ErrorYn: False,
		ErrorCode: String,
		ErrorDescription: String
	}
}