Developer Q&A

Ask a Question
Back to All

RetrieveMultiple Contacts

Using sandbox, I am trying to make a REST call to get ContactAddresses from Contacts, but when I add "ContactAddresses" or "ContactAddresses.*" to "Properties" the request eventually fails with a socket hang up error. When I remove it, it returns the list but with an empty array as "ContactAddresses"

{
"QueryExpression": {
"EntityType": "Contact",
"PropertySet": {
"Properties": [
"Number",
"FirstName",
"LastName",
"DisplayAs",
"TypeId",
"CustomerId",
"UserName",
"ContactAddresses"
]
}
}
}