American Express Global Business Travel SCIM User Sync V2 API

SCIM 2.0 compliant user sync APIs version 2.

Operations 6

GET /scim/v2/Users Return list of users based on the filter condition. #
POST /scim/v2/Users Create a new user in the system with the requested information. #
DELETE /scim/v2/Users/{userId} Delete the user in the system with the given user Id. #
GET /scim/v2/Users/{userId} Retrieves the user details for a requested user identifier. #
PATCH /scim/v2/Users/{userId} Perform patch operation on the user with the given user Id. #
PUT /scim/v2/Users/{userId} Updates an existing user in the system with the requested information. #

Documentation

📖
APIReference
https://apis.egencia.com/openconnect/docs/api-docs/UserSyncAPI
📖
Documentation
https://apis.egencia.com/openconnect/v1/api-info?name=User
📖
Authentication
https://apis.egencia.com/auth/v1/token
📖
APIReference
https://apis.egencia.com/openconnect-sso/docs/api-docs/sso
📖
Documentation
https://www.egencia.com/openconnect-sso-service/v1/api-info
📖
APIReference
https://apis.egencia.com/company/docs/api-docs/company-info-api
📖
Documentation
https://apis.egencia.com/company/v1/api-info?name=company-details
📖
APIReference
https://apis.egencia.com/openconnect/docs/api-docs/CompanyCDFAPI
📖
Documentation
https://apis.egencia.com/openconnect/v1/api-info?name=CompanyCustomData
📖
APIReference
https://apis.egencia.com/openconnect-validation/docs/api-docs/validation
📖
Documentation
https://www.egencia.com/openconnect-validation-service/v1/api-info
📖
APIReference
https://apis.egencia.com/openconnect-expense/docs/api-docs/expense
📖
Documentation
https://www.egencia.com/openconnect-expensestream-service/v1/api-info
📖
APIReference
https://apis.egencia.com/openconnect/docs/api-docs/GetBookingAPI
📖
Documentation
https://apis.egencia.com/openconnect/v1/api-info?name=Booking
📖
APIReference
https://apis.egencia.com/openconnect/docs/api-docs/CancellationDeletionAPI
📖
Documentation
https://apis.egencia.com/openconnect/v1/api-info?name=CancelAndDelete
📖
APIReference
https://apis.egencia.com/openconnect/docs/api-docs/ApprovalWorkflowAPI
📖
Documentation
https://apis.egencia.com/openconnect/v1/api-info?name=Approval
📖
APIReference
https://apis.egencia.com/approval/docs/api-docs
📖
Documentation
https://www.egencia.com/openconnect-approval-service/v1/api-info
📖
APIReference
https://apis.egencia.com/openconnect/docs/api-docs/ReceiptAPISPI
📖
Documentation
https://apis.egencia.com/openconnect/v1/api-info?name=Receipt
📖
APIReference
https://apis.egencia.com/dutyofcare/docs/api-docs/doc-service
📖
Documentation
https://apis.egencia.com/dutyofcare/v1/api-info
📖
APIReference
https://apis.egencia.com/bi/docs/api-docs/transaction-data-service
📖
Documentation
https://apis.egencia.com/bi/v1/api-info

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amex-gbt-scim-user-sync-v2-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amex-gbt-scim-user-sync-v2-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Amex Gbt SCIM User Sync V2 API
  version: '1.0'
  description: 'Operations tagged SCIM User Sync V2 across 2 of this provider''s published API definitions: amex-gbt-service-openconnect-openapi.json, amex-gbt-user-sync-api-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://apis.egencia.com/openconnect/api
  description: Generated server url
tags:
- description: SCIM 2.0 compliant user sync APIs version 2.
  name: SCIM User Sync V2
