Forum Discussion
hi iftomkins
not too sure about the exact context
but one thing noticed was your first REST call URL:
.../profiles/name/ideas_terms_accepted/...
and your 2nd REST call to retrieve URL was this:
.../profiles/name/profile.ideas_terms_accepted/...
should it be just .../profiles/ideas_terms_accepted/... (without the "profile.") in the 2nd REST call?
And for the record, while I'm not familiar with the term "signed decimal integer", used by our Lithium contact, it seems that our this field, profile.ideas_terms_accepted_date, accepts the value from datesupport.millisecondsAsString. This seems to work:
<#assign response = restadmin("/users/id/${user.id}/profiles/name/ideas_terms_accepted_date/set?value=" + datesupport.millisecondsAsString)/>
<#assign date_accepted = restadmin("/users/id/${user.id}/profiles/name/ideas_terms_accepted_date").value>
alert('${date_accepted}');
Related Content
- 10 months ago
- 10 months ago
- 10 months ago