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

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

  • September 13, 2018
  • 4 replies
  • 173 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.

Best answer by Anonymous

Hello @jvaccaro12 , Use this: `${date://CurrentDate/c}` for current date and time

4 replies

  • Answer
  • September 13, 2018
Hello @jvaccaro12 , Use this: `${date://CurrentDate/c}` for current date and time

Priyanka_jain
Level 2 ●●
Forum|alt.badge.img+1
  • Level 2 ●●
  • September 14, 2018
Hello, when you click on pipe there is an option to pipe current date as superuser is telling above.

NiC
QPN Level 5 ●●●●●
Forum|alt.badge.img+27
  • QPN Level 5 ●●●●●
  • September 14, 2018
> @Priyanka_jain said: > Hello, when you click on pipe there is an option to pipe current date as superuser is telling above. !

MohammedAli_Rajapkar
QPN Level 5 ●●●●●
Forum|alt.badge.img+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