I am trying to leverage gainsight PX API so that I can POST information about how long a certain process takes (from the backend). So basically, I will have a call in Java that determines the time from method 1 until the app gets to method 2, then save that time somehow to Gainsight (along with other information like which process this was and possibly user information). Is this possible? And how do I achieve this?
Solved
Gainsight PX API save app process time duration
Best answer by angelo
Hi Jeff... yes, you can use the Gainsight PX Public (REST) API to push in offline events.
Use the Custom Event Function call, here for the API call details:
https://aptrinsic.docs.apiary.io/#reference/custom-events/v1eventscustom/create-custom-event
You can include attributes such as the duration, process, etc. The custom event will be associated with a specific UserId that should match a userId that already exists in PX from a previous login so that the custom event will be assigned against.
Use the Custom Event Function call, here for the API call details:
https://aptrinsic.docs.apiary.io/#reference/custom-events/v1eventscustom/create-custom-event
You can include attributes such as the duration, process, etc. The custom event will be associated with a specific UserId that should match a userId that already exists in PX from a previous login so that the custom event will be assigned against.
Sign up
If you ever had a profile with us, there's no need to create another one.
Don't worry if your email address has since changed, or you can't remember your login, just let us know at community@gainsight.com and we'll help you get started from where you left.
Else, please continue with the registration below.
Welcome to the Gainsight Community
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
