APIs & Integrations

Shivasagar
メンバー

Get submissions for a form - Filter

解決
Hi Team,
 
I'm working on Hubspot form submission API. Just I want to know is there any option to filter response by a parameter ('submittedAt'). I mean to filter some time interval, for example, to get submitted data between some time interval like 1547130102576 to 1547129474539.
 
And one more thing I want to know is there any option to get notified once form submitted using Webhook.
 
Example response:
{
  "results": [
    {
      "submittedAt": 1547130102576,
      "values": [
        {
          "name": "email",
          "value": "example@example.com"
        },
        {
          "name": "company",
          "value": "Example Co"
        },
        {
          "name": "phone",
          "value": "123 555 4567"
        }
      ],
      "pageUrl": "https://www.example.com/form"
    },
    {
      "submittedAt": 1547129474539,
      "values": [
        {
          "name": "email",
          "value": "another@example.com"
        },
        {
          "name": "company",
          "value": "Company A"
        },
        {
          "name": "phone",
          "value": "123 123 2356"
        }
      ],
      "pageUrl": null
    },
    {
      "submittedAt": 1547071030851,
      "values": [
        {
          "name": "email",
          "value": "bob@example.com"
        },
        {
          "name": "company",
          "value": "Company Name"
        },
        {
          "name": "phone",
          "value": "123 123 1234"
        }
      ],
      "pageUrl": null
    }
  ],
  "paging": {
    "next": {
      "after": "YmYyZjI4MGYtMjRjZS00NjY2LTkzMWItMzFmNTBhZjhlOGUzXzE1NDcwNjk5Mzg0OTQ",
      "link": "?after=YmYyZjI4MGYtMjRjZS00NjY2LTkzMWItMzFmNTBhZjhlOGUzXzE1NDcwNjk5Mzg0OTQ&limit=4"
    }
  }
}
0 いいね!
1件の承認済みベストアンサー
IsaacTakushi
解決策
HubSpot Employee
HubSpot Employee

Get submissions for a form - Filter

解決

Hi, @Shivasagar.

 

@jackcoldrick responded to your question in this post.

 

Apologies if you encountered trouble with the Community's spam filter. It is particularly sensitive to code blocks posted by newer users.

Isaac Takushi

Associate Certification Manager

元の投稿で解決策を見る

0 いいね!
1件の返信
IsaacTakushi
解決策
HubSpot Employee
HubSpot Employee

Get submissions for a form - Filter

解決

Hi, @Shivasagar.

 

@jackcoldrick responded to your question in this post.

 

Apologies if you encountered trouble with the Community's spam filter. It is particularly sensitive to code blocks posted by newer users.

Isaac Takushi

Associate Certification Manager
0 いいね!