Needio.Services

<back to all web services

GetChatUserStatusRequest

Requires Authentication
The following routes are available for this service:
All Verbs/Chat/GetChatUserStatus/
GetChatUserStatusRequest Parameters:
NameParameterData TypeRequiredDescription
ChatIdquerystringNo
LastSeqIdqueryintNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
GetChatUserStatusResponse Parameters:
NameParameterData TypeRequiredDescription
OnlineYnformboolNo
LastOnlineDateformDateTimeNo
StatusformstringNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
GetChatUserStatusResponse Parameters:
NameParameterData TypeRequiredDescription
OnlineYnformboolNo
LastOnlineDateformDateTimeNo
StatusformstringNo

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

{
	ChatId: String,
	LastSeqId: 0,
	start: 2020-07-02T17:40:43.6094128+03:00
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	OnlineYn: False,
	LastOnlineDate: 0001-01-01,
	Status: String,
	Result: False,
	ResMessage: String,
	Error: 
	{
		ErrorYn: False,
		ErrorCode: String,
		ErrorDescription: String
	}
}