Deep Links to Schedaero Application

Some resources in Schedaero API may include URIs to a corresponding page in the Schedaero application, often known as a “deep link”. If a deep link is available, it will be returned in the resource’s links collection.


If a user clicks the deep link on a web page, the following will happen:


  • If not already authenticated, the user will be prompted to authenticate with Schedaero

  • If the user has permissions to view the application page, they will be redirected to the application page to view/edit the resource.
Trip Deep Link

Trip resources contain the deep link “schedaero-interactive-edit” in their links collection. The user will be taken to the correct interactive page for the current state of the trip – either Edit Quote for a quoted trip or Overview for a scheduled trip.

Request
GET https://sandbox-schedaero.avinode.com/api/trips/schedaero-trip-123456789
Response
{
    "data": {
        "id": "schedaero-trip-123456789",
        "href": "https://sandbox-schedaero.avinode.com/api/trips/schedaero-trip-123456789",
        "type": "schedaero-trip",
        "links": {
            "schedaero-interactive-edit": {
                "href": "https://sandbox-schedaero.avinode.com/mvc/trip/fromApi/schedaero-trip-123456789"
            }
        }
    },
    "meta": {}
}

Did this page help you?