Include Attachment ObjectID in Survey123 Webhook Payload

70
0
02-27-2020 08:59 AM
Status: Open
GreggRoemhildt
Occasional Contributor III

Survey123 webhook payloads are strange. In general, its somewhat challenging to utilize, due to the different data structures used, and where the object id's get passed and where they get omitted.

For example, the REST api uses attachment ObjectID's to access attachments. However, the survey123 payload doesn't include attachment ObjectIDs. It only includes global id's.

So my idea here is more or less to make the data in the webhook payload more useful by adding object id's to the attachment. This wouldn't require any major changes in the data structure and would make the payloads with attachments oh so helpful.