Contacts: Search Contact By Id

  • Updated

Search Contact By Id

POST /v2/contact/getById


This API returns the complete contact details for specified Contact Id. Multiple contact's  details can also be found by specifying Id in multiple JSON Objects as shown below:


Parameter
Id    String

Array of contact id of the contacts to be retrieved.

[
   {
      "Id" : 100652314
   }
]
Response:

Returns the contact details for the specified contact Ids.

{
    "result": [
       {
            "DebtorNo""49426889",
            "Anonymised"false,
            "Email""Elavarasan.A@team.priava.com",
            "Address": [
               {
                    "MapAddress""",
                    "MapUrl""",
                    "Suburb""",
                    "Latitude""",
                    "Postcode""",
                    "Longitude""",
                    "AddressLine3""",
                    "AddressLine2""",
                    "AddressLine1""",
                    "State""",
                    "isPrimary""",
                    "Country""",
                    "AddressType""BUSINESS"
               },
               {
                    "MapAddress"null,
                    "MapUrl"null,
                    "Suburb""Melbourne",
                    "Latitude"null,
                    "Postcode""3000",
                    "Longitude"null,
                    "AddressLine3""",
                    "AddressLine2""",
                    "AddressLine1""300 La Trobe St",
                    "State""Victoria",
                    "isPrimary"true,
                    "Country""Australia",
                    "AddressType""POSTAL"
               },
               {
                    "MapAddress""",
                    "MapUrl""",
                    "Suburb""",
                    "Latitude""",
                    "Postcode""",
                    "Longitude""",
                    "AddressLine3""",
                    "AddressLine2""",
                    "AddressLine1""",
                    "State""",
                    "isPrimary""",
                    "Country""",
                    "AddressType""OTHER"
               }
           ],
            "UpdatedDate""",
            "MarketingOptOut""",
            "ContactId"100652314,
            "JobTitle""",
            "Department""Networks and IT (Nikos Katinakis)",
            "Phone""+91 (99528) 81777",
            "Inactive"false,
            "GDPRProcessed"false,
            "Deleted"false,
            "PersonalInformationConsent"false,
            "Organisation""",
            "PrimaryPhone""P",
            "OverrideDiscountType"false,
            "Lastname""A",
            "OrganisationId""",
            "Title""",
            "Personal Information Consent"false,
            "Pseudonymised"false,
            "Mobile""",
            "ExternalRefNo""",
            "Firstname""Elavarasan",
            "CustomFields": {
                "Second Contact Name and Number""Joe Bardan (02) 98765432"
           },
            "LastActivityDate""",
            "EmailOther"""
       }
   ],
    "success"true
}
 

Was this article helpful?

Have more questions? Submit a request