GetDirectoryContactResponse
result objectrequired
Information in the result.
The contact ID.
CID_012345678901234CID_012345678901234Date and time this contact's record was created. Expressed in milliseconds since the Unix epoch, January 1, 1970 at 0:00 UTC.
Date and time this record was last modified. Expressed in milliseconds since the Unix epoch, January 1, 1970 at 0:00 UTC.
The contact's first name or given name.
JaneThe contact's last name or surname.
DoeThe contact's email address.
JaneDoe@email.comThe contact's email domain.
The contact's phone number.
111-111-1111The External reference for the contact. You can place any string data here you need to identify the contact.
my_Internal_ID_12345embeddedData objectnullable
The embedded data object contains extra metadata that you want to associate with contacts. This user-defined data could include such data as birthplace, gender, employment status, etc.
The contact's preferred language code, if set.
This is a legacy field whose value will always be null
segmentMembership object
A map whose keys are segment IDs and whose values are objects detailing the contact's membership to the corresponding segment.
property name* Segment Membership Details
Indicates whether the user opted out of the directory.
Date and time the user opted out of the directory. Expressed in milliseconds since the Unix epoch, January 1, 1970 at 0:00 UTC.
stats objectnullable
Statistics relevant to the request. All Month Stats are deprecated and no longer updated.
mailingListMembership objectnullable
The DirectoryContactMailingLists object contains information about the mailing lists this contact belongs to. The object contains one object for each mailing list, with the mailing list ID as the object name.
property name* Mailing List Membership Details
The contact's unique ID in the mailing list.
CGC_012345678901234The name of the mailing list.
Whether the contact unsubscribed from the mailing list.
The date the contact opted out of this mailing list. Is set to null if the user has not opted out.
The ID of the user who owns the mailing list.
meta objectrequired
HTTP status code.
The unique identifier of the associated request.
An informational string about the request
{
"result": {
"contactId": "CID_012345678901234",
"creationDate": 0,
"lastModified": 0,
"firstName": "Jane",
"lastName": "Doe",
"email": "JaneDoe@email.com",
"emailDomain": "string",
"phone": "111-111-1111",
"extRef": "my_Internal_ID_12345",
"embeddedData": {},
"language": "",
"segmentMembership": {},
"directoryUnsubscribed": true,
"directoryUnsubscribeDate": 0,
"stats": {},
"mailingListMembership": {}
},
"meta": {
"httpStatus": "string",
"requestId": "string",
"notice": "string"
}
}