APIs & Integrations

RZia
Participant

I am trying to access the hs_timestamp from a task through a GET request

SOLVE

Hi,

 

I am making a custom code action in a workflow. I want to pull the due dates from the associated tasks of a deal.  I successfully made the GET request but only get back info on creation and update dates for the tasks. I want the hs_timestamp. I think I have to add it as a URL parameter but I am not sure on the correct way to do that. I attached a screen shot of the relevant code.

Screen Shot 2022-08-16 at 12.05.27 PM.png

Thanks

0 Upvotes
1 Accepted solution
Teun
Solution
Recognized Expert | Diamond Partner
Recognized Expert | Diamond Partner

I am trying to access the hs_timestamp from a task through a GET request

SOLVE

Hi @RZia ,

 

You are correct, it should look something like this:

'https://api.hubapi.com/crm/v3/objects/tasks/' + task.id + '?properties=hs_timestamp'

or

`https://api.hubapi.com/crm/v3/objects/tasks/${task.id}?properties=hs_timestamp`

 

If you need a second property:

'https://api.hubapi.com/crm/v3/objects/tasks/' + task.id + '?properties=hs_timestamp&properties=second_property'

 



Did my answer solve your issue? Help the community by marking it as the solution.

View solution in original post

0 Upvotes
2 Replies 2
Teun
Solution
Recognized Expert | Diamond Partner
Recognized Expert | Diamond Partner

I am trying to access the hs_timestamp from a task through a GET request

SOLVE

Hi @RZia ,

 

You are correct, it should look something like this:

'https://api.hubapi.com/crm/v3/objects/tasks/' + task.id + '?properties=hs_timestamp'

or

`https://api.hubapi.com/crm/v3/objects/tasks/${task.id}?properties=hs_timestamp`

 

If you need a second property:

'https://api.hubapi.com/crm/v3/objects/tasks/' + task.id + '?properties=hs_timestamp&properties=second_property'

 



Did my answer solve your issue? Help the community by marking it as the solution.
0 Upvotes
RZia
Participant

I am trying to access the hs_timestamp from a task through a GET request

SOLVE

It worked perfectly, thank you!