Skip to main content
Sania Ahmed
Helper ⭐️
August 8, 2022

Timeline API Article is Now Available!

  • August 8, 2022
  • 34 replies
  • 761 views

The Timeline API article is now available on our support site.

With this document, we have simplified and revised the structure of the API document to align it to the industry standards and improve readability. We plan to update the existing documents in this format to maintain consistency.

Your feedback is valuable to us. We are open to any suggestions that you may have.
Please reach out to me (@Sania Ahmed) if you have any queries/suggestions.

Community Ask: https://community.gainsight.com/rules-permissions-15/where-is-the-rest-api-or-other-api-documentation-4527

***Follow this post and/or subscribe to this category to automatically receive updates when new content/document/communication is posted.***

FYI @minh_phan @neelam_mukherjee @Divya @Adrian Raposo @Uzma Gani @Sneha Naranje @Bhawya  

 

Thank you!

34 replies

Contributor ⭐️⭐️
August 31, 2022

Hello. My team is having issues with the Read API. They are saying the GET api isnt formatted correctly and the “Read Record JSON” Parameter is missing. Can you please verify if the API is deployed?

Thanks,

Chris

Helper ⭐️⭐️⭐️
September 1, 2022

 

@chris1 The Read API is also a POST method. Can you please try with that and let us know if you are still facing this issue?

Contributor ⭐️⭐️
September 1, 2022

Hi @Bhawya thanks for confirming it is POST. We are still missing the exact name of the parameter. Can you please provide?

Expert ⭐️
September 1, 2022

Do you have a sample call that pushes external attendees via lookup that works?

 

When I push this, 

 

I get a "Sql exception occurred while processing" error. If I remove that ExternalAttendees lookup portion from my call it works fine.

 

I’ve tried  mimicking the exact call in sample documentation with the Person_ID__gr.Name or Email.

 

This too did not work. 

 

I’ve gotten it to work if instead I push GS external attendees like this without the lookup portion, 

 

However, that does not solve the use case that we have.

Gainsight Employee ⭐️
September 2, 2022

@Wayne We need few more details for your usecase to debug. We need to have company lookup as well for “externalAttendees” lookup to work. From your screenshots, it seems like you did not add company lookup in your payload. Please add company lookup before externalAttendee lookup. Meanwhile you can try with below samples. 

In the below sample, “Title” is field present under company person object.

Payload sample: 

Thanks

Gainsight Employee ⭐️
September 2, 2022

@chris1 You need not provide all the attributes provided in the sample request. Please modify the request as per your activity_timeline object. Please try with standard fields like “contextname”, “GsCompanyId” , “AuthorId” under “Select” attribute in payload. And also make sure you provide correct value for “ExternalId”.

Contributor ⭐️⭐️
September 13, 2022

@smitha bhanoori how can I find the value for the ExternalId for a Timeline Activity. I’m not finding it in the UI anywhere.

Gainsight Employee ⭐️
September 14, 2022

@chris1 You can create a report using Report Builder on “Activity Timeline” object to see the external Id.

Contributor ⭐️⭐️
September 14, 2022

@smitha bhanoori is it possible to query all externalid that are associated with a particular company?

Contributor ⭐️⭐️
September 14, 2022

@smitha bhanoori I created the report but External ID is null for all my timeline entries. How are these ids populated?