The Master Administrator (MA) sets the default organization in the system. Typically, when you create administrators or enroll users without specifying their organization, they are created in this default organization. The retrieveDefaultOrg operation is used to fetch the details of the default organization.
This section walks you through the following topics for fetching the default organization details:
The retrieveDefaultOrgRequest is used to fetch the default organization information. The following table lists the elements of this request message:
|
Element |
Mandatory |
Description |
|---|---|---|
|
clientTxId |
No |
Unique transaction identifier that the calling application can include. This identifier helps in tracking the related transactions. |
To fetch the default organization information:
This operation returns the retrieveDefaultOrgResponse message that includes the transaction identifier, authentication token, and default organization details. See the following section for more information on the response message.
The response message, retrieveDefaultOrgResponse, returns the transaction identifier and authentication token in the SOAP envelope header. The SOAP body includes the default organization details for a successful transaction and the Fault response for an error condition.
The following table provides information about the elements returned for a successful transaction. See appendix, "Error Codes" if there are any errors.
|
Element |
Description |
|
|---|---|---|
|
Header Elements |
||
|
udsTransactionID |
The unique identifier of the transaction that is performed using UDS. |
|
|
authToken |
The authentication token that is returned if the credential verification to access Web services was successful. This token eliminates the need for you to present the authentication credential for successive access to the Web services. By default, the authentication token is valid for one day, after which you need to authenticate again. |
|
|
Body Elements |
||
|
orgName |
The unique name of the organization. |
|
|
displayName |
The descriptive name of the organization. |
|
|
repositoryDetails |
The repository where the accounts of the users belonging to the organization resides. Following are the supported values:
|
|
|
dateCreated |
The timestamp when the organization was created. |
|
|
dateModified |
The timestamp when the organization was last modified. |
|
|
description |
The description for the organization that will help the administrators managing the organization. |
|
|
status |
The status of the default organization in the database. Following are the supported values:
|
|
|
preferredLocale |
The locale that is configured for the organization. If you do not specify the locale, then the default locale, en-US is set. |
|
|
customAttribute |
The name-value pairs of the custom attributes that have been set for the organization. |
|
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|