API SendDate piped text for date and time of survey completion (current date/time) | XM Community
Skip to main content
Using version 2.5 of API, I am scheduling a web service api call to distribute emails. I need to distribute the email immediately, after each participant has completed the survey (will be at various times and dates). I tried using the various piped text options, but can't find one that seemed to work with the correct format. For example, I know that it likes the formula for one day later as ${date://OtherDate/Y/+1 days}-${date://OtherDate/m/+1 days}-${date://OtherDate/d/+1 days}, but what about for the current date and time??

Thank you.
Hello @jvaccaro12 ,



Use this: `${date://CurrentDate/c}` for current date and time
Hello, when you click on pipe there is an option to pipe current date as superuser is telling above.
> @Priyanka_jain said:

> Hello, when you click on pipe there is an option to pipe current date as superuser is telling above.



!
Hi @jvaccaro12,



I will recommend you to use v3 API



https://co1.qualtrics.com/API/v3/distributions



You can find the documentation over here: https://api.qualtrics.com/docs/create-survey-distribution

Leave a Reply