getPartyContactMethod
- Description
- This inquiry transaction returns the first occurrence of a party contact method of a specific contact method usage type for a given party.
- Web Services
- Operation name: getPartyContactMethod
- Example
- Retrieve the business telephone number for Josh Smith.
- Usage information
- The input to this transaction is the PartyId and ContactMethodType
(for example, Home, Business, and others).
Use this transaction when only one party contact method of the specific contact method usage type exists; otherwise, use the getAllPartyContactMethods transaction.
Contact Method types are user-definable through a code table.
- Preconditions
- Not applicable
- Mandatory input
- PartyId
- ContactMethodType
- Inquiry levels
- Not applicable
- Filter values
- Not applicable
- Transaction behavior
- Normal behavior. The response from the transaction returns the party contact method information contact method information being queried. The response includes the reference number, contact method type (such as telephone or email), last update date, and more.
- Request message
- <InquiryType> getPartyContactMethod
<InquiryParam>
<tcrmParam name= "PartyId">
<tcrmParam name= "ContactMethodType">
Note: ContactMethodType is an integer derived from the values in the CDCONTMETHTP table
- Response objects
- TCRMPartyContactMethodBObj
with associated business object:
- Special note
- Not applicable