Needio.Services

<back to all web services

GetUserJobCountRequest

Requires Authentication
The following routes are available for this service:
All Verbs/User/GetUserJobCounts/
GetUserJobCountRequest Parameters:
NameParameterData TypeRequiredDescription
IncludeMessageCountqueryboolNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
GetUserJobCountResponse Parameters:
NameParameterData TypeRequiredDescription
UserJobCountsformUserJobCountsDTONo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
UserJobCountsDTO Parameters:
NameParameterData TypeRequiredDescription
UserIdformintNo
ActiveTicketCntformintNo
MoreInfoTicketCntformintNo
ResolvedTicketCntformintNo
ClosedTicketCntformintNo
UnReadNotificationCntformintNo
UnReadChatMessageCntformintNo
PendingSaleCntformintNo
RejectedSaleCntformintNo
PendingSaleReturnCntformintNo
PendingOrderCntformintNo
RejectedOrderCntformintNo
PendingOrderReturnCntformintNo
ItemsOnBasketCntformintNo
GetUserJobCountResponse Parameters:
NameParameterData TypeRequiredDescription
UserJobCountsformUserJobCountsDTONo

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 /User/GetUserJobCounts/ HTTP/1.1 
Host: baseservices2.needion.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	IncludeMessageCount: False,
	start: 2020-07-04T01:21:25.8907537+03:00
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	UserJobCounts: 
	{
		UserId: 0,
		ActiveTicketCnt: 0,
		MoreInfoTicketCnt: 0,
		ResolvedTicketCnt: 0,
		ClosedTicketCnt: 0,
		UnReadNotificationCnt: 0,
		UnReadChatMessageCnt: 0,
		PendingSaleCnt: 0,
		RejectedSaleCnt: 0,
		PendingSaleReturnCnt: 0,
		PendingOrderCnt: 0,
		RejectedOrderCnt: 0,
		PendingOrderReturnCnt: 0,
		ItemsOnBasketCnt: 0
	},
	Result: False,
	ResMessage: String,
	Error: 
	{
		ErrorYn: False,
		ErrorCode: String,
		ErrorDescription: String
	}
}