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

Gainsight Employee ⭐️
August 25, 2022

@darkknight Job got completed with the below error , hence the activity data is not updated.

[{"errorCode":"GS_TL_10_0204","message":"Activity identifier key not provided"}]}

Please provide activityId for the key “Gsid” as part of the payload.

 

darkknight
Expert ⭐️
August 25, 2022

@smitha bhanoori why didn’t that error message come through on my side during the test? I shouldn’t have to rely on reaching out to Gainsight to understand why it didn’t go through.
 

Also, I am using the ActivityId, but the documentation isn’t very clear on exact format or JSON config.  Perhaps we can schedule a call to walk through this?

Jeff Kirkpatrick
Gainsight Employee ⭐️
August 25, 2022

@darkknight  Please use the job Id received in the response as the input for for Status API to know the result. In documentation it is already mentioned that we can either use External Id or activity Id. Sure, we can have a call.

darkknight
Expert ⭐️
August 25, 2022

@smitha bhanoori I should clarify, I’m attempting to do this via External Actions (not via custom code), which I have done successfully using other APIs (CTA, Company) and haven’t had this much trouble.  

 

Jeff Kirkpatrick
Expert ⭐️
August 25, 2022

Having similar issues.

Request id:     37bbb4bf-4e02-4cde-8bb7-8dda40ec26af

 

 

Gainsight Employee ⭐️
August 25, 2022

@Wayne Please use the url as “activity/bulk?identifier=externalid” .

Angular braces are mentioned to represent the placeholder.

bradley
Expert ⭐️
August 25, 2022

Maybe a good idea would be to have examples of a URL as it would appear when it is configured?

Assuming these aren’t lingering technical problems with the API, it seems like most of this back and forth could have been avoided with clear end-to-end examples of the whole process (once PUT was enabled that is).

I haven’t worked much with the API, and I can tell you that having that level of technical detail would be useful for me but also having a full example to reverse engineer for troubleshooting is equally helpful even if you’re an API pro, when a new API feature comes out.

Expert ⭐️
August 25, 2022

Still erroring out,

 

Request id: d17667a0-fa9f-48c2-a10e-10c61db289fa

Gainsight Employee ⭐️
August 26, 2022

@Wayne We are not observing this request from our end. Can you please share more details on the issue.

Expert ⭐️
August 26, 2022

Hey @smitha bhanoori I figured out that issue.

 

It was because I am trying to send a date time. I defined the format my data is in, yyyy-MM-dd'T'HH:mm:ssZ. However, Timeline APIT is still expecting it in, yyyy-MM-dd'T'HH:mm:ss.SSSZ

 

 

 

I’ve built a workaround for this. Now I am to the point where we have the same timeline type name across multiple relationship types and I need to define the type name id instead of type name and have no way to do this en masse.