Subject Contacts

Loading...
The Subject Contacts API records contacts to subjects and records documents that are produced when executing decisions and business rules.

Contacts

Contains the operations for the contacts resource.
get
Get all contacts
Internal-Use OnlyReturns a collection of information about each contact made. Each item also contains the presentation, and the response to that contact.
/contacts
post
Create a new contact record
Internal-Use OnlyThe contact and response are recorded. If the presentation is configured to be recorded, it can be recorded at this time or deferred to a future update. The PATCH action can be used with the responseTrackingCode property to make the update and record the response to the treatment. If the operation is to be fulfilled asynchronously by using asynchronous=true, a resource ID is issued without waiting for the completion of the operation. The endpoint returns a URI for retrieving the resource in the Location response header. An HTTP status of 202 is returned.
/contacts
get
Export contact records
Internal-Use OnlyExports contacts as CSV text. A filter can be used to select the contacts. If a filter is not used, all contacts are returned. The output is not pageable nor sortable. A header is not returned by default. To add a header, add the header=present option to the text/csv media type. The columns are:
/contacts
post
Create contact records from CSV
Internal-Use OnlyCreates contact records from a CSV file. It imports the CSV text with a header row that specifies the order of these required columns:
/contacts
get
Get a contact
Internal-Use OnlyReturns information about the contact.
/contacts/{contactId}
put
Update a contact record
Internal-Use OnlyUpdates the contact record by replacing it. Use this endpoint to update the presentation or the response of the treatments in the contact. Presentation and responses can be updated multiple times. For example, a subject clicking a treatment link is one type of response and subsequent engagement (for example, taking the next step in a commercial flow) is another response. Depending on how the merchant wants to track responses, it can be multiple updates or just one update of the final response. Although some members of the contact record have changed, the full contact object is required for this action. Since some members are immutable, an error occurs if you attempt to change them. Furthermore, if a member is an array, it is an error to change the number of entries in the array. These are the immutable first and second-level members of the record:
/contacts/{contactId}
patch
Patch a contact record
Internal-Use OnlyPatches a contact record by sending a partial representation of the contact record, which includes a key field and the fields that are to be changed. The full object is sent in the response. If a field in the partial representation has the 'null' value, it is interpreted to mean that a value is not sent rather than having the value in the field erased.
/contacts/{contactId}
delete
Delete a contact record
Internal-Use OnlyDeletes a contact record.
/contacts/{contactId}

Traces

Contains the operations for the traces resource.