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

HTTP + CSV

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/csv
Content-Type: text/csv
Content-Length: length

{"IncludeMessageCount":false,"start":"\/Date(1594038473828+0300)\/"}
HTTP/1.1 200 OK
Content-Type: text/csv
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"}}