GET V2/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.V2.Models.OAuthUser| Name | 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 | |
| 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, application/scim+json
Sample:
{
"OAuthUserId": "1",
"UserName": "sample 2",
"AccessToken": "sample 3",
"AuthenticationExpiresOn": "2025-10-24T01:33:52.2065321+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.V2.Models"> <AccessToken>sample 3</AccessToken> <AuthenticationExpiresOn>2025-10-24T01:33:52.2065321+00:00</AuthenticationExpiresOn> <AuthenticationUrl>sample 4</AuthenticationUrl> <AuthorizedUser>sample 6</AuthorizedUser> <Name>sample 5</Name> <OAuthUserId>1</OAuthUserId> <UserName>sample 2</UserName> </OAuthUser>