documentation.consoltec.ca

⚙ > Administration > Webhooks

#Article-1834190571

 

 

Webhooks allow you to connect to specific FlowFit events such as project or task changes made. To edit or create webhooks:

  1. Click on the Add or Edit button

  2. Define your custom endpoint URL

  3. Define the entity (Project, Task, etc.)

  4. Define the event (Upon project creation, upon task update, etc.)

  5. Define the method (Post, Get)

  6. Define fields to get (Deadline, Assigned resource, etc.)

 

Note:
The FlowFit API documentation is available here : https://demo.flowfitservices.com/flowFitPublicApi/swagger/index.html#!/Authentication/AuthenticateUser

⚙ > Administration > Webhooks > Default Project Events

On project creation: http://localhost/FlowFit.Public.Api.Tester/Project/CallBackCreate

Event called after saving a new project in the database, uses the standard factory, and sends the registered properties to the event.

 

On project update: http://localhost/FlowFit.Public.Api.Tester/Project/CallBackEdit

Event called after updating a project, if the update does not involve any of the events below. For example, when updating the status of the project, this method will not be called, the method called will be the specific (On project change status).

 

On project deletion: http://localhost/FlowFit.Public.Api.Tester/Project/CallBackDelete

Event called when a project is deleted from the database.

 

On project status change: http://localhost/FlowFit.Public.Api.Tester/Project/CallBackChangeStatus

Event called when the status of a project is changed.

 

On project work type change: http://localhost/FlowFit.Public.Api.Tester/Project/CallBackWorkType

Event called when the project work type is changed.

 

On project deadline change: http://localhost/FlowFit.Public.Api.Tester/Project/CallBackDeadline

Event called when the project's Deadline is changed or assigned. This event checks both deadline fields Deadline, RequestedDeadline and NegociatedDeadline.

 

On project document ready to deliver: http://localhost/FlowFit.Public.Api.Tester/Project/CallBackProjectDocumentReadyToDelivery

This is the only event that is not triggered centrally in the context of the database, because if the delivery of the document was scheduled via webhook, the call is made within the TSYSDelivery factory, because the task cannot be marked as delivered.

⚙ > Administration > Webhooks > Default Tasks Events

On task creation: http://localhost/FlowFit.Public.Api.Tester/Task/CallBackCreate

Event called after saving a new task in the database, uses the standard factory, and sends the registered properties to the event.

 

On task update: http://localhost/FlowFit.Public.Api.Tester/Task/CallBackEdit

Event called after updating a task, if the update does not involve any of the events below. For example, when updating the status of the task, this method will not be called, the method called will be the specific (On task change status).

 

On task deletion: http://localhost/FlowFit.Public.Api.Tester/Task/CallBackDelete

Event called when a task is deleted from the database.

 

On task status change: http://localhost/FlowFit.Public.Api.Tester/Task/CallBackChangeStatus

Event called when the status of a task is changed. 

 

On task assignment: http://localhost/FlowFit.Public.Api.Tester/Task/CallBackChangeResource

Event called when a task is assigned to a resource.

 

On task deadline change: http://localhost/FlowFit.Public.Api.Tester/Task/CallBackDeadline

Event called when a deadline is changed or assigned to a task.

 

On task deadline or resource assignment change: http://localhost/FlowFit.Public.Api.Tester/Task/CallBackChangeResourceAndDeadline

Event called when a deadline or a resource change.

 

On task ready to deliver: http://localhost/FlowFit.Public.Api.Tester/Task/CallBackTaskDeliveryReady

Event called when a final document is added to a task (DocumentPath), the task status is Complete, and the task is deliverable, or when the task already has a final document (DocumentPath), the task is deliverable, and the status is changed to Complete.

 

⚙ > Administration > Webhooks - FlowFit User Documentation - Confluence (atlassian.net)

documentation.consoltec.ca