Documentation forAccess Rights Manager

Home APIs

My Account Model (GET)

My Account Model.

Route

URI

/api/v1/Home/MyAccountModel

Method

GET

Result

JSON – AccountModel

Parameters

None

Response Structure Returns AccountModel object containing:

  • ResourceTypeGuid: Guid value

  • SerializedAccountId: string value

  • UriKey: string value

  • DisplayName: string value

  • Provider: TechnologyProvider value

  • IsGroup: bool value

  • Sid: string value

  • Guid: Guid? value

  • Description: string value

  • Attributes: KeyValuePair<string, string>[] value

  • ExtendedAttributes: KeyValuePair<string, string>[] value

  • Children: string[] value

  • TypeId: int value

Example

GET http://localhost/api/v1/Home/MyAccountModel

Example Response

{     "ResourceTypeGuid": "123e4567-e89b-12d3-a456-426614174000",     "SerializedAccountId": "sample",     "UriKey": "sample",     "DisplayName": "sample",     "Provider": {},     "IsGroup": true,     "Sid": "sample",     "Guid": "123e4567-e89b-12d3-a456-426614174000",     "Description": "sample",     "Attributes": {},     "ExtendedAttributes": {},     "Children": {},     "TypeId": 1 }