The CreatorCon Call for Content is officially open! Get started here.

REST API - Work Notes has not value

Randy33
Tera Guru

I am having issues getting the value for work notes or comments.  I have tried multiple variables (work_notes, work_notes.getActivityJournal(1), etc.).

 

Randy33_0-1700053280083.png

 

Randy33_2-1700053314443.png

What variables should I uses to get these values?

 

 

3 REPLIES 3

Jaspal Singh
Mega Patron
Mega Patron

Hi Randy,

Try using incGR.work_notes.getJournalEntry(1) instead.

I have updated the code however I'm getting a message that the payload is not valid JSON.

 

Randy33_0-1700065527055.png

Randy33_1-1700065625989.png

 

 

{
"short_description":"${sd}",
"description":"${desc}",
"contact_type":"${ctype}",
"work_notes":"${notes}",
"comments":"${comments}"
}

 

 

I have updated the code however I'm getting a message that the payload is not valid JSON.

 

Randy33_0-1700091297411.png

 

Randy33_1-1700091297644.png

 

 

 

{
"short_description":"${sd}",
"description":"${desc}",
"contact_type":"${ctype}",
"work_notes":"${notes}",
"comments":"${comments}"
}