{ "opencollection": "1.0.0", "info": { "name": "Egencia Company CDF API", "version": "v1.0" }, "items": [ { "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 " } ] } ], "bundled": true }
\n Attribute\n \n Type\n \n Description\n
metadata
companyIdIntegerId of the company