Needio.Services

<back to all web services

ChatAuthenticationSetKeyRequest

Requires Authentication
The following routes are available for this service:
All Verbs/Trans/ChatAuthenticationSetKey/
ChatAuthenticationSetKeyRequest Parameters:
NameParameterData TypeRequiredDescription
TokenqueryAuthTokenNo
DeviceUUIDquerystringNo
ChatIdquerystringNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
DeviceUUIDformstringNo
ChatAuthenticationSetKeyResponse Parameters:
NameParameterData TypeRequiredDescription
AuthKeyformstringNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
PageInfoformBasePageInfoNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
BasePageInfo Parameters:
NameParameterData TypeRequiredDescription
TotalRecordCountformintNo
TotalPageCountformintNo
CurrentPageformintNo
AuthToken Parameters:
NameParameterData TypeRequiredDescription
AccessTokenformstringNo
ExpiresInformTimeSpanNo
RefreshTokenformstringNo
TokenTypeformstringNo
UserIdformintNo
ChatAuthenticationSetKeyResponse Parameters:
NameParameterData TypeRequiredDescription
AuthKeyformstringNo

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

{
	Token: 
	{
		AccessToken: String,
		ExpiresIn: PT0S,
		RefreshToken: String,
		TokenType: String,
		UserId: 0
	},
	DeviceUUID: String,
	ChatId: String,
	start: 2020-10-01T04:51:06.0227647+03:00
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	AuthKey: String,
	Result: False,
	ResMessage: String,
	Error: 
	{
		ErrorYn: False,
		ErrorCode: String,
		ErrorDescription: String
	},
	PageInfo: 
	{
		TotalRecordCount: 0,
		TotalPageCount: 0,
		CurrentPage: 0
	}
}