Needio.Services

<back to all web services

GetUserJobCountRequest

The following routes are available for this service:
All Verbs/User/GetUserJobCounts/
GetUserJobCountRequest Parameters:
NameParameterData TypeRequiredDescription
IncludeMessageCountqueryboolNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
DeviceUUIDformstringNo
APIKeyformstringNo
GetUserJobCountResponse Parameters:
NameParameterData TypeRequiredDescription
UserJobCountsformUserJobCountsDTONo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
PageInfoformBasePageInfoNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
BasePageInfo Parameters:
NameParameterData TypeRequiredDescription
TotalRecordCountformintNo
TotalPageCountformintNo
CurrentPageformintNo
UserJobCountsDTO Parameters:
NameParameterData TypeRequiredDescription
UserIdformintNo
ActiveTicketCntformintNo
MoreInfoTicketCntformintNo
ResolvedTicketCntformintNo
ClosedTicketCntformintNo
UnReadNotificationCntformintNo
UnReadChatMessageCntformintNo
PendingSaleCntformintNo
RejectedSaleCntformintNo
PendingSaleReturnCntformintNo
PendingOrderCntformintNo
RejectedOrderCntformintNo
PendingOrderReturnCntformintNo
ItemsOnBasketCntformintNo
PendingReturnOrdersformintNo
PendingReturnSalesformintNo
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: baseservices.needion.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	IncludeMessageCount: False,
	start: 2021-12-07T08:27:30.7111047+03:00,
	DeviceUUID: String,
	APIKey: String
}
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,
		PendingReturnOrders: 0,
		PendingReturnSales: 0
	},
	Result: False,
	ResMessage: String,
	Error: 
	{
		ErrorYn: False,
		ErrorCode: String,
		ErrorDescription: String
	},
	PageInfo: 
	{
		TotalRecordCount: 0,
		TotalPageCount: 0,
		CurrentPage: 0
	}
}