List of Contacts by IDs

GET {{baseUrl}}/sf/contactsByIds?ids={{contactIds}}

Returns one or more contacts by given contact IDs

API Scopes

The following API scopes can access this resouce - smsf_partner

Query Parameters

Form ParametertypeMandatoryDescription
idsstringRequiredcomma seperated list of ids

Response Body

KeyDatatypeComments/Constraints
abnstring
acnnumberOnly returned if contactType='Company'
addressobjectAddress object will be received with the address details
birthCountrystringOnly returned if contactType is ‘People’. ISO 3166 country code/name https://en.wikipedia.org/wiki/ISO_3166
birthPlacestringOnly returned if contactType is ‘People’. One of ‘ACT’/‘NSW’/‘VIC’/‘QLD’/‘SA’/‘WA’/‘TAS’/‘NT’/‘Foreign’
birthdaydateformat yyyy/MM/dd. Only allowed if contactType is ‘People’
contactIdstringContact Identifier
contactTypestringone of ‘People’/‘Company’/OtherEntity’/’Trust’
dateOfDeathdate
dinstringDirector ID
emailstring
entityRelationshipsarraySee below
establishmentDatedate- format is yyyy/MM/dd. Only returned if the contactType is ‘Trust’
firstNamestringReturned if the contactType is ‘People’
lastNamestringReturned if the contactType is ‘People’
memberAccountNumberstring
mobilestring
namestringReturned if the contactType is ‘Company’/‘Other Entity’/'Trust'
otherNamestringReturned where contactType is ‘People’
professionalBodystring
professionalBodyNumberstring
sexstringList from ‘Male’/‘Female’
smsfAuditorNumberstring
solePurposeSMSFCorpTrusteebooleanOnly returned if contactType='Company'.
spinstringReturned if the contactType is ‘Other Entity’
telephonestring
tfnstringwill return 'Provided' or 'Not Provided'
titlestring
usistring

Address Array

KeyTypeMandatoryConstraints/Comments
streetLine1StringYesMandatory if any other address fields are not empty
streetLine2StringNo
cityStringYesMandatory if any other address fields are not empty
stateStringYesMandatory if any other address fields are not empty. Must be one of (ACT’/‘NSW’/‘VIC’/‘QLD’/‘SA’/‘WA’/‘TAS’/‘NT)
postCodeStringYesMandatory if any other address fields are not empty
countryStringYesMandatory if any other address fields are not empty. Must be a country code as defined in https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2

### EntityRelationships object

KeyDatatypeComments/Constraints
entityRelationshipIdstringID of EntityRelationship
entityContactParentIdstringID of ContactParent. This is contactId where entityToType=”PersonProxy” or “OtherEntity” or “Company” or “Trust”. This is entityId where entityToType=”SMSF” or “BillableTrust” or “BillableCompany”.
entityContactParentTypestringFrom List [Trust, SMSF, PersonProxy, OtherEntity, Company, BillableTrust, BillableCompany]
entityContactPositionstringPosition ContactChild has with ContactParent
entityContactChildIdstringID* of ContactChild. This is contactId where entityToType=”PersonProxy” or “OtherEntity” or “Company” or “Trust”. This is entityId where entityToType=”SMSF” or “BillableTrust” or “BillableCompany”.
entityContactChildTypestringFrom List [Trust, SMSF, PersonProxy, OtherEntity, Company, BillableTrust, BillableCompany]

entityContactPosition List

