APIs & Integrations

ayrancd
メンバー

Get updates tickets using api

解決

My last post was marked as SPAM I don't know why...

 

I need to get all updated tickets from the same day (like today) with its changes and ID, I see this documentation https://developers.hubspot.com/docs/methods/tickets/get-all-tickets but I don't see a filter to start and end date, can you help me? Tks!

0 いいね!
1件の承認済みベストアンサー
WendyGoh
解決策
HubSpot Employee
HubSpot Employee

Get updates tickets using api

解決

Hi @ayrancd,

 

I believe you're referring to this forum post: https://community.hubspot.com/t5/APIs-Integrations/Get-all-updated-tickets/m-p/293163/highlight/fals... and I've responded to your query there. Let me know if there's any questions on this!

元の投稿で解決策を見る

0 いいね!
2件の返信
ayrancd
メンバー

Get updates tickets using api

解決

To complement:

 

I've tried this URL https://api.hubapi.com/crm-objects/v1/objects/tickets/paged?hapikey=MY_API&crm-objects/v1/objects/ti... and in my hubspot account I only see one ticket however... through the API it brings tons of tickets but not mine.. (just part of the json)...

 

Array
(
    [objects] => Array
        (
            [0] => Array
                (
                    [objectType] => TICKET
                    [portalId] => 5655711
                    [objectId] => 25928946
                    [properties] => Array
                        (
                            [subject] => Array
                                (
                                    [versions] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [name] => subject
                                                    [value] => Tara issue
                                                    [timestamp] => 1556143193490
                                                    [source] => BOT
                                                    [sourceVid] => Array
                                                        (
                                                        )

                                                    [requestId] => a25074a4-b7f7-475c-bc0c-529140f3b1db
                                                )

                                        )

                                    [value] => Tara issue
                                    [timestamp] => 1556143193490
                                    [source] => BOT
                                    [sourceId] => 
                                )

                            [hs_pipeline] => Array
                                (
                                    [versions] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [name] => hs_pipeline
                                                    [value] => 0
                                                    [timestamp] => 1556143193490
                                                    [source] => BOT
                                                    [sourceVid] => Array
                                                        (
                                                        )

                                                    [requestId] => a25074a4-b7f7-475c-bc0c-529140f3b1db
                                                )

                                        )

                                    [value] => 0
                                    [timestamp] => 1556143193490
                                    [source] => BOT
                                    [sourceId] => 
                                )

                            [content] => Array
                                (
                                    [versions] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [name] => content
                                                    [value] => testing out ticket bot on website support pages 
                                                    [timestamp] => 1556143193490
                                                    [source] => BOT
                                                    [sourceVid] => Array
                                                        (
                                                        )

                                                    [requestId] => a25074a4-b7f7-475c-bc0c-529140f3b1db
                                                )

                                        )

                                    [value] => testing out ticket bot on website support pages 
                                    [timestamp] => 1556143193490
                                    [source] => BOT
                                    [sourceId] => 
                                )

                        )

                    [isDeleted] => 
                )

            [1] => Array
                (
                    [objectType] => TICKET
                    [portalId] => 5655711
                    [objectId] => 26006567
                    [properties] => Array
                        (
                            [subject] => Array
                                (
                                    [versions] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [name] => subject
                                                    [value] => Re: 7 Day Closure Notice - SB Nourishment LLC 897215274886/7070031855808
                                                    [timestamp] => 1556284797778
                                                    [sourceId] => CV-IncomingEmail
                                                    [source] => CONVERSATIONS
                                                    [sourceVid] => Array
                                                        (
                                                        )

                                                    [requestId] => 830f4687-82dc-4b6d-8a46-a6edb7b8fa56
                                                )

                                        )

                                    [value] => Re: 7 Day Closure Notice - SB Nourishment LLC 897215274886/7070031855808
                                    [timestamp] => 1556284797778
                                    [source] => CONVERSATIONS
                                    [sourceId] => CV-IncomingEmail
                                )

                            [hs_pipeline] => Array
                                (
                                    [versions] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [name] => hs_pipeline
                                                    [value] => 0
                                                    [timestamp] => 1556284797778
                                                    [sourceId] => CV-IncomingEmail
                                                    [source] => CONVERSATIONS
                                                    [sourceVid] => Array
                                                        (
                                                        )

                                                    [requestId] => 830f4687-82dc-4b6d-8a46-a6edb7b8fa56
                                                )

                                        )

                                    [value] => 0
                                    [timestamp] => 1556284797778
                                    [source] => CONVERSATIONS
                                    [sourceId] => CV-IncomingEmail
                                )

                            [content] => Array
                                (
                                    [versions] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [name] => content
                                                    [value] => Good Morning All & Happy Friday, 
0 いいね!
WendyGoh
解決策
HubSpot Employee
HubSpot Employee

Get updates tickets using api

解決

Hi @ayrancd,

 

I believe you're referring to this forum post: https://community.hubspot.com/t5/APIs-Integrations/Get-all-updated-tickets/m-p/293163/highlight/fals... and I've responded to your query there. Let me know if there's any questions on this!

0 いいね!