Needio.Services

<back to all web services

ChatAuthenticationGetKeyRequest

The following routes are available for this service:
All Verbs/Trans/ChatAuthenticationGetKey/
ChatAuthenticationGetKeyRequest Parameters:
NameParameterData TypeRequiredDescription
AuthKeyquerystringNo
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
DeviceUUIDformstringNo
ChatAuthenticationGetKeyResponse Parameters:
NameParameterData TypeRequiredDescription
TokenformAuthTokenNo
DeviceUUIDformstringNo
ChatIdformstringNo
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
ChatAuthenticationGetKeyResponse Parameters:
NameParameterData TypeRequiredDescription
TokenformAuthTokenNo
DeviceUUIDformstringNo
ChatIdformstringNo

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

{"AuthKey":"String","start":"\/Date(1600982315822+0300)\/","DeviceUUID":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Token":{"AccessToken":"String","ExpiresIn":"PT0S","RefreshToken":"String","TokenType":"String","UserId":0},"DeviceUUID":"String","ChatId":"String","Result":false,"ResMessage":"String","Error":{"ErrorYn":false,"ErrorCode":"String","ErrorDescription":"String"},"PageInfo":{"TotalRecordCount":0,"TotalPageCount":0,"CurrentPage":0}}