Table of Contents

Search

  1. Preface
  2. PowerCenter Mappings and Workflows
  3. B2B Data Exchange Transformations
  4. B2B Data Exchange Workflows
  5. Dashboard and Reports
  6. Creating Workflows for Event Reconciliation
  7. Forms Designer
  8. Configuring Email for Monitor Notification
  9. Dashboard and Reports
  10. B2B Data Exchange Web Services API
  11. B2B Data Exchange Run-time Java API
  12. B2B Data Exchange Forms Designer Java API

DX_TPM_Account Get Operation

DX_TPM_Account Get Operation

The DX_TPM_Account
get
operation returns information for the account associated with a specified index.
You can use the
count
and
get
operations together to get information on the account by index. For example, you can get the total number of accounts for a partner and use it to iterate through a "for" loop to get the information about each account.
When you use the count as the basis for an index in an iteration, ensure that the count does not change until the iteration completes. If you insert or delete an account during an iteration, the total number of accounts can change and invalidate the index.

Guidelines

Use the following guidelines when you get information about an account:
  • The request must use the
    get
    operation.
  • Accounts are indexed by account name in alphabetical order.
  • The index numbers range from zero to the total number of accounts minus one (0 ... n-1).

Response

The web service returns a DXAccountResponse object that includes the account information in a DXAccount object.
The web service returns a fault response in the following situations:
  • The index is outside the range of index numbers.
  • The partner name does not exist in the B2B Data Exchange repository.
  • The partner name identifies a dedicated system partner or account.
Get SOAP Message Example
The following SOAP message shows an example of a request to the DX_TPM_Account web service to get an account by index:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:inf="http://www.informatica.com/" xmlns:sec="http://b2b.informatica.com/dx/security" xmlns:tpm="http://b2b.informatica.com/dx/tpm/"> <soapenv:Header> <inf:Security> <UsernameToken> <Username>Administrator</Username> <Password>Administrator</Password> </UsernameToken> </inf:Security> <sec:DXSecurity> <sec:DXUsernameToken> <sec:DXUsername>sys</sec:DXUsername> <sec:DXPassword DXPasswordType="PasswordText">sys</sec:DXPassword> </sec:DXUsernameToken> </sec:DXSecurity> </soapenv:Header> <soapenv:Body> <tpm:DXAccountRequest> <operation>get</operation> <partnerName>myPartner</partnerName> <index>0</index> </tpm:DXAccountRequest> </soapenv:Body> </soapenv:Envelope>

0 COMMENTS

We’d like to hear from you!