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

{"IncludeMessageCount":false,"start":"\/Date(1600782908448+0300)\/","DeviceUUID":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
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}}