paths:
  /scim/v2/Users:
    get:
      description: "<p>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.</p>\n<div>\n<p>Results are returned in ascending order of userIds.</p>\n<p><b>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.</b></p>\n<pre>\n    <code>\n        For search by email with value as test@egencia.com, you need to pass encoded value in filter which will be :\n        filter = emails%5Bvalue%20eq%20%22test%40egencia.com%22%5D\n        which is the encoded value for filter = emails[value eq \"test@egencia.com\"]\n    </code>\n</pre>\n"
      operationId: getUsers_1
      parameters:
      - 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.
        examples:
          Search Users By Company:
            description: Replace {companyId} by the egencia company Id you want to search.
            value: urn:ietf:params:scim:schemas:extension:egencia:2.0:User[companyId eq "{companyId}"]
          Search Users By Email:
            description: Replace {email} by the email you want to search.
            value: emails[value eq "{email}"]
          Search Users By Email and Company:
            description: Replace {email} by the email and {companyId} by the egencia company Id you want to search.
            value: emails[value eq "{email}"] and urn:ietf:params:scim:schemas:extension:egencia:2.0:User[companyId eq "{companyId}"]
          Search Users By Name:
            description: Replace {givenName} by the first name of the user and {familyName} by the last name of the user you want to search.
            value: name[givenName eq "{givenName}" and familyName eq "{familyName}"]
          Search Users By Name and Company:
            description: Replace {givenName} by the first name of the user, {familyName} by the last name of the user and {companyId} by the egencia company Id you want to search.
            value: name[givenName eq "{givenName}" and familyName eq "{familyName}"] and urn:ietf:params:scim:schemas:extension:egencia:2.0:User[companyId eq "{companyId}"]
          Search Users By No Filter:
            description: No need to pass anything in filter.
          Search Users By Single Sign On Id:
            description: Replace {singleSignOnId} by the single sing on Id you want to search.
            value: urn:ietf:params:scim:schemas:extension:egencia:2.0:User:singleSignOnId eq "{singleSignOnId}"
          Search Users By Single Sign On Id and Company:
            description: Replace {singleSignOnId} by the single sign on Id and {companyId} by the egencia company Id you want to search.
            value: urn:ietf:params:scim:schemas:extension:egencia:2.0:User:singleSignOnId eq "{singleSignOnId}" and urn:ietf:params:scim:schemas:extension:egencia:2.0:User:companyId eq "{companyId}"
          Search Users By Username:
            description: Replace {userName} by the username you want to search.
            value: userName eq "{userName}"
          Search Users By Username and Company:
            description: Replace {userName} by the username and {companyId} by the egencia company Id you want to search.
            value: userName eq "{userName}" and urn:ietf:params:scim:schemas:extension:egencia:2.0:User[companyId eq "{companyId}"]
        in: query
        name: filter
        required: false
        schema:
          type: string
      - description: 1-based start index
        in: query
        name: startIndex
        required: false
        schema:
          type: integer
          format: int32
          default: 1
          exclusiveMinimum: 0
      - description: Number of resources to be returned. Maximum supported value is 100
        in: query
        name: count
        required: false
        schema:
          type: integer
          format: int32
          default: 20
          exclusiveMinimum: 0
          maximum: 100
      responses:
        '200':
          content:
            application/scim+json:
              example:
                schemas:
                - urn:ietf:params:scim:api:messages:2.0:ListResponse
                itemsPerPage: 1
                startIndex: 1
                totalResults: 1
                Resources:
                - schemas:
                  - urn:ietf:params:scim:schemas:core:2.0:User
                  - urn:ietf:params:scim:schemas:extension:egencia:2.0:User
                  - urn:ietf:params:scim:schemas:extension:enterprise:2.0:User
                  meta:
                    created: '2024-07-17T00:00:00.000Z'
                    lastModified: '2024-07-17T00:00:00.000Z'
                    location: '{baseUrl}/openconnect/api/scim/v2/Users/12345'
                  id: egenciaUniqueIdentifier
                  externalId: externalSystemIdentifier
                  userName: test@example.com
                  name:
                    familyName: User
                    formatted: ''
                    givenName: Test
                    middleName: ''
                    honorificPrefix: Mr.
                  userType: NORMAL
                  preferredLanguage: en
                  active: true
                  urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:
                    employeeNumber: testEmployeeNumberValue
                  urn:ietf:params:scim:schemas:extension:egencia:2.0:User:
                    approvers:
                      level1Approvers:
                      - id: '4567'
                      level2Approvers:
                      - id: '4567'
                      delegateApprovers:
                      - id: '123'
                    arrangerGroups:
                    - arrangerGroup1
                    arrangers:
                    - id: '5678'
                    - userName: testarranger1
                    companyId: egenciaCompanyId
                    customDataFields:
                    - name: Primary cost center
                      value: Test cost center
                    dateOfBirth: '1989-01-01'
                    documents:
                    - expirationDate: '2031-10-10'
                      issueCountry: US
                      issueDate: '2020-10-10'
                      issueLocation: city
                      type: PAS
                      value: ABCDE1234
                    loyaltyPrograms:
                    - issuingSupplierCode: T4
                      lob: HOTEL
                      name: S-Card
                      type: LC
                      validFrom: '2021-10-10'
                      validTo: '2025-10-10'
                      value: S12345
                    preferences:
                    - lob: AIR
                      mealType: '178'
                      preferredDepartureAirport: ''
                      seatType: '1'
                      specialRequest: Any special requests
                    - lob: RAIL
                      seatDirection: Forward
                      seatRoom: Lower
                      seatSolo: true
                      seatType: '1'
                    - lob: HOTEL
                      smoking: Smoking
                      specialRequest: Any special requests
                    - lob: CAR
                      specialRequest: Any special requests
                    serviceLevelIds:
                    - '12345'
                    settings:
                      notifications:
                        reservationEmail: validReservationEmailValue
                    singleSignOnId: singleSignOnIdValue
                    userAuthenticationMode: SSO
                  emails:
                  - primary: true
                    type: WORK
                    value: test@abc.com
                  phoneNumbers:
                  - primary: true
                    type: WORK
                    value: +44-1234512345
                  addresses:
                  - country: GB
                    formatted: address line 1, cityname, state, GB, 123212
                    locality: city name
                    postalCode: '123212'
                    region: region or state
                    streetAddress: address line 1
                    type: WORK
                  groups:
                  - display: displayName
                    value: travelerGroup
                  roles:
                  - SELF_BOOKER
          description: <b>Search api success</b>.
        '400':
          content:
            application/scim+json:
              example:
                schemas:
                - urn:ietf:params:scim:api:messages:2.0:Error
                detail: Invalid parameters
                status: '400'
          description: '<b>Bad Request</b> : Invalid input or request'
        '401':
          content:
            application/scim+json:
              example:
                error:
                  code: EGE-ER-4001
                  message: Unauthorised access, you do not have sufficient permissions to perform this action.
          description: '<b>Unauthorized</b> : <i>Authentication token</i> empty, invalid or expired.'
        '403':
          content:
            application/scim+json:
              example:
                schemas:
                - urn:ietf:params:scim:api:messages:2.0:Error
                detail: Unauthorised access, you do not have sufficient permissions to perform this action. Contact your admin.
                status: '403'
          description: '<b>Forbidden</b> : User not Validated for operation.'
        '422':
          content:
            application/scim+json:
              example:
                schemas:
                - urn:ietf:params:scim:api:messages:2.0:Error
                detail: Invalid or missing parameters encountered, we are unable to process your request.
                status: '422'
                data:
                - attribute: userName
                  message: userName needs to be specified and cannot be empty or null
          description: '<b>Invalid input</b> : Invalid or missing required input.'
        '500':
          content:
            application/scim+json:
              example:
                schemas:
                - urn:ietf:params:scim:api:messages:2.0:Error
                detail: Your request could not be completed due to some error. Please try again later.
                status: '500'
                data:
                - attribute: urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.loyaltyPrograms
                  message: Error occurred while processing loyalty program associations.
          description: '<b>Internal Server Error</b> : Unable to process request.'
        '503':
          content:
            application/scim+json:
              example:
                schemas:
                - urn:ietf:params:scim:api:messages:2.0:Error
                detail: We are unable to process your request right now. Please try again later.
                status: '503'
                data: []
          description: '<b>Service unavailable</b> : Unable to process request at the moment.'
      security:
      - OAuth2: []
      summary: Return list of users based on the filter condition.
      tags:
      - SCIM User Sync V2
    post:
      operationId: createUser_1
      requestBody:
        content:
          application/json:
            examples:
              Create user with basic and extension attributes:
                description: Create user with basic and extension attributes
                value:
                  schemas:
                  - urn:ietf:params:scim:schemas:core:2.0:User
                  - urn:ietf:params:scim:schemas:extension:egencia:2.0:User
                  - urn:ietf:params:scim:schemas:extension:enterprise:2.0:User
                  userName: test@egencia.com
                  name:
                    familyName: User
                    givenName: Test
                    middleName: I
                    formatted: Test I User
                    honorificPrefix: Mr.
                  userType: NORMAL
                  preferredLanguage: en
                  active: true
                  emails:
                  - type: WORK
                    value: test@egencia.com
                    primary: true
                  phoneNumbers:
                  - type: MOBILE
                    value: '+14254204087'
                  addresses:
                  - type: HOME
                    streetAddress: 1415 140TH AVE NE APT 15
                    locality: Bellevue
                    region: WA
                    postalCode: '98005'
                    country: US
                    formatted: 1415 140TH AVE NE APT 15
                  groups:
                  - value: General
                  roles:
                  - SELF_BOOKER
                  urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:
                    employeeNumber: testEmployeeNumberValue
              Create user with basic attributes:
                description: Create user with basic attributes
                value:
                  schemas:
                  - urn:ietf:params:scim:schemas:core:2.0:User
                  - urn:ietf:params:scim:schemas:extension:egencia:2.0:User
                  - urn:ietf:params:scim:schemas:extension:enterprise:2.0:User
                  userName: test@egencia.com
                  name:
                    familyName: User
                    givenName: Test
                    middleName: I
                    formatted: Test I User
                    honorificPrefix: Mr.
                  userType: NORMAL
                  preferredLanguage: en
                  active: true
                  emails:
                  - type: WORK
                    value: test@egencia.com
                    primary: true
                  phoneNumbers:
                  - type: MOBILE
                    value: '+14254204087'
                  addresses:
                  - type: HOME
                    streetAddress: 1415 140TH AVE NE APT 15
                    locality: Bellevue
                    region: WA
                    postalCode: '98005'
                    country: US
                    formatted: 1415 140TH AVE NE APT 15
                  groups:
                  - value: General
                  roles:
                  - SELF_BOOKER
              Create user with basic, extension and egencia extension attributes:
                description: Create user with basic, extension and egencia extension attributes
                value:
                  schemas:
                  - urn:ietf:params:scim:schemas:core:2.0:User
                  - urn:ietf:params:scim:schemas:extension:egencia:2.0:User
                  - urn:ietf:params:scim:schemas:extension:enterprise:2.0:User
                  userName: test@egencia.com
                  name:
                    familyName: User
                    givenName: Test
                    middleName: I
                    formatted: Test I User
                    honorificPrefix: Mr.
                  userType: NORMAL
                  preferredLanguage: en
                  active: true
                  emails:
                  - type: WORK
                    value: test@egencia.com
                    primary: true
                  phoneNumbers:
                  - type: MOBILE
                    value: '+14254204087'
                  addresses:
                  - type: HOME
                    streetAddress: 1415 140TH AVE NE APT 15
                    locality: Bellevue
                    region: WA
                    postalCode: '98005'
                    country: US
                    formatted: 1415 140TH AVE NE APT 15
                  groups:
                  - value: General
                  roles:
                  - SELF_BOOKER
                  urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:
                    employeeNumber: testEmployeeNumberValue
                  urn:ietf:params:scim:schemas:extension:egencia:2.0:User:
                    approvers:
                      level1Approvers:
                      - userName: approverone@egencia.com
                      level2Approvers:
                      - userName: approvertwo@egencia.com
                      delegateApprovers:
                      - userName: approver@egencia.com
                    arrangerGroups:
                    - arrangerGroup1
                    arrangers:
                    - id: '56789'
                    companyId: egenciaCompanyId
                    customDataFields:
                    - name: Cdf Name
                      value: Cdf Value
                    dateOfBirth: '1988-01-01'
                    documents:
                    - expirationDate: '2030-10-10'
                      issueCountry: US
                      issueDate: '2020-10-10'
                      issueLocation: city
                      type: PAS
                      value: ABCDE1234
                    loyaltyPrograms:
                    - issuingSupplierCode: T4
                      lob: HOTEL
                      name: S-Card
                      type: LC
                      validFrom: '2020-10-10'
                      validTo: '2025-10-10'
                      value: S12345
                    preferences:
                    - lob: AIR
                      mealType: '178'
                      preferredDepartureAirport: ''
                      seatType: '1'
                      specialRequest: Any special request
                    - lob: RAIL
                      seatDirection: Forward
                      seatRoom: Lower
                      seatSolo: true
                      seatType: '1'
                    - lob: HOTEL
                      smoking: Smoking
                      specialRequest: Any special request
                    - lob: CAR
                      specialRequest: Any special request
                    serviceLevelIds:
                    - '123'
                    settings:
                      notifications:
                        reservationEmail: validReservationEmailValue
                    singleSignOnId: api.sample@egencia.com
                    userAuthenticationMode: SSO
              Create user with minimal attributes:
                description: Create user with minimal attributes
                value:
                  schemas:
                  - urn:ietf:params:scim:schemas:core:2.0:User
                  - urn:ietf:params:scim:schemas:extension:egencia:2.0:User
                  - urn:ietf:params:scim:schemas:extension:enterprise:2.0:User
                  userName: test@egencia.com
                  name:
                    familyName: User
                    givenName: Test
                    middleName: ''
                  userType: NORMAL
                  active: true
                  emails:
                  - type: WORK
                    value: test@egencia.com
                    primary: true
                  addresses:
                  - type: HOME
                    streetAddress: 1415 140TH AVE NE APT 15
                    locality: Bellevue
                    region: WA
                    postalCode: '98005'
                    country: US
                    formatted: 1415 140TH AVE NE APT 15
            schema:
              $ref: '#/components/schemas/UserSchemaV2'
          application/scim+json:
            examples:
              Create user with basic and extension attributes:
                description: Create user with basic and extension attributes
                value:
                  schemas:
                  - urn:ietf:params:scim:schemas:core:2.0:User
                  - urn:ietf:params:scim:schemas:extension:egencia:2.0:User
                  - urn:ietf:params:scim:schemas:extension:enterprise:2.0:User
                  userName: test@egencia.com
                  name:
                    familyName: User
                    givenName: Test
                    middleName: I
                    formatted: Test I User
                    honorificPrefix: Mr.
                  userType: NORMAL
                  preferredLanguage: en
                  active: true
                  emails:
                  - type: WORK
                    value: test@egencia.com
                    primary: true
                  phoneNumbers:
                  - type: MOBILE
                    value: '+14254204087'
                  addresses:
                  - type: HOME
                    streetAddress: 1415 140TH AVE NE APT 15
                    locality: Bellevue
                    region: WA
                    postalCode: '98005'
                    country: US
                    formatted: 1415 140TH AVE NE APT 15
                  groups:
                  - value: General
                  roles:
                  - SELF_BOOKER
                  urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:
                    employeeNumber: testEmployeeNumberValue
              Create user with basic attributes:
                description: Create user with basic attributes
                value:
                  schemas:
                  - urn:ietf:params:scim:schemas:core:2.0:User
                  - urn:ietf:params:scim:schemas:extension:egencia:2.0:User
                  - urn:ietf:params:scim:schemas:extension:enterprise:2.0:User
                  userName: test@egencia.com
                  name:
                    familyName: User
                    givenName: Test
                    middleName: I
                    formatted: Test I User
                    honorificPrefix: Mr.
                  userType: NORMAL
                  preferredLanguage: en
                  active: true
                  emails:
                  - type: WORK
                    value: test@egencia.com
                    primary: true
                  phoneNumbers:
                  - type: MOBILE
                    value: '+14254204087'
                  addresses:
                  - type: HOME
                    streetAddress: 1415 140TH AVE NE APT 15
                    locality: Bellevue
                    region: WA
                    postalCode: '98005'
                    country: US
                    formatted: 1415 140TH AVE NE APT 15
                  groups:
                  - value: General
                  roles:
                  - SELF_BOOKER
              Create user with basic, extension and egencia extension attributes:
                description: Create user with basic, extension and egencia extension attributes
                value:
                  schemas:
                  - urn:ietf:params:scim:schemas:core:2.0:User
                  - urn:ietf:params:scim:schemas:extension:egencia:2.0:User
                  - urn:ietf:params:scim:schemas:extension:enterprise:2.0:User
                  userName: test@egencia.com
                  name:
                    familyName: User
                    givenName: Test
                    middleName: I
                    formatted: Test I User
                    honorificPrefix: Mr.
                  userType: NORMAL
                  preferredLanguage: en
                  active: true
                  emails:
                  - type: WORK
                    value: test@egencia.com
                    primary: true
                  phoneNumbers:
                  - type: MOBILE
                    value: '+14254204087'
                  addresses:
                  - type: HOME
                    streetAddress: 1415 140TH AVE NE APT 15
                    locality: Bellevue
                    region: WA
                    postalCode: '98005'
                    country: US
                    formatted: 1415 140TH AVE NE APT 15
                  groups:
                  - value: General
                  roles:
                  - SELF_BOOKER
                  urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:
                    employeeNumber: testEmployeeNumberValue
                  urn:ietf:params:scim:schemas:extension:egencia:2.0:User:
                    approvers:
                      level1Approvers:
                      - userName: approverone@egencia.com
                      level2Approvers:
                      - userName: approvertwo@egencia.com
                      delegateApprovers:
                      - userName: approver@egencia.com
                    arrangerGroups:
                    - arrangerGroup1
                    arrangers:
                    - id: '56789'
                    companyId: egenciaCompanyId
                    customDataFields:
                    - name: Cdf Name
                      value: Cdf Value
                    dateOfBirth: '1988-01-01'
                    documents:
                    - expirationDate: '2030-10-10'
                      issueCountry: US
                      issueDate: '2020-10-10'
                      issueLocation: city
                      type: PAS
                      value: ABCDE1234
                    loyaltyPrograms:
                    - issuingSupplierCode: T4
                      lob: HOTEL
                      name: S-Card
                      type: LC
                      validFrom: '2020-10-10'
                      validTo: '2025-10-10'
                      value: S12345
                    preferences:
                    - lob: AIR
                      mealType: '178'
                      preferredDepartureAirport: ''
                      seatType: '1'
                      specialRequest: Any special request
                    - lob: RAIL
                      seatDirection: Forward
                      seatRoom: Lower
                      seatSolo: true
                      seatType: '1'
                    - lob: HOTEL
                      smoking: Smoking
                      specialRequest: Any special request
                    - lob: CAR
                      specialRequest: Any special request
                    serviceLevelIds:
                    - '123'
                    settings:
                      notifications:
                        reservationEmail: validReservationEmailValue
                    singleSignOnId: api.sample@egencia.com
                    userAuthenticationMode: SSO
              Create user with minimal attributes:
                description: Create user with minimal attributes
                value:
                  schemas:
                  - urn:ietf:params:scim:schemas:core:2.0:User
                  - urn:ietf:params:scim:schemas:extension:egencia:2.0:User
                  - urn:ietf:params:scim:schemas:extension:enterprise:2.0:User
                  userName: test@egencia.com
                  name:
                    familyName: User
                    givenName: Test
                    middleName: ''
                  userType: NORMAL
                  active: true
                  emails:
                  - type: WORK
                    value: test@egencia.com
                    primary: true
                  addresses:
                  - type: HOME
                    streetAddress: 1415 140TH AVE NE APT 15
                    locality: Bellevue
                    region: WA
                    postalCode: '98005'
                    country: US
                    formatted: 1415 140TH AVE NE APT 15
            schema:
              $ref: '#/components/schemas/UserSchemaV2'
        description: User Schema to be created
        required: true
      responses:
        '201':
          content:
            application/scim+json:
              example:
                schemas:
                - urn:ietf:params:scim:schemas:core:2.0:User
                - urn:ietf:params:scim:schemas:extension:egencia:2.0:User
                - urn:ietf:params:scim:schemas:extension:enterprise:2.0:User
                meta:
                  created: '2024-07-17T00:00:00.000Z'
                  lastModified: '2024-07-17T00:00:00.000Z'
                  location: '{baseUrl}/openconnect/api/scim/v2/Users/egenciaUniqueIdentifier'
                id: egenciaUniqueIdentifier
                userName: test@egencia.com
                name:
                  familyName: User
                  givenName: Test
                  middleName: I
                  formatted: Test I User
                  honorificPrefix: Mr.
                userType: NORMAL
                preferredLanguage: en
                active: true
                emails:
                - type: WORK
                  value: test@egencia.com
                  primary: true
                phoneNumbers:
                - type: MOBILE
                  value: '+14254204087'
                addresses:
                - type: HOME
                  streetAddress: 1415 140TH AVE NE APT 15
                  locality: Bellevue
                  region: WA
                  postalCode: '98005'
                  country: US
                  formatted: 1415 140TH AVE NE APT 15
                groups:
                - value: General
                roles:
                - SELF_BOOKER
                urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:
                  employeeNumber: testEmployeeNumberValue
                urn:ietf:params:scim:schemas:extension:egencia:2.0:User:
                  approvers:
                    level1Approvers:
                    - userName: approverone@egencia.com
                    level2Approvers:
                    - userName: approvertwo@egencia.com
                    delegateApprovers:
                    - userName: approver@egencia.com
                  arrangerGroups:
                  - arrangerGroup1
                  arrangers:
                  - id: '56789'
                  companyId: egenciaCompanyId
                  customDataFields:
                  - name: Cdf Name
                    value: Cdf Value
                  dateOfBirth: '1988-01-01'
                  documents:
                  - expirationDate: '2030-10-10'
                    issueCountry: US
                    issueDate: '2020-10-10'
                    issueLocation: city
                    type: PAS
                    value: ABCDE1234
                  loyaltyPrograms:
                  - issuingSupplierCode: T4
                    lob: HOTEL
                    name: S-Card
                    type: LC
                    validFrom: '2020-10-10'
                    validTo: '2025-10-10'
                    value: S12345
                  preferences:
                  - lob: AIR
                    mealType: '178'
                    preferredDepartureAirport: ''
                    seatType: '1'
                    specialRequest: Any special request
                  - lob: RAIL
                    seatDirection: Forward
                    seatRoom: Lower
                    seatSolo: true
                    seatType: '1'
                  - lob: HOTEL
                    smoking: Smoking
                    specialRequest: Any special request
                  - lob: CAR
                    specialRequest: Any special request
                  serviceLevelIds:
                  - '123'
                  settings:
                    notifications:
                      reservationEmail: validReservationEmailValue
                  singleSignOnId: api.sample@egencia.com
                  userAuthenticationMode: SSO
          description: <b>Created</b>.
        '400':
          content:
            application/scim+json:
              example:
                schemas:
                - urn:ietf:params:scim:api:messages:2.0:Error
                detail: Invalid parameters
                status: '400'
    

# --- truncated at 32 KB (117 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/amex-gbt/refs/heads/main/openapi/amex-gbt-scim-user-sync-v2-api-openapi.yml