API SendDate piped text for date and time of survey completion (current date/time) | XM Community
Solved

API SendDate piped text for date and time of survey completion (current date/time)

  • 13 September 2018
  • 4 replies
  • 116 views

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.
icon

Best answer by Anonymous 13 September 2018, 23:17

View original

4 replies

Hello @jvaccaro12 ,

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

!
Userlevel 7
Badge +20
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