LiquidPlanner Classic Forum
Workspace Changes
*Posted on behalf of Jeremy W. Original posting date 2018-04-05.*
When I used the API for workspace changes, it lists the type, the id, who did it, resource_type, when it was done...but it doesn't list the changes. The webhooks do list the change. I'd like to get that delta from the list of workspace changes. Is that possible in a relatively simple fashion?
Also, can you elaborate on each item a bit?
```
{
"change_type": "C",
"created_at": "SOME_ISO8601_TIME",
"resource_type": "Estimate",
"created_by": some_int,
"resource_id": some_int,
"item_id": some_int,
"type": "Change",
"id": some_int
}
```
1. is there a difference between change_type and type?
2. difference between resource_id and item_id?
3. can I use "id" for a lookup to something else and get more info?
4. is "created_by" always a member?
Posted by LiquidPlanner Support over 3 years ago
Include more information in 'delete' webhooks
*Posted on behalf of Robert. Original posting date 2017-07-12.*
Is it possible for webhook messages to include more than just the ID of deleted items, such as timesheet entries?
We've created a "stateless" integration that gets all the information it needs on the fly from LP and the other product, except for timesheet entry "delete" messages. In those cases, we don't have enough information to find & delete the matching entry in the other product.
We could work around this by maintaining a partial mirror of LP's database, but that is a last resort.
Posted by LiquidPlanner Support over 3 years ago
Webhook setup to engage an API when a project is modified
*Posted on behalf of a customer. Original post 2014-07-05*
I have a webhook setup to engage an API when a project is modified. When I mark it as done, for some reason my JSON object is showing the done value as “False”
'{ "work": 0.0, "alerts": [], "client_id": null, "client_name": null, "created_at": "2014-07-14T11:25:56-05:00", "created_by": 377107, "custom_field_values": { "Product": "Systems Integration" }, "done_on": "2014-07-15", "started_on": "2014-07-14", "delay_until": null, "parent_delay_until": null, "description": "", "earliest_finish": null, "earliest_start": null, "expected_finish": null, "expected_start": null, "p98_finish": null, "global_priority": [ 1, 2307 ], "has_note": false, "high_effort_remaining": 0.0, "is_done": true, "is_on_hold": false, "latest_finish": null, "low_effort_remaining": 0.0, "manual_alert": "", "max_effort": null, "contract_value": null, "name": "ZDIntegrationTest", "owner_id": 275414, "parent_id": 7918694, "parent_ids": [ 7918694 ], "parent_crumbs": [], "promise_by": null, "parent_promise_by": null, "external_reference": null, "updated_at": "2014-07-15T16:59:07-05:00", "updated_by": 275414, "type": "Project", "id": 16094875, "change_type": "update", "changes": { "is_done": false } }'
I had this working at one point, and now it’s not working anymore. Is there something that I need to look at? I combed the API documentation and I think I’m doing everything correctly, but I’m not sure.
Posted by LiquidPlanner Support over 3 years ago
Help with change triggering a webhook
*Posted on behalf of Christian G. Warden. Original post 2014-07-15*
I'm experimenting with webhooks, and I'm trying to trigger an action
when a custom field changes on a task. The change is triggering the
webhook, and I'm getting the new value in the "custom_field_values"
attribute of the JSON that's POSTed, but the "changes" attribute
contains an empty object.
I also noticed that logging time against a task triggered the webhook
with the new "work" value, but the "changes" object was empty in this
case too.
Is this the expected behavior?
Posted by LiquidPlanner Support over 3 years ago
Issue with SSL
*Posted on behalf of Justin D. Givens. Original posting date 2016-02-25.*
I'm getting this error for our webhooks:
Could not open SSL connection to ```https://example.com/task```
Our server is up to PCI compliance, so I wondering if you are all are using an older TLS/SSL connection? What are you all using to connect SSL with?
Posted by LiquidPlanner Support over 3 years ago
Webhook authentication & verification of source
*Posted on behalf of Alex Willisson. Original posting date 2015-05-05.*
I'm building a system where a webhook phones home to a CGI script on my server, which does some more complicated work. In the script, I need to verify that the POST request is from a LP webhook and not someone masquerading as one. Is there anything in what a webhook sends to my server that can let me verify that it is actually an official LiquidPlanner webhook, and not someone pretending to be one?
I have all sorts of juicy details about the SSL connection, remote IP, json from webhook, etc. Nothing's standing out to me as a good way to verify who the client is. My fallback plan is to use the webhook as a trigger to check in what the actual state of the LP object is, but I'd prefer to use the webhook itself.
Posted by LiquidPlanner Support over 3 years ago
CRUD webhooks via the API?
*Posted on behalf of a customer. Original posting date 2015-03-13.*
Is it possible to create/update the webhooks via the API? I know I can get a list of webhooks, but say I wanted to enable or disable them, is that possible?
Posted by LiquidPlanner Support over 3 years ago
Webhooks and estimates
*Posted on behalf of a customer. Original posting date 2015-01-15.*
We are looking at the web hook for estimates. When an estimate is created the web hook is fired, but in the post information there is no reference to the tree item the estimate is assigned to? That would be ok for an update but creating a new estimate renders it useless? There is no reference to the estimate in the task entry either?
Posted by LiquidPlanner Support over 3 years ago
Is there a way that I can make sure that webhooks stay on?
*Posted on behalf of Chris. Original posting date 2014-12-11.*
I have a couple of Zapier zaps tied to Liquid Planner that send information to Google Spreadsheets. Is there a way that I can make sure that web hooks stay on? Every time the Google Spreadsheet fails to grant access temporarily (usually a https - read timed out error), the web hooks attempt to push 10 times and then is automatically disabled.
Regards,
Chris
Posted by LiquidPlanner Support over 3 years ago
Recommended Way to Test Webhooks?
*Posted on behalf of Ben Funkhouser. Original posting date 2014-10-31.*
Hi,
My scenario is that I am using Webhooks to point to a custom web app (WCF service) where I then handle the Webhook data.
My problem is that I am not sure how to test updates to my custom web app without creating a test server and then pointing the Webhooks to the test server. I'd rather not go that route because it would require some complicated SSL certificate setup for the network admins at my organization.
I'm wondering if anyone has come up with a good way to test webhook updates? We rely on the webhook data processing system for our workflow throughout the day so it would not be good if that was broken.
Thanks,
Ben
Posted by LiquidPlanner Support almost 4 years ago