POST Auth/Login
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
UserSessionDTOName | Description | Type | Additional information |
---|---|---|---|
SessionID | integer |
None. |
|
UserID | integer |
None. |
|
UserHash | string |
None. |
|
UserToken | string |
None. |
|
RefreshToken | string |
None. |
|
ExpiryDateUtc | date |
None. |
|
SessionData | Collection of Object |
None. |
|
AppData | Collection of Object |
None. |
|
Props | Collection of Object |
None. |
|
RecordState | RecordState |
None. |
|
Created | AuditDataDTO |
None. |
|
LastUpdated | AuditDataDTO |
None. |
|
Expired | boolean |
None. |
|
ExpiresSoon | boolean |
None. |
|
UserName | string |
None. |
|
IsAuthorized | boolean |
None. |
|
Features | Collection of string |
None. |
|
Summary | string |
None. |
|
IsSingleSignOn | boolean |
None. |
Response Formats
application/json
Sample:
{ "sessionID": 1, "userID": 2, "userHash": "sample string 3", "userToken": "sample string 4", "refreshToken": "", "expiryDateUtc": "2024-11-21T10:10:12.4094345+00:00", "appData": [ { "n": "RefreshToken" } ], "props": [ { "n": "RefreshToken" } ], "recordState": 1, "created": { "dateUtc": "2024-11-21T10:10:12.4094345+00:00", "userName": "sample string 2", "summary": "sample string 2 on 11/21/2024 10:10:12 AMZ" }, "lastUpdated": { "dateUtc": "2024-11-21T10:10:12.4094345+00:00", "userName": "sample string 2", "summary": "sample string 2 on 11/21/2024 10:10:12 AMZ" }, "expired": true, "expiresSoon": false, "userName": "", "isAuthorized": true, "features": [ "sample string 1", "sample string 2" ], "summary": "sample string 4", "isSingleSignOn": false }
text/json
Sample:
{ "sessionID": 1, "userID": 2, "userHash": "sample string 3", "userToken": "sample string 4", "refreshToken": "", "expiryDateUtc": "2024-11-21T10:10:12.4094345+00:00", "appData": [ { "n": "RefreshToken" }, { "n": "UserName" } ], "props": [ { "n": "RefreshToken" }, { "n": "UserName" } ], "recordState": 1, "created": { "dateUtc": "2024-11-21T10:10:12.4094345+00:00", "userName": "sample string 2", "summary": "sample string 2 on 11/21/2024 10:10:12 AMZ" }, "lastUpdated": { "dateUtc": "2024-11-21T10:10:12.4094345+00:00", "userName": "sample string 2", "summary": "sample string 2 on 11/21/2024 10:10:12 AMZ" }, "expired": true, "expiresSoon": false, "userName": "", "isAuthorized": true, "features": [ "sample string 1", "sample string 2" ], "summary": "sample string 4", "isSingleSignOn": false }
application/xml, text/xml
Sample:
<UserSessionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlayaCare.Residential.AuthClient.Abstractions"> <AppData xmlns:d2p1="http://schemas.datacontract.org/2004/07/AlayaCare.Residential.Common.Collections"> <d2p1:Property> <d2p1:Name>RefreshToken</d2p1:Name> <d2p1:Value i:nil="true" /> <d2p1:ValueForXML i:nil="true" /> </d2p1:Property> <d2p1:Property> <d2p1:Name>UserName</d2p1:Name> <d2p1:Value i:nil="true" /> <d2p1:ValueForXML i:nil="true" /> </d2p1:Property> </AppData> <Created xmlns:d2p1="http://schemas.datacontract.org/2004/07/AlayaCare.Residential.Common.Models"> <d2p1:DateUtc>2024-11-21T10:10:12.4094345+00:00</d2p1:DateUtc> <d2p1:UserName>sample string 2</d2p1:UserName> </Created> <ExpiryDateUtc>2024-11-21T10:10:12.4094345+00:00</ExpiryDateUtc> <Features xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Features> <LastUpdated xmlns:d2p1="http://schemas.datacontract.org/2004/07/AlayaCare.Residential.Common.Models"> <d2p1:DateUtc>2024-11-21T10:10:12.4094345+00:00</d2p1:DateUtc> <d2p1:UserName>sample string 2</d2p1:UserName> </LastUpdated> <Props xmlns:d2p1="http://schemas.datacontract.org/2004/07/AlayaCare.Residential.Common.Collections"> <d2p1:Property> <d2p1:Name>RefreshToken</d2p1:Name> <d2p1:Value i:nil="true" /> <d2p1:ValueForXML i:nil="true" /> </d2p1:Property> <d2p1:Property> <d2p1:Name>UserName</d2p1:Name> <d2p1:Value i:nil="true" /> <d2p1:ValueForXML i:nil="true" /> </d2p1:Property> </Props> <RecordState>Active</RecordState> <SessionData xmlns:d2p1="http://schemas.datacontract.org/2004/07/AlayaCare.Residential.Common.Collections" i:nil="true" /> <SessionID>1</SessionID> <UserHash>sample string 3</UserHash> <UserID>2</UserID> <UserToken>sample string 4</UserToken> </UserSessionDTO>
application/x-compressed-json
Sample:
� ͑�N�0�_%��l7d��@"��`%�&"�-�#Q�>��+pIA[1tC�p��w�绯���J��-!�!�����j* ҵ�0 ��f�aW��5b���!���-�n�=�>�*�I9Sr%E�u��h]_�5�Z.��tзy��u�ɔAt��_�`��t�{��qy�k�}����P۩��4��ֵv�S-0M �����=X�?3/T�|j�D4l�����J�1<ٍ�|٨�E������ ϸ�2�ӑ��ю`��F�A�a�I�m'��7�����