WebHookEventV2
Dados dos envios do WebHook v2
type WebHookEventV2 {
id: Int!
refId: UUID!
type: OriginType!
objectId: String!
webHookV2Id: Int!
webHook: WebHookV2!
companyId: Int!
companyRefId: UUID!
environmentType: EnvironmentType
correlationId: String
executionDate: DateTime!
url: String!
headers: String!
body: String!
success: Boolean!
responseStatusCode: Int!
responseStatusMessage: String
responseHeaders: String!
responseBody: String
responseTime: Long!
retryCount: Int!
manuallyTriggered: Boolean!
status: WebHookEventStatus!
nextRetryAt: DateTime
}
Fields
WebHookEventV2.id ● Int! non-null scalar
Id do objeto da Requisição
WebHookEventV2.refId ● UUID! non-null scalar
Id da Referência
WebHookEventV2.type ● OriginType! non-null enum
Tipo de Evento
WebHookEventV2.objectId ● String! non-null scalar
Id do Objeto
WebHookEventV2.webHookV2Id ● Int! non-null scalar
Id do WebHook
WebHookEventV2.webHook ● WebHookV2! non-null object
WebHook
WebHookEventV2.companyId ● Int! non-null scalar
Empresa associada ao evento
WebHookEventV2.companyRefId ● UUID! non-null scalar
Referência da empresa associada ao evento
WebHookEventV2.environmentType ● EnvironmentType enum
Tipo do ambiente do evento
WebHookEventV2.correlationId ● String scalar
Id de correlação
WebHookEventV2.executionDate ● DateTime! non-null scalar
Data de execução
WebHookEventV2.url ● String! non-null scalar
Endpoint executado
WebHookEventV2.headers ● String! non-null scalar
Cabeçalhos da requisição
WebHookEventV2.body ● String! non-null scalar
Corpo da requisição
WebHookEventV2.success ● Boolean! non-null scalar
Indicador de sucesso da execução do endpoint
WebHookEventV2.responseStatusCode ● Int! non-null scalar
Código retornado pelo endpoint
WebHookEventV2.responseStatusMessage ● String scalar
Mensagem do código retornado pelo endpoint
WebHookEventV2.responseHeaders ● String! non-null scalar
Cabeçalhos da resposta
WebHookEventV2.responseBody ● String scalar
Corpo da resposta
WebHookEventV2.responseTime ● Long! non-null scalar
Tempo de resposta
WebHookEventV2.retryCount ● Int! non-null scalar
Número da tentativa de integração
WebHookEventV2.manuallyTriggered ● Boolean! non-null scalar
Indica se foi acionamento manual
WebHookEventV2.status ● WebHookEventStatus! non-null enum
Status do envio
WebHookEventV2.nextRetryAt ● DateTime scalar
Próxima tentativa agendada
Returned By
webHookEventV2 query
Member Of
BillingWebHookEventsV2CollectionSegment object ● WebHookEventsV2ByObjectCollectionSegment object ● WebHookEventsV2CollectionSegment object ● WebHookV2 object