GET V3/odata/OAuthUser({key})
Gets OAuthUser entity by key
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
key |
OAuthUserId from OAuthUser entity |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
QicsUnity.Api.Areas.V3.Models.OAuthUserName | Description | Type | Additional information |
---|---|---|---|
OAuthUserId |
Gets or sets OAuthUserId |
integer |
Required 64-bit signed integer |
UserName |
Gets or sets UserName |
string |
Required |
AccessToken |
Gets or sets AccessToken |
string | |
AccessTokenExpiresOn |
Gets or sets AccessToken expiration time |
date |
date and time of day, relative to Coordinated Universal Time (UTC) Nullable |
AuthenticationExpiresOn |
Gets or sets AuthenticationExpiresOn |
date |
date and time of day Nullable |
AuthenticationUrl |
Gets or sets AuthenticationUrl |
string |
Required |
Name |
Gets or sets Name |
string | |
AuthorizedUser |
Gets or sets authorized user |
string |
Response Formats
application/json, text/json
Sample:
{ "OAuthUserId": "1", "UserName": "sample 2", "AccessToken": "sample 3", "AccessTokenExpiresOn": "2024-12-22T17:22:33.6722506+00:00", "AuthenticationExpiresOn": "2024-12-22T17:22:33.6722506+00:00", "AuthenticationUrl": "sample 4", "Name": "sample 5", "AuthorizedUser": "sample 6" }
application/xml, text/xml
Sample:
<OAuthUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V3.Models"> <AccessToken>sample 3</AccessToken> <AccessTokenExpiresOn xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:DateTime>2024-12-22T17:22:33.6722506Z</d2p1:DateTime> <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes> </AccessTokenExpiresOn> <AuthenticationExpiresOn>2024-12-22T17:22:33.6722506+00:00</AuthenticationExpiresOn> <AuthenticationUrl>sample 4</AuthenticationUrl> <AuthorizedUser>sample 6</AuthorizedUser> <Name>sample 5</Name> <OAuthUserId>1</OAuthUserId> <UserName>sample 2</UserName> </OAuthUser>