{ "opencollection": "1.0.0", "info": { "name": "OpenAPI definition", "version": "v0" }, "items": [ { "info": { "name": "availability-probes-controller", "type": "folder" }, "items": [ { "info": { "name": "liveness", "type": "http" }, "http": { "method": "GET", "url": "https://apis.egencia.com/openconnect/api/base/liveness" } }, { "info": { "name": "readiness", "type": "http" }, "http": { "method": "GET", "url": "https://apis.egencia.com/openconnect/api/base/readiness" } } ] }, { "info": { "name": "version-controller", "type": "folder" }, "items": [ { "info": { "name": "version", "type": "http" }, "http": { "method": "GET", "url": "https://apis.egencia.com/openconnect/api/base/version" } }, { "info": { "name": "version_1", "type": "http" }, "http": { "method": "POST", "url": "https://apis.egencia.com/openconnect/api/base/version" } }, { "info": { "name": "version_2", "type": "http" }, "http": { "method": "PUT", "url": "https://apis.egencia.com/openconnect/api/base/version" } }, { "info": { "name": "version_4", "type": "http" }, "http": { "method": "PATCH", "url": "https://apis.egencia.com/openconnect/api/base/version" } }, { "info": { "name": "version_3", "type": "http" }, "http": { "method": "DELETE", "url": "https://apis.egencia.com/openconnect/api/base/version" } }, { "info": { "name": "version_5", "type": "http" }, "http": { "method": "HEAD", "url": "https://apis.egencia.com/openconnect/api/base/version" } }, { "info": { "name": "version_6", "type": "http" }, "http": { "method": "OPTIONS", "url": "https://apis.egencia.com/openconnect/api/base/version" } } ] }, { "info": { "name": "gdpr-controller", "type": "folder" }, "items": [ { "info": { "name": "validate", "type": "http" }, "http": { "method": "GET", "url": "https://apis.egencia.com/openconnect/api/gdpr", "params": [ { "name": "user_id", "value": "", "type": "query" } ] } }, { "info": { "name": "process", "type": "http" }, "http": { "method": "DELETE", "url": "https://apis.egencia.com/openconnect/api/gdpr", "params": [ { "name": "user_id", "value": "", "type": "query" } ] } } ] }, { "info": { "name": "scim-v1-admin-users", "type": "folder" }, "items": [ { "info": { "name": "Get all admin users in the system based on status.", "type": "http" }, "http": { "method": "GET", "url": "https://apis.egencia.com/openconnect/api/scim/v1/admin-users", "params": [ { "name": "startIndex", "value": "", "type": "query", "description": "1-based index of the first query result" }, { "name": "count", "value": "", "type": "query", "description": "Maximum number of query results per page" }, { "name": "status", "value": "", "type": "query", "description": "Status of the admin user" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "\n \n
\n
\n
\n
\n \n

\n 1. Create\n

\n \n

\n 1.1. API Details\n

\n <" }, { "info": { "name": "Create a new admin user in the system with the requested information.", "type": "http" }, "http": { "method": "POST", "url": "https://apis.egencia.com/openconnect/api/scim/v1/admin-users", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "\n \n
\n
\n
\n
\n \n

\n 1. Create\n

\n \n

\n 1.1. API Details\n

\n <" }, { "info": { "name": "Return list of admin users based on the filter condition.", "type": "http" }, "http": { "method": "POST", "url": "https://apis.egencia.com/openconnect/api/scim/v1/admin-users/search", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "\n \n \n \n \n \n \n \n \n
\n
\n
\n <" }, { "info": { "name": "Updates an existing user in the system with the requested information.", "type": "http" }, "http": { "method": "PATCH", "url": "https://apis.egencia.com/openconnect/api/scim/v1/admin-users/:userName", "params": [ { "name": "userName", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "

\n 3. Modify [NOT available on lab]\n

\n

\n 3.1. API Details\n

\n
\n \n \n \n
\n M" } ] }, { "info": { "name": "SCIM User Sync V1", "type": "folder" }, "items": [ { "info": { "name": "Create a new user in the system with the requested information.", "type": "http" }, "http": { "method": "POST", "url": "https://apis.egencia.com/openconnect/api/scim/v1/users", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create a new user in the system with the requested information." }, { "info": { "name": "Return list of users based on the filter condition.", "type": "http" }, "http": { "method": "POST", "url": "https://apis.egencia.com/openconnect/api/scim/v1/users/search", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Return list of users based on the filter condition." }, { "info": { "name": "Retrieves the user details for a requested user identifier.", "type": "http" }, "http": { "method": "GET", "url": "https://apis.egencia.com/openconnect/api/scim/v1/users/:userId", "params": [ { "name": "userId", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Retrieves the user details for a requested user identifier." }, { "info": { "name": "Updates an existing user in the system with the requested information.", "type": "http" }, "http": { "method": "PUT", "url": "https://apis.egencia.com/openconnect/api/scim/v1/users/:userId", "params": [ { "name": "userId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Updates an existing user in the system with the requested information." }, { "info": { "name": "Perform patch operation on the user with the given user Id.", "type": "http" }, "http": { "method": "PATCH", "url": "https://apis.egencia.com/openconnect/api/scim/v1/users/:userId", "params": [ { "name": "userId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Perform patch operation on the user with the given user Id." }, { "info": { "name": "Delete the user in the system with the given user Id.", "type": "http" }, "http": { "method": "DELETE", "url": "https://apis.egencia.com/openconnect/api/scim/v1/users/:userId", "params": [ { "name": "userId", "value": "", "type": "path", "description": "User Id of the user who is to be deleted" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "

Delete the user with the given user Id in the path

\n

Examples:

\n

Replace {baseUrl} with the actual value of Egencia APIs host. Please refer Base Urls section under API Overview page of Egencia Developer Center.

\n

Deleting a user with user Id : test_user_id

\n
\n    \n        DELETE {baseUrl}/openconnect/api/scim/v1/users/test_user_id\n        Response:\n            -> 204 No Content\n   \n
" } ] }, { "info": { "name": "SCIM User Sync V2", "type": "folder" }, "items": [ { "info": { "name": "Return list of users based on the filter condition.", "type": "http" }, "http": { "method": "GET", "url": "https://apis.egencia.com/openconnect/api/scim/v2/Users", "params": [ { "name": "filter", "value": "", "type": "query", "description": "SCIM compliant filter attribute to take query string. If you are using any external tool to make the API call, please make sure to encode the filter value." }, { "name": "startIndex", "value": "", "type": "query", "description": "1-based start index" }, { "name": "count", "value": "", "type": "query", "description": "Number of resources to be returned. Maximum supported value is 100" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "

Search/retrieve users based on the filter string parameter. Please be cautious if you are using organization token, search API will only return users of parent company if company is not provided in the filter criteria.

\n
\n

Results are returned in ascending order of userIds.

\n

Note: We only support search by email, name, userName and singleSignOnId. Since filter attribute contains special characters like square brackets, clients need to encode the filter attribute value.Delete the user with the given user Id in the path

\n

Request Parameters

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n Search/retrieve users based on the filter string parameter. Please be cautious if you are using organization token, search API will return users of all associated companies of parent company's org id if company is not provided in the filter criteria.

\n
\n

Results are returned in ascending order of userIds.

\n

Note: We only support search by email, name, userName and singleSignOnId. Since filter attribute contains special characters like square brackets, clients need to encode t" }, { "info": { "name": "Create a new user in the system with the requested information.", "type": "http" }, "http": { "method": "POST", "url": "https://apis.egencia.com/openconnect/api/scim/v3/Users", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create a new user in the system with the requested information." }, { "info": { "name": "Retrieves the user details for a requested user identifier.", "type": "http" }, "http": { "method": "GET", "url": "https://apis.egencia.com/openconnect/api/scim/v3/Users/:userId", "params": [ { "name": "userId", "value": "", "type": "path", "description": "Id of the user to be retrieved" }, { "name": "attributes", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Retrieves the user details for a requested user identifier." }, { "info": { "name": "Updates an existing user in the system with the requested information.", "type": "http" }, "http": { "method": "PUT", "url": "https://apis.egencia.com/openconnect/api/scim/v3/Users/:userId", "params": [ { "name": "userId", "value": "", "type": "path", "description": "Id of the user to be updated" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Updates an existing user in the system with the requested information." }, { "info": { "name": "Perform patch operation on the user with the given user Id.", "type": "http" }, "http": { "method": "PATCH", "url": "https://apis.egencia.com/openconnect/api/scim/v3/Users/:userId", "params": [ { "name": "userId", "value": "", "type": "path", "description": "Id of the user to be updated" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Perform patch operation on the user with the given user Id." }, { "info": { "name": "Delete the user in the system with the given user Id.", "type": "http" }, "http": { "method": "DELETE", "url": "https://apis.egencia.com/openconnect/api/scim/v3/Users/:userId", "params": [ { "name": "userId", "value": "", "type": "path", "description": "User Id of the user to be deleted" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "

Delete the user with the given user Id in the path

\n

Request Parameters

\n
\n
\n Attribute\n \n Type\n \n Description\n
userIdStringUser Id of the user to be deleted
\n \n \n \n \n \n \n \n \n \n \n \n \n Search booking details request based on specific criteria like metadossierid etc

\n

Request Parameters

\n
\n
\n Attribute\n \n Type\n \n Description\n
userIdStringUser Id of the user to be deleted
\n \n \n \n \n \n \n \n \n \n \n
\n Attribute\n \n Type\n \n Description\n
metadata
metadossier_i" }, { "info": { "name": "createBooking", "type": "http" }, "http": { "method": "POST", "url": "https://apis.egencia.com/openconnect/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}}" } } } }, { "info": { "name": "Retrieve trip details for a particular booking based on booking ID", "type": "http" }, "http": { "method": "GET", "url": "https://apis.egencia.com/openconnect/api/v1/bookings/:bookingId", "params": [ { "name": "bookingId", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "

Creates a Retrieve Booking details request for a specific Booking Id

\n
\n

The response contains booking level as well as item level action links to approve/deny the booking request. The approve/deny action links will be coming in the response when approval status is PENDING and booking status is BOOKED.

\n
\n

Request Parameters

\n
\n \n \n \n \n
\n Attribute\n \n Typ" }, { "info": { "name": "Approve the complete booking based on booking ID", "type": "http" }, "http": { "method": "POST", "url": "https://apis.egencia.com/openconnect/api/v1/bookings/:bookingId/approve", "params": [ { "name": "bookingId", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "

Creates an Approval request (Action: Approve) for a specific booking Id

\n

Request Parameters

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n " }, { "info": { "name": "Cancel trip for a particular booking ID", "type": "http" }, "http": { "method": "POST", "url": "https://apis.egencia.com/openconnect/api/v1/bookings/:bookingId/cancel", "params": [ { "name": "bookingId", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "

Creates a cancel request for a specific booking Id

\n

Request Parameters

\n
\n
\n Attribute\n \n Type\n \n Description\n
metadata
bookingId
\n \n \n \n \n \n \n \n \n \n \n \n \n" }, { "info": { "name": "Delete trip items for a particular booking ID", "type": "http" }, "http": { "method": "POST", "url": "https://apis.egencia.com/openconnect/api/v1/bookings/:bookingId/delete", "params": [ { "name": "bookingId", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "

Creates a delete request for a specific booking Id

\n

Request Parameters

\n
\n
\n Attribute\n \n Type\n \n Description\n
metadata
bookingIdString
\n \n \n \n \n \n \n \n \n \n \n \n \n" }, { "info": { "name": "Deny the complete booking based on booking ID", "type": "http" }, "http": { "method": "POST", "url": "https://apis.egencia.com/openconnect/api/v1/bookings/:bookingId/deny", "params": [ { "name": "bookingId", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "

Creates a Deny request (Action: Deny) for a booking

\n

Request Parameters

\n
\n
\n Attribute\n \n Type\n \n Description\n
metadata
bookingIdString
\n \n \n \n \n \n \n \n \n \n \n \n " }, { "info": { "name": "Retrieve booking item details for a particular item based on booking item Id", "type": "http" }, "http": { "method": "GET", "url": "https://apis.egencia.com/openconnect/api/v1/bookings/:bookingId/items/:itemId", "params": [ { "name": "bookingId", "value": "", "type": "path" }, { "name": "itemId", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "

Creates a Retrieve Booking Item details request for specific Booking Item Id

\n
\n

The response contains item level action links to approve/deny the booking item. The approve/deny action links will be coming in the response when approval status is PENDING and booking status is BOOKED. The cancel action link will come when booking status is not CANCELLED.

\n
\n

Request Parameters

\n
\n
\n Attribute\n \n Type\n \n Description\n
metadata
bookingIdString
\n \n \n
\n Attribute\n " }, { "info": { "name": "Approve a particular booking item based on booking ID and item ID", "type": "http" }, "http": { "method": "POST", "url": "https://apis.egencia.com/openconnect/api/v1/bookings/:bookingId/items/:itemId/approve", "params": [ { "name": "bookingId", "value": "2000-2587-907", "type": "path", "description": "Booking ID of the trip containing the item to approve" }, { "name": "itemId", "value": "5f964c44e7b72600017fc8bb", "type": "path", "description": "ID of the booking item to approve" }, { "name": "level", "value": "ONE", "type": "query", "description": "Targets a specific hierarchical approver level or security level. If not provided, the first approver is used." } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "

Creates an Approval request (Action: Approve) for specific item Id.

\n

Request Parameters

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n " }, { "info": { "name": "Cancel booking item for a particular booking", "type": "http" }, "http": { "method": "POST", "url": "https://apis.egencia.com/openconnect/api/v1/bookings/:bookingId/items/:itemId/cancel", "params": [ { "name": "bookingId", "value": "", "type": "path" }, { "name": "itemId", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "

Creates a cancel request to cancel a particular booking item present in the booking.

\n

Request Parameters

\n
\n
\n Attribute\n \n Type\n \n Description\n
metadata
bookingId
\n \n \n \n \n \n \n \n \n \n \n
\n Attribute\n \n Type\n \n Description\n
metadata
bookingId" }, { "info": { "name": "Delete trip item for a particular booking ID", "type": "http" }, "http": { "method": "POST", "url": "https://apis.egencia.com/openconnect/api/v1/bookings/:bookingId/items/:itemId/delete", "params": [ { "name": "bookingId", "value": "", "type": "path" }, { "name": "itemId", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "

Creates a delete request to delete a particular trip item present in the booking.

\n

Request Parameters

\n
\n \n \n \n \n \n \n \n \n \n \n \n
\n Attribute\n \n Type\n \n Description\n
metadata
bookingIdCreates a Deny request (Action: Deny) for specific item Id.

\n

Request Parameters

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n Attribute\n \n Type\n \n Description\n
metadata
bookingIdStr" }, { "info": { "name": "Fetch receipt for a booking item", "type": "http" }, "http": { "method": "GET", "url": "https://apis.egencia.com/openconnect/api/v1/bookings/:bookingId/items/:itemId/receipts", "params": [ { "name": "bookingId", "value": "", "type": "path" }, { "name": "itemId", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "

Fetch receipt for a booking item

\n

Request Parameters

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n Attribute\n \n Type\n \n Description\n
bookingIdStringId corresponding to the trips summary for which you want to fetch " } ] }, { "info": { "name": "Custom Data Fields (CDF)", "type": "folder" }, "items": [ { "info": { "name": "Fetch all CDF definitions for a company or corresponding to a CDF name", "type": "http" }, "http": { "method": "GET", "url": "https://apis.egencia.com/openconnect/api/v1/companies/:companyId/cdfs", "params": [ { "name": "companyId", "value": "", "type": "path" }, { "name": "name", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "

Request Parameters

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n Attribute\n \n Type\n \n Description\n
metadata
companyIdIntegerId of the company for whic" }, { "info": { "name": "Fetch all CDF values for a company and a CDF definition or corresponding to a CDF value", "type": "http" }, "http": { "method": "GET", "url": "https://apis.egencia.com/openconnect/api/v1/companies/:companyId/cdfs/:definitionId/values", "params": [ { "name": "companyId", "value": "", "type": "path" }, { "name": "definitionId", "value": "", "type": "path" }, { "name": "value", "value": "", "type": "query" }, { "name": "count", "value": "", "type": "query" }, { "name": "start", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "

Request Parameters

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n " }, { "info": { "name": "Create a new CDF value for a CDF of field type List", "type": "http" }, "http": { "method": "POST", "url": "https://apis.egencia.com/openconnect/api/v1/companies/:companyId/cdfs/:definitionId/values", "params": [ { "name": "companyId", "value": "", "type": "path" }, { "name": "definitionId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "

Request Parameters

\n
\n
\n Attribute\n \n Type\n \n Description\n
metadata
companyIdIntegerId of the company
\n \n \n \n \n \n \n \n \n \n \n \n \n \n " }, { "info": { "name": "Fetch all linked CDF values", "type": "http" }, "http": { "method": "GET", "url": "https://apis.egencia.com/openconnect/api/v1/companies/:companyId/cdfs/:definitionId/values/:valueId", "params": [ { "name": "companyId", "value": "", "type": "path" }, { "name": "definitionId", "value": "", "type": "path" }, { "name": "valueId", "value": "", "type": "path" }, { "name": "start", "value": "", "type": "query" }, { "name": "count", "value": "", "type": "query" }, { "name": "include_links", "value": "", "type": "query" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "

Request Parameters

\n
\n
\n Attribute\n \n Type\n \n Description\n
metadata
companyIdIntegerId of the company
\n \n \n \n \n \n \n \n \n " }, { "info": { "name": "Update a CDF value for a CDF of field type List", "type": "http" }, "http": { "method": "PUT", "url": "https://apis.egencia.com/openconnect/api/v1/companies/:companyId/cdfs/:definitionId/values/:valueId", "params": [ { "name": "companyId", "value": "", "type": "path" }, { "name": "definitionId", "value": "", "type": "path" }, { "name": "valueId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "

Request Parameters

\n
\n
\n Attribute\n \n Type\n \n Description\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n " }, { "info": { "name": "Delete a CDF value for a CDF of field type List", "type": "http" }, "http": { "method": "DELETE", "url": "https://apis.egencia.com/openconnect/api/v1/companies/:companyId/cdfs/:definitionId/values/:valueId", "params": [ { "name": "companyId", "value": "", "type": "path" }, { "name": "definitionId", "value": "", "type": "path" }, { "name": "valueId", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "

Request Parameters

\n
\n
\n Attribute\n \n Type\n \n Description\n
metadata
companyIdIntegerId of the company
\n \n \n \n \n \n \n \n \n \n \n \n \n \n " }, { "info": { "name": "Update CDF Value by adding or removing child/parent links. This endpoint is available for CC1/CC2 linking for offices in EU/APAC.", "type": "http" }, "http": { "method": "PATCH", "url": "https://apis.egencia.com/openconnect/api/v1/companies/:companyId/cdfs/:definitionId/values/:valueId/link", "params": [ { "name": "companyId", "value": "", "type": "path" }, { "name": "definitionId", "value": "", "type": "path" }, { "name": "valueId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "

Request Parameters

\n
\n
\n Attribute\n \n Type\n \n Description\n
metadata
companyIdIntegerId of the company
\n \n \n \n \n \n \n \n \n \n \n \n \n \n " } ] }, { "info": { "name": "receipts", "type": "folder" }, "items": [ { "info": { "name": "Fetch receipt for a booking item", "type": "http" }, "http": { "method": "GET", "url": "https://apis.egencia.com/openconnect/api/v1/receipts/:itemId", "params": [ { "name": "itemId", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "

Fetch receipt for a booking item

\n

Request Parameters

\n
\n
\n Attribute\n \n Type\n \n Description\n
metadata
companyIdIntegerId of the company
\n \n \n \n \n \n \n \n \n \n \n \n
\n Attribute\n \n Type\n \n Description\n
bookingIdStringId corresponding to the trips summary for which you want to fetch " } ] }, { "info": { "name": "resolve-controller", "type": "folder" }, "items": [ { "info": { "name": "getResolveInfo", "type": "http" }, "http": { "method": "GET", "url": "https://apis.egencia.com/openconnect/api/v1/resolve", "params": [ { "name": "request", "value": "", "type": "query" } ] } } ] }, { "info": { "name": "schemas-controller", "type": "folder" }, "items": [ { "info": { "name": "getSchemas", "type": "http" }, "http": { "method": "GET", "url": "https://apis.egencia.com/openconnect/api/v2/Schemas" } }, { "info": { "name": "getSchemaById", "type": "http" }, "http": { "method": "GET", "url": "https://apis.egencia.com/openconnect/api/v2/Schemas/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] } } ] }, { "info": { "name": "bookings v2", "type": "folder" }, "items": [ { "info": { "name": "Fetch all receipts for a booking item as a zip file", "type": "http" }, "http": { "method": "GET", "url": "https://apis.egencia.com/openconnect/api/v2/bookings/:bookingId/items/:itemId/receipts", "params": [ { "name": "bookingId", "value": "", "type": "path", "description": "Booking id" }, { "name": "itemId", "value": "", "type": "path", "description": "Trip item id" }, { "name": "locale", "value": "", "type": "query", "description": "Locale" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "

Fetch all receipts for a booking item as a zip file

\n

Request Parameters

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n Attribute\n \n Type\n \n Description\n
bookingIdStringId corresponding to the trips summary for which" }, { "info": { "name": "Fetch receipt for a booking item by receipt id", "type": "http" }, "http": { "method": "GET", "url": "https://apis.egencia.com/openconnect/api/v2/bookings/:bookingId/items/:itemId/receipts/:receiptId", "params": [ { "name": "bookingId", "value": "", "type": "path", "description": "Booking id" }, { "name": "itemId", "value": "", "type": "path", "description": "Trip item id" }, { "name": "receiptId", "value": "", "type": "path", "description": "Receipt id" }, { "name": "locale", "value": "", "type": "query", "description": "Locale" }, { "name": "traveler_id", "value": "", "type": "query", "description": "Id of the traveler to whom invoice/receipt is issued" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://apis.egencia.com/auth/v1/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "

Fetch receipt for a booking item by receipt id

\n

Request Parameters

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n Attribute\n \n Type\n \n Description\n
bookingIdStringId corresponding to the trips summary for which you " } ] } ], "bundled": true }