Search account based on account id
get
                    /iam/governance/selfservice/api/v1/accounts/{accountid}
Returns the account details of the specified account id. The attributes that are to be returned can be specified as part of the query parameter named "fields". For example: The URI to get the user name attribute only for a particular account is /accounts/{accountid}?fields=name. The attributes are to be spcified in a Comma-separated list.
                Request
Supported Media Types
                - application/json
Path Parameters
                - 
                    accountid: string
                    
                    Target Account ID
Query Parameters
                - 
                        fields(optional): string
                        
                        Attributes to be returned in the result. Comma-separated attributes are accepted. Sample value for attributes is "accountName, status, accoutType, resource, applicationInstance"
Response
Supported Media Types
                - application/json
200 Response
Successful
                
                Headers
                - 
                        ResponseTime: string
                        
                        Captures the time in milliseconds taken for processing the request.
Root Schema : SingleAccountGetResponseInstance
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        Show Source
        object- 
            accountData(optional): 
            array  accountData
            
            
- 
            accountDescription(optional): 
            string
            
- 
            accountType(optional): 
            string
            
- 
            appinstanceId(optional): 
            string
            
- 
            id(optional): 
            string
            
- 
            links(optional): 
            array  links
            
            
- 
            name(optional): 
            string
            
- 
            normalizeData(optional): 
            array  normalizeData
            
            
- 
            policyKey(optional): 
            string
            
- 
            processInstanceKey(optional): 
            string
            
- 
            provisionedBy(optional): 
            string
            
- 
            provisionedByMechanism(optional): 
            string
            
- 
            provisionedOnDate(optional): 
            string
            
- 
            requestId(optional): 
            string
            
- 
            riskSummary(optional): 
            integer
            
- 
            status(optional): 
            string
            
- 
            userId(optional): 
            string
            
- 
            validFromDate(optional): 
            string
            
401 Response
Unauthorized
                
                
                404 Response
Requested entity not found
                
                
                500 Response
Internal Server Error
                
                
                Default Response
Unexpected error
                
                
                Examples
This example retrieves account information for a given account. The information shown here is against a pseudo system and serves as a prototype.
cURL Example
curl -H "Content-Type: application/json" -X GET -u username:password https://pseudo.com/iam/governance/selfservice/api/v1/accounts/3
Example of GET Response Body
The following example shows the contents of the response body in JSON format.
{
  "userId": "1005",
  "appInstanceId": "21",
  "requestId": "",
  "status": "Provisioned",
  "accountType": "Primary",
  "policyKey": "",
  "processInstanceKey": "75",
  "provisionedBy": "1",
  "provisionedByMechanism": "Direct Provision",
  "provisionedOnDate": "2016-03-07",
  "riskSummary": 0,
  "accountDescription": "LOGIN13",
  "validFromDate": "2016-03-07",
  "normalizeData": {
    "account Login": [
      {
        "0": "LOGIN13"
      }
    ],
    "Password": [
      {
        "0": ""
      }
    ],
    "UD_CHILDOBJ": [
      
    ],
    "account_ID": [
      {
        "0": "2222"
      }
    ],
    "accountData": {
      "UD_DIS2365_UPDATEBY": "1",
      "UD_DIS2365_REVOKE": "",
      "UD_DIS2365_CREATE": "2016-03-07",
      "UD_DIS2365_ACCOUNTID": "2222",
      "UD_DIS2365_NOTE": "",
      "UD_DIS2365_CREATEBY": "1",
      "UD_DIS2365_KEY": "1",
      "UD_DIS2365_VERSION": "2",
      "UD_DIS2365_PASSWORD": "",
      "UD_DIS2365_DATA_LEVEL": "",
      "UD_DIS2365_IT": "33",
      "UD_DIS2365_UPDATE": "2016-03-16",
      "UD_DIS2365_ROWVER": "-",
      "UD_DIS2365_LOGIN": "LOGIN13"
    },
    "links": [
      {
        "rel": "self",
        "href": "http://pseudo.com/iam/governance/selfservice/api/v1/accounts/3"
      }
    ],
    "id": "3"
  }
}