Graphiql to fetch custom object record id with note created today

SVenkatesan
Contributor

Im trying to fetch custom object "hs_object_id" where note is created for this record today. Im using below graphiql query to get record. But results im getting are irrelevant.

Below query fetching random id's with notes total value as 0.

Expected result is "To fetch custom object hs_object_id where its associated notes are created today"
It would also be helpful if any one share API details to fetch the same 

 

query GetNotesCreatedToday {
CRM {
p_custom_collection {
items {
hs_object_id
associations {
note_collection__custom_to_note(
filter: {hs_timestamp__gte: "2024-07-18T00:00:00.000Z", hs_timestamp__lte: "2024-07-20T00:00:00.000Z"}
) {
total
items {
hs_object_id
hs_timestamp
}
}
}
}
}
}
}

 

 

0 Upvotes
2 Replies 2
Jaycee_Lewis
Thought Leader

Hi, @SVenkatesan 👋 Thanks for your question and for including your details. That is always helpful. I'd like to invite some of our community members to the conversation — hey @Teun @Kevin-C @Bryantworks do you have any tips you can share with @SVenkatesan?

 

Thank you for taking a look! — Jaycee





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




0 Upvotes
SVenkatesan
Contributor

@Bryantworks @Teun @Kevin-C Can you help me with this query

 

0 Upvotes