Hướng dẫn AgentFlow

get_webhook_delivery

GET/webhook-subscriptions/{subscription_id}/deliveries/{delivery_id}
AuthorizationBearer <token>

A service principal's credential, or a person's access token, AgentFlow's own or an installed app's. A service principal's effective permissions are its role permissions intersected with the credential's scopes.

In: header

Path Parameters

subscription_id*string

Subscription id

Formatuuid
delivery_id*string

Delivery id

Formatuuid

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/webhook-subscriptions/497f6eca-6276-4993-bfeb-53cbbbba6f08/deliveries/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "attempt_count": 0,  "completed_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z",  "event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7",  "event_type": "string",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "last_attempt_at": "2019-08-24T14:15:22Z",  "next_attempt_at": "2019-08-24T14:15:22Z",  "redelivery_of": "913e147e-723f-4911-a748-616c74426d4b",  "retry_deadline_at": "2019-08-24T14:15:22Z",  "skipped_reason": null,  "status": "pending",  "subscription_id": "aa11a4c2-a467-43db-b413-c4ab0f5cf627",  "window_started_at": "2019-08-24T14:15:22Z",  "attempts": [    {      "attempt_no": 0,      "detail": "string",      "duration_ms": 0,      "outcome": "succeeded",      "started_at": "2019-08-24T14:15:22Z",      "status_code": 0    }  ]}