Skip to main content

API | UPDATE TouchPoint Responses

#Enterprise

Updated yesterday

Australia and New Zealand users: This feature is not currently available in your region. Visit the Ideas Portal to submit or upvote a request. Your votes help the product team prioritize what's built next.

At some point, you may need to update the values in your TouchPoint Responses. At this point, you can you use the following calls:

You can also see this page on GET and POST Update Responses

Element ID 5: Arbitrary Text

{
"AttachmentDetailType": 0,
"DateOfNextContactDetailType": 0,
"ElementID": #####,
"ElementType": 5,
"ResponseAddressField": null,
"ResponseCheckInField": null,
"ResponseDateOfNextContact": null,
"ResponseElementChoices": [],
"ResponseFileAttachment": null,
"ResponseFileAttachments": [],
"ResponseStartAndEndTime": null,
"Value": "This is where you enter text"
}
​

Element ID 6: Numeric

{
"AttachmentDetailType": 0,
"DateOfNextContactDetailType": 0,
"ElementID": #####,
"ElementType": 6,
"ResponseAddressField": null,
"ResponseCheckInField": null,
"ResponseDateOfNextContact": null,
"ResponseElementChoices": [],
"ResponseFileAttachment": null,
"ResponseFileAttachments": [],
"ResponseStartAndEndTime": null,
"Value": 100
}
​

Element ID 9: Date

{
"AttachmentDetailType": 0,
"DateOfNextContactDetailType": 0,
"ElementID": #####,
"ElementType": 9,
"ResponseAddressField": null,
"ResponseCheckInField": null,
"ResponseDateOfNextContact": null,
"ResponseElementChoices": [],
"ResponseFileAttachment": null,
"ResponseFileAttachments": [],
"ResponseStartAndEndTime": null,
"Value": "MM/DD/YYYY" OR "DD/MM/YYYY"
}
The format of the date in the Value field will depend on the date settings in your enterprise. For US, use MM/DD/YYYY, for Canada and Australia, use DD/MM/YYYY.

Element ID 10: Start and End Time

When adding/editing Date Values:

{
"AttachmentDetailType": 0,
"DateOfNextContactDetailType": 0,
"ElementID": #####,
"ElementType": 10,
"ResponseAddressField": null,
"ResponseCheckInField": null,
"ResponseDateOfNextContact": null,
"ResponseElementChoices": [],
"ResponseFileAttachment": null,
"ResponseFileAttachments": [],
"ResponseStartAndEndTime": {
"EndTime": "\/Date(1571411927090)\/",
"StartTime": "\/Date(1571411927090)\/"
}
}
When NULL
{
"AttachmentDetailType": 0,
"DateOfNextContactDetailType": 0,
"ElementID": #####,
"ElementType": 10,
"ResponseAddressField": null,
"ResponseCheckInField": null,
"ResponseDateOfNextContact": null,
"ResponseElementChoices": [],
"ResponseFileAttachment": null,
"ResponseFileAttachments": [],
"ResponseStartAndEndTime": null
}

Note: Updates to FormElementTypeID 36 (FormResponseCrossReference) via the API is not supported at this time.

Did this answer your question?