openapi: 3.2.0 info: title: OpenAPI definition SCIM V1 Admin Users API version: v0 description: SCIM 2.0 compliant admin-users sync APIs servers: - url: https://apis.egencia.com/openconnect/api description: Generated server url tags: - description: SCIM 2.0 compliant admin-users sync APIs name: scim-v1-admin-users paths: /scim/v1/admin-users: get: description: "\n
\n| \n Method\n | \n\n POST\n | \n
| \n URL\n | \n\n \n {{URL}}/\n \n openconnect-service/scim/v1/admin\n \n \n | \n
{\n \"schemas\": [\n \"urn:ietf:params:scim:schemas:core:2.0:User\",\n \"urn:ietf:params:scim:schemas:extension:egencia:2.0:Admin\"\n ],\n \"name\": {\n \"familyName\": \"Sample\",\n \"givenName\": \"Api\",\n \"middleName\": \"Test\"\n },\n \"emails\": [\n {\n \"type\": \"WORK\",\n \"value\": \"api.sample@egencia.com\",\n \"primary\": true\n }\n ],\n \"urn:ietf:params:scim:schemas:extension:egencia:2.0:Admin\": {\n \"department\": \"ect - contact center\",\n \"partner\": \"Egencia\",\n \"geography\": \"Dubai\",\n \"pointOfSales\": [\n {\n \"pointOfSaleId\": 60006,\n \"role\": \"SITE_RELEASE_ROLE_ADMIN\"\n },\n {\n \"pointOfSaleId\": 60008,\n \"role\": \"SUPER_TIER_III\"\n }\n ]\n }\n }\n | \n Name\n | \n\n Type\n | \n\n Required\n | \n
|---|---|---|
| schemas | \n\n array[String]\n | \n\n Yes\n | \n
| name | \n\n \n Name\n \n | \n\n Yes\n | \n
| \n emails\n | \n\n array[ Email] \n | \n\n Yes\n | \n
| customAttributes | \n\n Admin\n | \n\n Yes\n | \n
| \n Name\n | \n\n Type\n | \n\n Required\n | \n
|---|---|---|
| familyName | \n\n String\n | \n\n Yes\n | \n
| givenName | \n\n String\n | \n\n Yes\n | \n
| \n middleName\n | \n\n String\n | \n\n No\n | \n
| \n Name\n | \n\n Type\n | \n\n Required\n | \n\n Notes\n | \n
|---|---|---|---|
| type | \n\n String\n | \n\n Yes\n | \n\n See Appendix 4 for possible values \n | \n
| value | \n\n String\n | \n\n Yes\n | \n\n \n \n \n | \n
| \n primary\n | \n\n Boolean\n | \n\n No\n | \n\n \n \n \n | \n
| \n Name\n | \n\n Type\n | \n\n Required\n | \n
|---|---|---|
| department | \n\n String\n | \n\n Yes\n | \n
| partner | \n\n String\n | \n\n Yes\n | \n
| \n geography\n | \n\n String\n | \n\n Yes\n | \n
| \n pointOfSales\n | \n\n \n PosAssociation\n \n | \n\n Yes\n | \n
| \n Name\n | \n\n Type\n | \n\n Required\n | \n\n Notes\n | \n
|---|---|---|---|
| pointOfSaleId | \n\n Integer\n | \n\n Yes\n | \n\n \n | \n
| role | \n\n AdminRole\n | \n\n Yes\n | \nSee Appendix 1 for possible values | \n
{\n \"schemas\": [\n \"urn:ietf:params:scim:schemas:extension:egencia:2.0:AdminSearchResponse\",\n \"urn:ietf:params:scim:api:messages:2.0:ListResponse\",\n \"urn:ietf:params:scim:api:messages:2.0:SearchResponse\"\n ],\n \"Resources\": [\n {\n \"name\": {\n \"familyName\": \"adminuser\",\n \"givenName\": \"egencia\"\n },\n \"username\": \"ECTDUBegenciaa34\",\n \"emails\": [\n {\n \"type\": \"WORK\",\n \"value\": \"adminuser@egencia.com\",\n \"primary\": true\n }\n ],\n \"urn:ietf:params:scim:schemas:extension:egencia:2.0:AdminSearchResponse\": {\n \"partner\": \"Egencia\",\n \"department\": \"ect - contact center\",\n \"geography\": \"Dubai\",\n \"pointOfSales\": [\n {\n \"pointOfSaleId\": 60123,\n \"userId\": 6999933,\n \"role\": \"Fulfillment Manager\",\n \"status\": \"ACTIVE\"\n },\n {\n \"pointOfSaleId\": 60084,\n \"userId\": 6999948,\n \"role\": \"Super User\",\n \"status\": \"ACTIVE\"\n },\n {\n \"pointOfSaleId\": 60004,\n \"userId\": 6999808,\n \"role\": \"Fraud Manager\",\n \"status\": \"ACTIVE\"\n },\n {\n \"pointOfSaleId\": 60095,\n \"userId\": 6999819,\n \"role\": \"Travelshops Admin\",\n \"status\": \"ACTIVE\"\n },\n {\n \"pointOfSaleId\": 60006,\n \"userId\": 6999261,\n \"role\": \"Fraud Agent\",\n \"status\": \"INACTIVE\"\n }\n ]\n }\n }\n ]\n }\n | \n Name\n | \n\n Type\n | \n
|---|---|
| schemas | \n\n array[String]\n | \n
| resources | \n\n array[ Resource] \n | \n
| \n Name\n | \n\n Type\n | \n
|---|---|
| name | \n\n Name\n | \n
| userName | \n\n String\n | \n
| emails | \n\n array[ Email] \n | \n
| customAttributes | \n\n \n AdminResponse\n \n | \n
| \n Name\n | \n\n Type\n | \n
|---|---|
| partner | \n\n Name\n | \n
| department | \n\n String\n | \n
| geography | \n\n String\n | \n
| pointOfSales | \n\n \n PosAssociationResponse\n \n | \n
| \n Name\n | \n\n Type\n | \n\n Notes\n | \n
|---|---|---|
| pointOfSaleId | \n\n Integer\n | \n\n \n | \n
| userId | \n\n Integer\n | \n\n \n | \n
| role | \n\n String\n | \n\n \n | \n
| status | \n\n AdminStatus\n | \nSee Appendix 2 for possible values | \n
| 1 | \nFULFILLMENT_STAFF | \n
| 2 | \nFULFILLMENT_MANAGER | \n
| 3 | \nGUEST | \n
| 4 | \nFRAUD_AGENT | \n
| 5 | \nFRAUD_MANAGER | \n
| 6 | \nINTERNAL_USER | \n
| 7 | \nTS_LEAD_AGENT | \n
| 8 | \nTS_CALL_CENTER_MANAGER | \n
| 9 | \nTS_AGENT | \n
| 10 | \nREGIONAL_MANAGER | \n
| 11 | \nSUPER_USER | \n
| 12 | \nTRAVELSHOPS_ADMIN | \n
| 13 | \nMERCHANT_ACCOUNT_HELP_ADMIN | \n
| 14 | \nECT_AGENT | \n
| 15 | \nECT_AGENT_LEAD | \n
| 16 | \nECT_CALL_CENTER_MANAGER | \n
| 17 | \nECT_IMPLEMENTATIONS_STAFF | \n
| 18 | \nECT_SALES_ACCOUNT_MANAGEMENT | \n
| 19 | \nCRUISE_PROMO_MGR | \n
| 20 | \nCHARTER_EXTRANET | \n
| 21 | \nDATA_AND_CONTENT_READ_ONLY_USER | \n
| 22 | \nUBER_ROLE_ADMIN | \n
| 23 | \nFRAUD_ROLE_ADMIN | \n
| 24 | \nFRAUD_INVESTIGATOR | \n
| 25 | \nTRANSPORTATION_ROLE_ADMIN | \n
| 26 | \nAGENCY_OPS_ROLE_ADMIN | \n
| 27 | \nCUSTOMER_SERVICE_REP | \n
| 28 | \nEXCEPTION_REFUNDS | \n
| 29 | \nSME | \n
| 30 | \nTS_ACCOUNTING_REP_CARS | \n
| 31 | \nCCS_AGENT | \n
| 32 | \nCCS_LEAD_AGENT | \n
| 33 | \nSITE_RELEASE_NORTHAM | \n
| 34 | \nSITE_RELEASE_ROLE_ADMIN | \n
| 35 | \nCRUISE_CONTENT_ROLE_ADMIN | \n
| 36 | \nTIER_III | \n
| 37 | \nAGENCY_OPS_HIMS | \n
| 38 | \nCLIENT_SERVICES | \n
| 39 | \nCRUISE_GROUP_LEADER | \n
| 40 | \nLOCAL_AIR_BUSINESS_MANAGER | \n
| 41 | \nECT_REPORTING_ADMINISTRATOR | \n
| 42 | \nCOUPON_CREATOR | \n
| 43 | \nSUPER_TIER_III | \n
| 44 | \nREDEMPTION_LEAD | \n
| 45 | \nSENIOR_INTERNAL_USER | \n
| 46 | \nGLOBAL_ADMIN | \n
| 47 | \nREAD_ONLY_ITINERARY_USER | \n
| 48 | \nTRAVEL_PROMOTIONS | \n
| 1 | \nACTIVE | \n
| 2 | \nINACTIVE | \n
| 1 | \nuserName | \nAt least one of these parameters should be present in the filter query. They can be given individually or simultaneously by combining these parameters by using \"and\" operator. The optional parameters, which are given in the following table can also be combined together with these mandatory parameters. | \n
| 2 | \nname[givenName] | \n|
| 3 | \nname[familyName] | \n|
| 4 | \n
| 1 | \nstatus | \nThis parameter is used to filter out point of sales based on the status. This parameter can only be given along with the mandatory parameters. See AdminStatus for possible values. | \n
| 2 | \nexactMatch | \n\n The possible values for exactMatch parameter are \"true\" and \"false\". The default value for this parameter is \"false\". This parameter can only be passed along with the mandatory parameters. If this parameter not passed in the query or set it as \"false\", then the search response contains resources with their values start with the required parameter. If it is \"true\", then the search response contains resources with exact value. \n | \n
| 1 | \nWORK | \n
| \n Method\n | \n\n POST\n | \n
| \n URL\n | \n\n \n {{URL}}/\n \n openconnect-service/scim/v1/admin\n \n \n | \n
{\n \"schemas\": [\n \"urn:ietf:params:scim:schemas:core:2.0:User\",\n \"urn:ietf:params:scim:schemas:extension:egencia:2.0:Admin\"\n ],\n \"name\": {\n \"familyName\": \"Sample\",\n \"givenName\": \"Api\",\n \"middleName\": \"Test\"\n },\n \"emails\": [\n {\n \"type\": \"WORK\",\n \"value\": \"api.sample@egencia.com\",\n \"primary\": true\n }\n ],\n \"urn:ietf:params:scim:schemas:extension:egencia:2.0:Admin\": {\n \"department\": \"ect - contact center\",\n \"partner\": \"Egencia\",\n \"geography\": \"Dubai\",\n \"pointOfSales\": [\n {\n \"pointOfSaleId\": 60006,\n \"role\": \"SITE_RELEASE_ROLE_ADMIN\"\n },\n {\n \"pointOfSaleId\": 60008,\n \"role\": \"SUPER_TIER_III\"\n }\n ]\n }\n }\n | \n Name\n | \n\n Type\n | \n\n Required\n | \n
|---|---|---|
| schemas | \n\n array[String]\n | \n\n Yes\n | \n
| name | \n\n \n Name\n \n | \n\n Yes\n | \n
| \n emails\n | \n\n array[ Email] \n | \n\n Yes\n | \n
| customAttributes | \n\n Admin\n | \n\n Yes\n | \n
| \n Name\n | \n\n Type\n | \n\n Required\n | \n
|---|---|---|
| familyName | \n\n String\n | \n\n Yes\n | \n
| givenName | \n\n String\n | \n\n Yes\n | \n
| \n middleName\n | \n\n String\n | \n\n No\n | \n
| \n Name\n | \n\n Type\n | \n\n Required\n | \n\n Notes\n | \n
|---|---|---|---|
| type | \n\n String\n | \n\n Yes\n | \n\n See Appendix 4 for possible values \n | \n
| value | \n\n String\n | \n\n Yes\n | \n\n \n \n \n | \n
| \n primary\n | \n\n Boolean\n | \n\n No\n | \n\n \n \n \n | \n
| \n Name\n | \n\n Type\n | \n\n Required\n | \n
|---|---|---|
| department | \n\n String\n | \n\n Yes\n | \n
| partner | \n\n String\n | \n\n Yes\n | \n
| \n geography\n | \n\n String\n | \n\n Yes\n | \n
| \n pointOfSales\n | \n\n \n PosAssociation\n \n | \n\n Yes\n | \n
| \n Name\n | \n\n Type\n | \n\n Required\n | \n\n Notes\n | \n
|---|---|---|---|
| pointOfSaleId | \n\n Integer\n | \n\n Yes\n | \n\n \n | \n
| role | \n\n AdminRole\n | \n\n Yes\n | \nSee Appendix 1 for possible values | \n
{\n \"schemas\": [\n \"urn:ietf:params:scim:schemas:extension:egencia:2.0:AdminSearchResponse\",\n \"urn:ietf:params:scim:api:messages:2.0:ListResponse\",\n \"urn:ietf:params:scim:api:messages:2.0:SearchResponse\"\n ],\n \"Resources\": [\n {\n \"name\": {\n \"familyName\": \"adminuser\",\n \"givenName\": \"egencia\"\n },\n \"username\": \"ECTDUBegenciaa34\",\n \"emails\": [\n {\n \"type\": \"WORK\",\n \"value\": \"adminuser@egencia.com\",\n \"primary\": true\n }\n ],\n \"urn:ietf:params:scim:schemas:extension:egencia:2.0:AdminSearchResponse\": {\n \"partner\": \"Egencia\",\n \"department\": \"ect - contact center\",\n \"geography\": \"Dubai\",\n \"pointOfSales\": [\n {\n \"pointOfSaleId\": 60123,\n \"userId\": 6999933,\n \"role\": \"Fulfillment Manager\",\n \"status\": \"ACTIVE\"\n },\n {\n \"pointOfSaleId\": 60084,\n \"userId\": 6999948,\n \"role\": \"Super User\",\n \"status\": \"ACTIVE\"\n },\n {\n \"pointOfSaleId\": 60004,\n \"userId\": 6999808,\n \"role\": \"Fraud Manager\",\n \"status\": \"ACTIVE\"\n },\n {\n \"pointOfSaleId\": 60095,\n \"userId\": 6999819,\n \"role\": \"Travelshops Admin\",\n \"status\": \"ACTIVE\"\n },\n {\n \"pointOfSaleId\": 60006,\n \"userId\": 6999261,\n \"role\": \"Fraud Agent\",\n \"status\": \"INACTIVE\"\n }\n ]\n }\n }\n ]\n }\n | \n Name\n | \n\n Type\n | \n
|---|---|
| schemas | \n\n array[String]\n | \n
| resources | \n\n array[ Resource] \n | \n
| \n Name\n | \n\n Type\n | \n
|---|---|
| name | \n\n Name\n | \n
| userName | \n\n String\n | \n
| emails | \n\n array[ Email] \n | \n
| customAttributes | \n\n \n AdminResponse\n \n | \n
| \n Name\n | \n\n Type\n | \n
|---|---|
| partner | \n\n Name\n | \n
| department | \n\n String\n | \n
| geography | \n\n String\n | \n
| pointOfSales | \n\n \n PosAssociationResponse\n \n | \n
| \n Name\n | \n\n Type\n | \n\n Notes\n | \n
|---|---|---|
| pointOfSaleId | \n\n Integer\n | \n\n \n | \n
| userId | \n\n Integer\n | \n\n \n | \n
| role | \n\n String\n | \n\n \n | \n
| status | \n\n AdminStatus\n | \nSee Appendix 2 for possible values | \n
| 1 | \nFULFILLMENT_STAFF | \n
| 2 | \nFULFILLMENT_MANAGER | \n
| 3 | \nGUEST | \n
| 4 | \nFRAUD_AGENT | \n
| 5 | \nFRAUD_MANAGER | \n
| 6 | \nINTERNAL_USER | \n
| 7 | \nTS_LEAD_AGENT | \n
| 8 | \nTS_CALL_CENTER_MANAGER | \n
| 9 | \nTS_AGENT | \n
| 10 | \nREGIONAL_MANAGER | \n
| 11 | \nSUPER_USER | \n
| 12 | \nTRAVELSHOPS_ADMIN | \n
| 13 | \nMERCHANT_ACCOUNT_HELP_ADMIN | \n
| 14 | \nECT_AGENT | \n
| 15 | \nECT_AGENT_LEAD | \n
| 16 | \nECT_CALL_CENTER_MANAGER | \n
| 17 | \nECT_IMPLEMENTATIONS_STAFF | \n
| 18 | \nECT_SALES_ACCOUNT_MANAGEMENT | \n
| 19 | \nCRUISE_PROMO_MGR | \n
| 20 | \nCHARTER_EXTRANET | \n
| 21 | \nDATA_AND_CONTENT_READ_ONLY_USER | \n
| 22 | \nUBER_ROLE_ADMIN | \n
| 23 | \nFRAUD_ROLE_ADMIN | \n
| 24 | \nFRAUD_INVESTIGATOR | \n
| 25 | \nTRANSPORTATION_ROLE_ADMIN | \n
| 26 | \nAGENCY_OPS_ROLE_ADMIN | \n
| 27 | \nCUSTOMER_SERVICE_REP | \n
| 28 | \nEXCEPTION_REFUNDS | \n
| 29 | \nSME | \n
| 30 | \nTS_ACCOUNTING_REP_CARS | \n
| 31 | \nCCS_AGENT | \n
| 32 | \nCCS_LEAD_AGENT | \n
| 33 | \nSITE_RELEASE_NORTHAM | \n
| 34 | \nSITE_RELEASE_ROLE_ADMIN | \n
| 35 | \nCRUISE_CONTENT_ROLE_ADMIN | \n
| 36 | \nTIER_III | \n
| 37 | \nAGENCY_OPS_HIMS | \n
| 38 | \nCLIENT_SERVICES | \n
| 39 | \nCRUISE_GROUP_LEADER | \n
| 40 | \nLOCAL_AIR_BUSINESS_MANAGER | \n
| 41 | \nECT_REPORTING_ADMINISTRATOR | \n
| 42 | \nCOUPON_CREATOR | \n
| 43 | \nSUPER_TIER_III | \n
| 44 | \nREDEMPTION_LEAD | \n
| 45 | \nSENIOR_INTERNAL_USER | \n
| 46 | \nGLOBAL_ADMIN | \n
| 47 | \nREAD_ONLY_ITINERARY_USER | \n
| 48 | \nTRAVEL_PROMOTIONS | \n
| 1 | \nACTIVE | \n
| 2 | \nINACTIVE | \n
| 1 | \nuserName | \nAt least one of these parameters should be present in the filter query. They can be given individually or simultaneously by combining these parameters by using \"and\" operator. The optional parameters, which are given in the following table can also be combined together with these mandatory parameters. | \n
| 2 | \nname[givenName] | \n|
| 3 | \nname[familyName] | \n|
| 4 | \n
| 1 | \nstatus | \nThis parameter is used to filter out point of sales based on the status. This parameter can only be given along with the mandatory parameters. See AdminStatus for possible values. | \n
| 2 | \nexactMatch | \n\n The possible values for exactMatch parameter are \"true\" and \"false\". The default value for this parameter is \"false\". This parameter can only be passed along with the mandatory parameters. If this parameter not passed in the query or set it as \"false\", then the search response contains resources with their values start with the required parameter. If it is \"true\", then the search response contains resources with exact value. \n | \n
| 1 | \nWORK | \n
| \n Method\n | \n\n POST\n | \n
| \n URL\n | \n\n \n {{URL}}/\n \n openconnect-service/scim/v1/admin/search\n \n \n | \n
{\n \"schemas\": [\n \"urn:ietf:params:scim:api:messages:2.0:SearchRequest\"\n ],\n \"filter\": \"userName eq \\\\\"ECTCOKadminFirstNamea\\\\\"\"\n }\n {\n \"schemas\": [\n \"urn:ietf:params:scim:api:messages:2.0:SearchRequest\"\n ],\n \"filter\": \"name[givenName eq \\\\\"egencia\\\\\"]\"\n }\n {\n \"schemas\": [\n \"urn:ietf:params:scim:api:messages:2.0:SearchRequest\"\n ],\n \"filter\": \"name[familyName eq \\\\\"adminUser\\\\\"]\"\n }\n {\n \"schemas\": [\n \"urn:ietf:params:scim:api:messages:2.0:SearchRequest\"\n ],\n \"filter\": \"email eq \\\\\"adminUser@egencia.com\\\\\"\"\n }\n {\n \"schemas\": [\n \"urn:ietf:params:scim:api:messages:2.0:SearchRequest\"\n ],\n \"filter\": \"name[givenName eq \\\\\"egencia\\\\\"] and name[familyName eq \\\\\"adminUser\\\\\"]\"\n }\n | \n Input name\n | \n\n Type\n | \n\n Required\n | \n\n Notes\n | \n
|---|---|---|---|
| schemas | \n\n array[String]\n | \n\n Yes\n | \n\n \n | \n
| filter | \n\n String\n | \n\n Yes\n | \nSee Appendix 3 for possible filter values | \n
The following response will be returned back by the application for all the valid requests.
\n{\n \"schemas\": [\n \"urn:ietf:params:scim:schemas:extension:egencia:2.0:AdminSearchResponse\",\n \"urn:ietf:params:scim:api:messages:2.0:ListResponse\",\n \"urn:ietf:params:scim:api:messages:2.0:SearchResponse\"\n ],\n \"Resources\": [\n {\n \"name\": {\n \"familyName\": \"adminuser\",\n \"givenName\": \"egencia\"\n },\n \"username\": \"ECTDUBegenciaa34\",\n \"emails\": [\n {\n \"type\": \"WORK\",\n \"value\": \"adminuser@egencia.com\",\n \"primary\": true\n }\n ],\n \"urn:ietf:params:scim:schemas:extension:egencia:2.0:AdminSearchResponse\": {\n \"partner\": \"Egencia\",\n \"department\": \"ect - contact center\",\n \"geography\": \"Dubai\",\n \"pointOfSales\": [\n {\n \"pointOfSaleId\": 60123,\n \"userId\": 6999933,\n \"role\": \"Fulfillment Manager\",\n \"status\": \"ACTIVE\"\n },\n {\n \"pointOfSaleId\": 60084,\n \"userId\": 6999948,\n \"role\": \"Super User\",\n \"status\": \"ACTIVE\"\n },\n {\n \"pointOfSaleId\": 60004,\n \"userId\": 6999808,\n \"role\": \"Fraud Manager\",\n \"status\": \"ACTIVE\"\n },\n {\n \"pointOfSaleId\": 60095,\n \"userId\": 6999819,\n \"role\": \"Travelshops Admin\",\n \"status\": \"ACTIVE\"\n },\n {\n \"pointOfSaleId\": 60006,\n \"userId\": 6999261,\n \"role\": \"Fraud Agent\",\n \"status\": \"INACTIVE\"\n }\n ]\n }\n }\n ]\n }\n | 1 | \nFULFILLMENT_STAFF | \n
| 2 | \nFULFILLMENT_MANAGER | \n
| 3 | \nGUEST | \n
| 4 | \nFRAUD_AGENT | \n
| 5 | \nFRAUD_MANAGER | \n
| 6 | \nINTERNAL_USER | \n
| 7 | \nTS_LEAD_AGENT | \n
| 8 | \nTS_CALL_CENTER_MANAGER | \n
| 9 | \nTS_AGENT | \n
| 10 | \nREGIONAL_MANAGER | \n
| 11 | \nSUPER_USER | \n
| 12 | \nTRAVELSHOPS_ADMIN | \n
| 13 | \nMERCHANT_ACCOUNT_HELP_ADMIN | \n
| 14 | \nECT_AGENT | \n
| 15 | \nECT_AGENT_LEAD | \n
| 16 | \nECT_CALL_CENTER_MANAGER | \n
| 17 | \nECT_IMPLEMENTATIONS_STAFF | \n
| 18 | \nECT_SALES_ACCOUNT_MANAGEMENT | \n
| 19 | \nCRUISE_PROMO_MGR | \n
| 20 | \nCHARTER_EXTRANET | \n
| 21 | \nDATA_AND_CONTENT_READ_ONLY_USER | \n
| 22 | \nUBER_ROLE_ADMIN | \n
| 23 | \nFRAUD_ROLE_ADMIN | \n
| 24 | \nFRAUD_INVESTIGATOR | \n
| 25 | \nTRANSPORTATION_ROLE_ADMIN | \n
| 26 | \nAGENCY_OPS_ROLE_ADMIN | \n
| 27 | \nCUSTOMER_SERVICE_REP | \n
| 28 | \nEXCEPTION_REFUNDS | \n
| 29 | \nSME | \n
| 30 | \nTS_ACCOUNTING_REP_CARS | \n
| 31 | \nCCS_AGENT | \n
| 32 | \nCCS_LEAD_AGENT | \n
| 33 | \nSITE_RELEASE_NORTHAM | \n
| 34 | \nSITE_RELEASE_ROLE_ADMIN | \n
| 35 | \nCRUISE_CONTENT_ROLE_ADMIN | \n
| 36 | \nTIER_III | \n
| 37 | \nAGENCY_OPS_HIMS | \n
| 38 | \nCLIENT_SERVICES | \n
| 39 | \nCRUISE_GROUP_LEADER | \n
| 40 | \nLOCAL_AIR_BUSINESS_MANAGER | \n
| 41 | \nECT_REPORTING_ADMINISTRATOR | \n
| 42 | \nCOUPON_CREATOR | \n
| 43 | \nSUPER_TIER_III | \n
| 44 | \nREDEMPTION_LEAD | \n
| 45 | \nSENIOR_INTERNAL_USER | \n
| 46 | \nGLOBAL_ADMIN | \n
| 47 | \nREAD_ONLY_ITINERARY_USER | \n
| 48 | \nTRAVEL_PROMOTIONS | \n
| 1 | \nACTIVE | \n
| 2 | \nINACTIVE | \n
| 1 | \nuserName | \nAt least one of these parameters should be present in the filter query. They can be given individually or simultaneously by combining these parameters by using \"and\" operator. The optional parameters, which are given in the following table can also be combined together with these mandatory parameters. | \n
| 2 | \nname[givenName] | \n|
| 3 | \nname[familyName] | \n|
| 4 | \n
| 1 | \nstatus | \nThis parameter is used to filter out point of sales based on the status. This parameter can only be given along with the mandatory parameters. See AdminStatus for possible values. | \n
| 2 | \nexactMatch | \n\n The possible values for exactMatch parameter are \"true\" and \"false\". The default value for this parameter is \"false\". This parameter can only be passed along with the mandatory parameters. If this parameter not passed in the query or set it as \"false\", then the search response contains resources with their values start with the required parameter. If it is \"true\", then the search response contains resources with exact value. \n | \n
| 1 | \nWORK | \n
| \n Method\n | \n\n PATCH\n | \n
| \n URL\n | \n\n \n {{URL}}/\n \n openconnect-service/scim/v1/admin-users/{username}\n \n \n | \n
{\n \"schemas\": [\n \"urn:ietf:params:scim:api:messages:2.0:PatchOp\"\n ],\n \"Operations\": [\n {\n \"op\": \"add\",\n \"path\": \"urn:ietf:params:scim:schemas:extension:egencia:2.0:Admin:pointOfSales\",\n \"value\": [\n {\n \"pointOfSaleId\": 60123,\n \"role\": \"REGIONAL_MANAGER\"\n }\n ]\n }\n ]\n}\n {\n \"schemas\": [\n \"urn:ietf:params:scim:schemas:extension:egencia:2.0:AdminSearchResponse\",\n \"urn:ietf:params:scim:api:messages:2.0:ListResponse\",\n \"urn:ietf:params:scim:api:messages:2.0:SearchResponse\"\n ],\n \"Resources\": [\n {\n \"name\": {\n \"familyName\": \"adminuser\",\n \"givenName\": \"egencia\"\n },\n \"username\": \"ECTDUBegenciaa34\",\n \"emails\": [\n {\n \"type\": \"WORK\",\n \"value\": \"\n\n\t\t\t\t\t\t\t[email protected]\",\n \"primary\": true\n }\n ],\n \"urn:ietf:params:scim:schemas:extension:egencia:2.0:AdminSearchResponse\": {\n \"partner\": \"Egencia\",\n \"department\": \"ect - contact center\",\n \"geography\": \"Dubai\",\n \"pointOfSales\": [\n {\n \"pointOfSaleId\": 60123,\n \"userId\": 6999933,\n \"role\": \"Regional Manager\",\n \"status\": \"ACTIVE\"\n },\n {\n \"pointOfSaleId\": 60084,\n \"userId\": 6999948,\n \"role\": \"Super User\",\n \"status\": \"ACTIVE\"\n },\n {\n \"pointOfSaleId\": 60008,\n \"userId\": 6999808,\n \"role\": \"Fraud Manager\",\n \"status\": \"ACTIVE\"\n }\n ]\n }\n }\n ]\n}\n\n\t\t\t\t\t\t\n {\n \"schemas\": [\n \"urn:ietf:params:scim:api:messages:2.0:PatchOp\"\n ],\n \"Operations\": [\n {\n \"op\": \"remove\",\n \"path\": \"urn:ietf:params:scim:schemas:extension:egencia:2.0:Admin:pointOfSales[pointOfSaleId eq \\\"60008\\\"]\"\n }\n ]\n}\n {\n \"schemas\": [\n \"urn:ietf:params:scim:schemas:extension:egencia:2.0:AdminSearchResponse\",\n \"urn:ietf:params:scim:api:messages:2.0:ListResponse\",\n \"urn:ietf:params:scim:api:messages:2.0:SearchResponse\"\n ],\n \"Resources\": [\n {\n \"name\": {\n \"familyName\": \"adminuser\",\n \"givenName\": \"egencia\"\n },\n \"username\": \"ECTDUBegenciaa34\",\n \"emails\": [\n {\n \"type\": \"WORK\",\n \"value\": \"\n\n\t\t\t\t\t\t\t\t\t\t\t[email protected]\",\n \"primary\": true\n }\n ],\n \"urn:ietf:params:scim:schemas:extension:egencia:2.0:AdminSearchResponse\": {\n \"partner\": \"Egencia\",\n \"department\": \"ect - contact center\",\n \"geography\": \"Dubai\",\n \"pointOfSales\": [\n {\n \"pointOfSaleId\": 60123,\n \"userId\": 6999933,\n \"role\": \"Regional Manager\",\n \"status\": \"ACTIVE\"\n },\n {\n \"pointOfSaleId\": 60084,\n \"userId\": 6999948,\n \"role\": \"Super User\",\n \"status\": \"ACTIVE\"\n }\n ]\n }\n }\n ]\n}\n\n\t\t\t\t\t\t\t\t\t\t\n {\n \"schemas\": [\n \"urn:ietf:params:scim:api:messages:2.0:PatchOp\"\n ],\n \"Operations\": [\n {\n \"op\": \"replace\",\n \"path\": \"urn:ietf:params:scim:schemas:extension:egencia:2.0:Admin:pointOfSales[pointOfSaleId eq \\\"60084\\\"].role\",\n \"value\": \"FULFILLMENT_MANAGER\"\n }\n ]\n}\n {\n \"schemas\": [\n \"urn:ietf:params:scim:schemas:extension:egencia:2.0:AdminSearchResponse\",\n \"urn:ietf:params:scim:api:messages:2.0:ListResponse\",\n \"urn:ietf:params:scim:api:messages:2.0:SearchResponse\"\n ],\n \"Resources\": [\n {\n \"name\": {\n \"familyName\": \"adminuser\",\n \"givenName\": \"egencia\"\n },\n \"username\": \"ECTDUBegenciaa34\",\n \"emails\": [\n {\n \"type\": \"WORK\",\n \"value\": \"\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[email protected]\",\n \"primary\": true\n }\n ],\n \"urn:ietf:params:scim:schemas:extension:egencia:2.0:AdminSearchResponse\": {\n \"partner\": \"Egencia\",\n \"department\": \"ect - contact center\",\n \"geography\": \"Dubai\",\n \"pointOfSales\": [\n {\n \"pointOfSaleId\": 60123,\n \"userId\": 6999933,\n \"role\": \"Regional Manager\",\n \"status\": \"ACTIVE\"\n },\n {\n \"pointOfSaleId\": 60084,\n \"userId\": 6999948,\n \"role\": \"Fulfillment Manager\",\n \"status\": \"ACTIVE\"\n }\n ]\n }\n }\n ]\n}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n {\n \"schemas\": [\n \"urn:ietf:params:scim:api:messages:2.0:PatchOp\"\n ],\n \"Operations\": [\n {\n \"op\": \"replace\",\n \"path\": \"urn:ietf:params:scim:schemas:extension:egencia:2.0:Admin:pointOfSales[pointOfSaleId eq \\\"60123\\\"].status\",\n \"value\": \"INACTIVE\"\n }\n ]\n}\n {\n \"schemas\": [\n \"urn:ietf:params:scim:schemas:extension:egencia:2.0:AdminSearchResponse\",\n \"urn:ietf:params:scim:api:messages:2.0:ListResponse\",\n \"urn:ietf:params:scim:api:messages:2.0:SearchResponse\"\n ],\n \"Resources\": [\n {\n \"name\": {\n \"familyName\": \"adminuser\",\n \"givenName\": \"egencia\"\n },\n \"username\": \"ECTDUBegenciaa34\",\n \"emails\": [\n {\n \"type\": \"WORK\",\n \"value\": \"\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[email protected]\",\n \"primary\": true\n }\n ],\n \"urn:ietf:params:scim:schemas:extension:egencia:2.0:AdminSearchResponse\": {\n \"partner\": \"Egencia\",\n \"department\": \"ect - contact center\",\n \"geography\": \"Dubai\",\n \"pointOfSales\": [\n {\n \"pointOfSaleId\": 60123,\n \"userId\": 6999933,\n \"role\": \"Regional Manager\",\n \"status\": \"INACTIVE\"\n },\n {\n \"pointOfSaleId\": 60084,\n \"userId\": 6999948,\n \"role\": \"Fulfillment Manager\",\n \"status\": \"ACTIVE\"\n }\n ]\n }\n }\n ]\n}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n {\n \"schemas\": [\n \"urn:ietf:params:scim:api:messages:2.0:PatchOp\"\n ],\n \"Operations\": [\n {\n \"op\": \"replace\",\n \"path\": \"urn:ietf:params:scim:schemas:extension:egencia:2.0:Admin:status\",\n \"value\": \"INACTIVE\"\n }\n ]\n}\n {\n \"schemas\": [\n \"urn:ietf:params:scim:schemas:extension:egencia:2.0:AdminSearchResponse\",\n \"urn:ietf:params:scim:api:messages:2.0:ListResponse\",\n \"urn:ietf:params:scim:api:messages:2.0:SearchResponse\"\n ],\n \"Resources\": [\n {\n \"name\": {\n \"familyName\": \"adminuser\",\n \"givenName\": \"egencia\"\n },\n \"username\": \"ECTDUBegenciaa34\",\n \"emails\": [\n {\n \"type\": \"WORK\",\n \"value\": \"\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t[email protected]\",\n \"primary\": true\n }\n ],\n \"urn:ietf:params:scim:schemas:extension:egencia:2.0:AdminSearchResponse\": {\n \"partner\": \"Egencia\",\n \"department\": \"ect - contact center\",\n \"geography\": \"Dubai\",\n \"pointOfSales\": [\n {\n \"pointOfSaleId\": 60123,\n \"userId\": 6999933,\n \"role\": \"Regional Manager\",\n \"status\": \"INACTIVE\"\n },\n {\n \"pointOfSaleId\": 60084,\n \"userId\": 6999948,\n \"role\": \"Fulfillment Manager\",\n \"status\": \"INACTIVE\"\n }\n ]\n }\n }\n ]\n}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n | \n Name\n | \n\n Type\n | \n
|---|---|
| schemas | \n\n array[String]\n | \n
| Operations | \n\n array[ PatchOperationSchema] \n | \n
| \n Name\n | \n\n Type\n | \n\n Required\n | \n\n Notes\n | \n
|---|---|---|---|
| op | \n\n array[String]\n | \n\n Yes\n | \n\n \n \n \n | \n
| path | \n\n \n | \n \n Yes\n | \n\n \n \n \n | \n
| value | \n\n Object | AdminUserRole | PointOfSaleStatus\n \n | \n\n No\n | \n\n Type of the value attribute will always be depending upon the given operation. For example, in case of 'add' operation, value would be an object, for 'replace' operation, it would either be AdminUserRole or PointOfSaleStatus, and for 'remove' operation, it won't even be required. \n | \n
Response modals are already given in 2.3.2. Modals\n
" operationId: patchAdmin parameters: - in: path name: userName required: true schema: type: string requestBody: content: application/scim+json: schema: $ref: '#/components/schemas/ScimPatchSchema' required: true responses: '204': content: application/scim+json: schema: $ref: '#/components/schemas/UserSchema' description: Updated. '400': content: application/scim+json: schema: $ref: '#/components/schemas/UserSchema' description: 'Bad Request : Invalid input or request' '401': content: application/scim+json: schema: $ref: '#/components/schemas/UserSchema' description: 'Unauthorized : Authentication token empty, invalid or expired.' '403': content: application/scim+json: schema: $ref: '#/components/schemas/UserSchema' description: 'Forbidden : User is not authorized to perform this operation.' '422': content: application/scim+json: schema: $ref: '#/components/schemas/UserSchema' description: 'Invalid input : Invalid or missing required input.' '500': content: application/scim+json: schema: $ref: '#/components/schemas/UserSchema' description: 'Internal Server Error : Unable to process request.' '503': content: application/scim+json: schema: $ref: '#/components/schemas/UserSchema' description: 'Service unavailable : Unable to process request at the moment.' security: - OAuth2: [] summary: Updates an existing user in the system with the requested information. tags: - scim-v1-admin-users components: schemas: UserSchema: type: object description: The user resource schema. properties: emails: type: array description: The email addresses associated with the user account. items: $ref: '#/components/schemas/EmailSchema' maxItems: 1 minItems: 1 meta: $ref: '#/components/schemas/MetaSchema' description: The attribute containing the resource metadata. name: $ref: '#/components/schemas/NameSchema' description: The name details of the user like first name, last name, etc. This is a mandatory property. schemas: type: array description: The schema urns for the associated resource. items: type: string uniqueItems: true urn:ietf:params:scim:schemas:extension:egencia:2.0:Admin: $ref: '#/components/schemas/AdminUserSchema' description: Extended custom attributes specific to Egencia travel management system. userName: type: string description: A service provider's unique identifier for the user, typically used by the user to directly authenticate to the service provider. The value must be an email value with valid @ domain. Maximum supported characters is 60. required: - emails - name - schemas - urn:ietf:params:scim:schemas:extension:egencia:2.0:Admin title: User schema PointOfSaleSchema: type: object description: The complex model containing point of sale association. properties: operation: type: string description: The operation for point of sale enum: - REMOVE - ADD - UPDATE - STATUS_CHANGE pointOfSaleId: type: integer format: int64 description: The point of sale id minimum: 1 role: type: string description: The role of the user against POS status: type: string description: The admin user status enum: - ACTIVE - INACTIVE - PENDING - DELETED userId: type: integer format: int64 description: The admin user id required: - pointOfSaleId - role title: Name DataSchema: type: object description: The data schema for representing error details of different attributes properties: attribute: type: string description: The name of the schema-defined attribute, if missing or invalid. message: type: string description: The error message related to the erroneous attribute. required: - attribute - message title: Data schema AdminUserSchema: type: object description: The extended custom attributes specific to Egencia travel management system. properties: department: type: string description: The department of the admin user. maxLength: 40 minLength: 0 geography: type: string description: The geography of the admin user. maxLength: 40 minLength: 0 partner: type: string description: The partner of the admin user. maxLength: 40 minLength: 0 pointOfSales: type: array description: The pointOfSales of the admin user. items: $ref: '#/components/schemas/PointOfSaleSchema' maxItems: 2147483647 minItems: 1 status: type: string description: To update status for all Point Of Sales required: - department - geography - partner - pointOfSales title: Admin user ScimPatchOperationSchema: type: object description: A complex object for scim patch oeration. properties: op: type: string path: type: string value: {} title: ScimPatchOperation SearchRequestSchema: type: object description: The user search schema. Currently it supports only emails with eq operator. properties: filter: type: string description: Contains the expression for filtering the request. Currently only search by email, name and username is supported with eq operator. This filter attribute can be used to collect Egencia ID by searching via email and Egencia website ID example: '"name[givenName eq \"egencia\"] and name[familyName eq \"adminUser\"]"' title: FilterRequest meta: $ref: '#/components/schemas/MetaSchema' description: The attribute containing the resource metadata. schemas: type: array description: The schema urns for the associated resource. items: type: string uniqueItems: true required: - filter - schemas title: User Search schema ScimPatchSchema: type: object description: The user patch request schema. properties: Operations: type: array description: List of scim patch operations. items: $ref: '#/components/schemas/ScimPatchOperationSchema' maxItems: 2147483647 minItems: 1 meta: $ref: '#/components/schemas/MetaSchema' description: The attribute containing the resource metadata. schemas: type: array description: The schema urns for the associated resource. items: type: string uniqueItems: true required: - Operations - schemas title: ScimPatchSchema NameSchema: type: object description: The complex model containing name attributes of the user. properties: familyName: type: string description: The family or last name of the user. This field is mandatory and cannot be empty. Maximum supported characters is 40. maxLength: 40 minLength: 0 formatted: type: string description: The formatted name of the user givenName: type: string description: The given or first name of the user. This field is mandatory and cannot be empty. Maximum supported characters is 40. maxLength: 40 minLength: 0 middleName: type: string description: The middle name of the user. Maximum supported characters is 40. maxLength: 40 minLength: 0 required: - familyName - givenName title: Name EmailSchema: type: object description: The complex model containing email details of the user. properties: primary: type: boolean description: Identifier flag to determine whether the address is primary or not. type: type: string description: Type of email. Ex. WORK. Please refer the Enumerations section for the values supported. enum: - WORK value: type: string description: The value of the email address. It needs to be in a standard format and cannot be empty. minLength: 1 required: - type - value title: Email ErrorSchema: type: object description: The error schema for representing error details. properties: data: type: array description: The list of data objects associated with the error. (e.g. invalid attributes). items: $ref: '#/components/schemas/DataSchema' detail: type: string description: The detailed description of the error. meta: $ref: '#/components/schemas/MetaSchema' description: The attribute containing the resource metadata. schemas: type: array description: The schema urns for the associated resource. items: type: string uniqueItems: true status: type: string description: The status code of the error. required: - detail - schemas - status title: Error schema SearchResponse: type: object description: The complex model containing filtered fields from user schema. properties: emails: type: array description: The email addresses associated with the user account. items: $ref: '#/components/schemas/EmailSchema' maxItems: 1 minItems: 1 name: $ref: '#/components/schemas/NameSchema' description: The name details of the user like first name, last name, etc. This is a mandatory property. urn:ietf:params:scim:schemas:extension:egencia:2.0:AdminUserSearchResponse: $ref: '#/components/schemas/AdminUserSchema' description: Extended custom attributes specific to Egencia travel management system. userName: type: string description: The username of the user required: - emails - name - urn:ietf:params:scim:schemas:extension:egencia:2.0:AdminUserSearchResponse MetaSchema: type: object description: A complex attribute containing resource metadata. properties: created: type: string format: date-time description: The creation time metadata. lastModified: type: string format: date-time description: The last modification time. location: type: string format: uri description: The location of the user resource accessible by URI. version: type: string description: The version of the resource. title: Meta ListResponse: type: object description: This is a list response schema containing the resources returned based on the filtering condition. properties: Resources: type: array items: $ref: '#/components/schemas/SearchResponse' itemsPerPage: type: integer format: int32 meta: $ref: '#/components/schemas/MetaSchema' description: The attribute containing the resource metadata. schemas: type: array description: The schema urns for the associated resource. items: type: string uniqueItems: true startIndex: type: integer format: int32 totalResults: type: integer format: int32 required: - schemas title: User Search Response schema securitySchemes: OAuth2: flows: clientCredentials: tokenUrl: https://apis.egencia.com/auth/v1/token type: oauth2