Difference between revisions of "API/Minimal/GetContactByAccountAndType"
From Emersion
(Created page with "===Get Contact By Account And Type===") |
|||
| Line 1: | Line 1: | ||
===Get Contact By Account And Type=== | ===Get Contact By Account And Type=== | ||
| + | |||
| + | '''Purpose''' | ||
| + | Retrieve account contacts by account id. Optionally get based on contact type ( by ‘Primary’ or ‘Billing’ ) or specific contact id | ||
| + | |||
| + | Note: to get both contacts type (ContactTypeName) either leave blank or use ‘Any’). | ||
| + | |||
| + | '''Inputs''' | ||
| + | AccountID : required | ||
| + | ContactTypeName : optional (if used accepted values are Primary or Billing or Any | ||
| + | ContactId: optional | ||
| + | |||
| + | <soapenv:Header/> | ||
| + | <soapenv:Body> | ||
| + | <min:GetContactByAccountAndTypeRequest> | ||
| + | <AccountID>657996</AccountID> | ||
| + | <!--Optional:--> | ||
| + | <ContactTypeName></ContactTypeName> | ||
| + | <!--Optional:--> | ||
| + | <ContactId></ContactId> | ||
| + | </min:GetContactByAccountAndTypeRequest> | ||
| + | </soapenv:Body> | ||
Revision as of 15:45, 10 September 2014
Get Contact By Account And Type
Purpose Retrieve account contacts by account id. Optionally get based on contact type ( by ‘Primary’ or ‘Billing’ ) or specific contact id
Note: to get both contacts type (ContactTypeName) either leave blank or use ‘Any’).
Inputs AccountID : required ContactTypeName : optional (if used accepted values are Primary or Billing or Any ContactId: optional
<soapenv:Header/> <soapenv:Body>
<min:GetContactByAccountAndTypeRequest>
<AccountID>657996</AccountID>
<ContactTypeName></ContactTypeName>
<ContactId></ContactId>
</min:GetContactByAccountAndTypeRequest>
</soapenv:Body>