[Webhook] Document Status Change
This webhook allows the rental company to listen to status change of any document that they have uploaded against a vehicle.
More details about webhooks can be found here.
¶ Resource
To be defined by the rental company. This also needs to be registered in developer dashboard.
¶ HTTP Method
POST
¶ Access Method
None. Auth process defined here.
¶ Request Header Parameters
Defined here
¶ Request Query/Body Parameters
Name | Type | Description |
---|---|---|
event_id |
string | Unique event identifier, which can be used to ensure that events are only digested once. This is a Uber generated UUID. |
event_time |
long | Unix timestamp of the time the event occurred. |
event_type |
string | The type of event that occurred. |
meta |
object | The object containing additional information that is specific to the event_type. |
¶ Request Query/Body Parameters - Meta
Name | Type | Description |
---|---|---|
resource_id |
string | Unique identifier of the resource this event has been generated for. In this case, it’s vehicle_id. |
¶ Example
{
"event_id":"44761ec2-dea9-44b3-8eda-ccf22befaa35",
"event_time":1520394983,
"event_type":"VEHICLE_DOCUMENT_STATUS_UPDATED",
"meta":{
"resource_id":"vehicle_id"
}
}