Procore.Api.UtilitiesWebhooksDeliveries (procore_sdk v0.3.0)

API calls for all endpoints tagged UtilitiesWebhooksDeliveries.

Summary

Functions

List Webhooks Deliveries Deliveries must be listed within a company and/or project scope.

Functions

Link to this function

rest_v10_webhooks_hooks_hook_id_deliveries_get(connection, procore_company_id, hook_id, company_id, project_id, opts \\ [])

@spec rest_v10_webhooks_hooks_hook_id_deliveries_get(
  Tesla.Env.client(),
  integer(),
  integer(),
  integer(),
  integer(),
  keyword()
) ::
  {:ok,
   Procore.Model.RestV10CompaniesCompanyIdWorkflowPermanentLogsGet401Response.t()}
  | {:ok, [Procore.Model.WebhooksDelivery.t()]}
  | {:error, Tesla.Env.t()}

List Webhooks Deliveries Deliveries must be listed within a company and/or project scope.

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • hook_id (integer()): Webhooks Hook ID
  • company_id (integer()): Unique identifier for the company. You must supply either a company_id or project_id.
  • project_id (integer()): Unique identifier for the project. You must supply either a company_id or project_id.
  • opts (keyword): Optional parameters
    • :page_size (integer()): Number of items to return for a page (default: 100)
    • :page_start (integer()): The last id of the previous page.
    • :"filters[status]" (String.t): Filter on status for "any", "successful", "failing" or "discarded"

Returns

  • {:ok, [%WebhooksDelivery{}, ...]} on success
  • {:error, Tesla.Env.t} on failure