Admission Automatic Routing Objection Created event

This event is triggered only when the pre-employee raises an objection to the transport routing received from the provider.

Notification properties

The notification will be sent with the following properties:

Property

Type

Description

companyId

number

Company ID.

routingId

string

Identifier of the new routing, provided by Gupy in uuid format.

objectionReasonType

string

Available types for opening a objection.

Available types:

  • EXCESSIVE_DISTANCE
  • TRANSPORTATION_RISK
  • INTEGRATION_ISSUE
  • DELAYED_TRANSPORTATION
  • NO_TRANSPORTATION_AVAILABLE
  • OTHER

objectionReasonDescription

string

Detailed description provided by the future employee of the reason for the objection.

Example

{
  "companyName": "ACME",
  "id": "24e99765-8583-4be5-87ae-489c86642964", 
  "event": "admission.automatic-routing-objection",  
  "date": "2019-06-19T23:48:46.952Z", 
  "data": {
    "companyId": 1,
    "routingId": "6b431a36-dc54-4f83-86b6-5cc56d5fde76",
    "objectionReasonType": "NO_TRANSPORTATION_AVAILABLE",
    "objectionReasonDescription": "No transportation available"
  }
}