{ "opencollection": "1.0.0", "info": { "name": "Duty Of Care API", "version": "v1.0" }, "items": [ { "info": { "name": "DutyOfCare Data", "type": "folder" }, "items": [ { "info": { "name": "Create Metadata based on the Search Request", "type": "http" }, "http": { "method": "POST", "url": "https://apis.egencia.com/dutyofcare/api/v1/bookings", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "

In general, the DoC API uses HTTPs POST requests with JSON arguments and JSON responses. This API call allows the client to submit a request for retrieving paginated booking data for a specified search criterion.

\n
\n

Request Parameters:

\n\n \n \n \n \n \n \n \n \n \n \n
FieldTypeRequired/OptionalDescription
\n Sample Request \n
\n    \n
\n GET\n https://apis.egencia.com/dutyofcare/api/v1/bookings/89ef5828-6d9f-4429-ab73-5ee40cf7b4e7\n
\n
\n
\n
\n

Sample Response

\n
\n    \n   {\n    \"record_list\": [\n        {\n            \"record_locator\": \"5f19782e74b12400018f9e7d-169294509\",\n            \"company_id\": 35067,\n            \"trip_id\": \"0600-2564-655\",\n            \"booking_status\": \"CONFIRMED\",\n            \"line_"
        }
      ]
    }
  ],
  "bundled": true
}