KeyDescription
AccountManagerAccount Manager
Appointer_TrusteeAppointer
Bare_TrustBare Trust
BeneficiaryBeneficiary
DirectorDirector
EX_ComOtherOther
EXComOtherAgentAgent
EX_ComOther_Agents_RepresentativeAgent's Representative
EX_ComOther_AlternateAlternate
EX_ComOther_Foreign_AgentForeign Agent
EX_ComOther_Foreign_Agents_RepresentativeForeign Agent’s Representative
EX_ComOther_LiquidatorLiquidator
EX_ComOther_Members_RepresentativeMember' Representative
EX_ComOther_Natural_PersonNatural Person
EX_ComOther_Persons_RepresentativePerson's Representative
EX_ComOther_Public_OfficerPublic Officer
EX_ComOther_Unitholders_RepresentativeUnitholder's Representative
EX_SMSF_AccountantAccountant
EX_SMSF_ActuaryActuary
EX_SMSF_AdministratorAdministrator
EX_SMSF_AdvisorAdviser
EX_SMSF_AuditorAuditor
EX_SMSF_Authorised_RepresentativeAuthorised Representative
EX_SMSF_BookkeeperBookkeeper
EX_SMSF_CustodianCustodian
EX_SMSF_Employer_SponsorEmployer Sponsor
EX_SMSF_ExpertSMSF Expert
EX_SMSF_External_AdministratorExternal Administrator
EX_SMSF_Firm_ContactFirm Contact
EX_SMSF_Firm_ManagerFirm Manager
EX_SMSF_Fund_ContactFund Contact
EX_SMSF_Investment_AdvisorInvestment Advisor
EX_SMSF_LawyerLawyer
EX_SMSF_Personal_RepresentativePersonal Representative
EX_SMSF_RepresentativeRepresentative
EX_SMSF_Tax_AgentTax Agent
Former Memberif all of the person's member accounts for the fund have an end date and all the end dates before the fund’s current financial year start date
Financial_PlannerFinancial Planner
OfficerOfficer
PartnerPartner
SecretarySecretary
SettlorSettlor
ShareholderShareholder
TrusteeTrustee
TrusteeTrustee
UnitHolderUnit Holder

Request Params

KeyDatatypeRequiredDescription
idsstring

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

[{"abn":null,"acn":null,"address":{"addressId":2496090,"city":"Brighton East","country":"AU","postCode":"3187","state":"VIC","streetLine1":"606 Hawthorn Rd","streetLine2":""},"birthCountry":"AU","birthPlace":"Casterly Rock","birthState":"ACT","birthday":"1954-07-01","contactId":"8ad08a3b70f49c890170f51ba33a0000","contactType":"People","dateOfDeath":null,"din":"999999941","email":"info@bglcorp.com.au","entityRelationships":[{"entityContactChildId":"8ad08a3b70f49c890170f51ba33a0000","entityContactChildType":"People","entityContactParentId":"8ad08ac470f2e2590170f4e8cbbd0103","entityContactParentType":"SMSF","entityContactPosition":"Member","entityRelationshipId":216968},{"entityContactChildId":"8ad08a3b70f49c890170f51ba33a0000","entityContactChildType":"People","entityContactParentId":"8ad08a2371b84f720171b8c6f7060000","entityContactParentType":"SMSF","entityContactPosition":"Member","entityRelationshipId":222015},{"entityContactChildId":"8ad08a3b70f49c890170f51ba33a0000","entityContactChildType":"People","entityContactParentId":"8ad08ac470f2e2590170f4e8cbbd0103","entityContactParentType":"SMSF","entityContactPosition":"Trustee","entityRelationshipId":234515},{"entityContactChildId":"8ad08a3b70f49c890170f51ba33a0000","entityContactChildType":"People","entityContactParentId":"8ad08a0573297bb501732c3e62ce0100","entityContactParentType":"SMSF","entityContactPosition":"Member","entityRelationshipId":235372}],"establishmentDate":null,"firstName":"Lannister","lastName":"Joanna","memberAccountNumber":null,"mobile":"61400555111","name":null,"otherName":null,"preferredName":null,"professionalBody":null,"professionalBodyNumber":null,"sex":"FEMALE","smsfAuditorNumber":null,"solePurposeSMSFCorpTrustee":null,"spin":null,"telephone":"0400555111","tfn":"Not Provided","title":"Mr","usi":null}]