Previous Topic: Fetching Default Organization DetailsNext Topic: Searching Organizations


Fetching Organization Details

The retrieveOrg operation is used to read the details of an organization.

Note: If you want to fetch details of multiple organizations at a time, then use the listOrgs operation. See section, "Searching Organizations" for more information on how to use this.

This section walks you through the following topics for fetching the details of an organization:

Preparing the Request Message

The retrieveOrgRequest is used to fetch the details of an organization. The following table lists the elements of this request message:

Element

Mandatory

Description

orgName

Yes

The unique name with which the organization is identified.

clientTxId

No

Unique transaction identifier that the calling application can include. This identifier helps in tracking the related transactions.

Invoking the Web Service

To fetch the organization details:

  1. (Optional) Include the authentication and authorization details in the header of the retrieveOrg operation. See chapter, "Managing Web Services Security" for more information on the header elements.
  2. Use the retrieveOrgRequest elements for fetching the organization details.
  3. Use retrieveOrgRequest message and construct the input message by using the details obtained in preceding step.
  4. Invoke the retrieveOrg operation of the ArcorUserRegistryMgmtSvc service to fetch the organization details.

    This operation returns retrieveOrgResponse message that includes the transaction identifier, authentication token, and organization details. See the following section for more information on the response message.

Interpreting the Response Message

The response message, retrieveOrgResponse, returns the transaction identifier and the authentication token in the SOAP envelope header. The SOAP body includes the organization details for a successful transaction and the fault response for an error condition.

See the table containing information about the listEmailTypeResponse response message for more information on the elements returned for a successful transaction. See appendix, "Error Codes" if there are any errors.