openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_BUPA_FS_EMPLOYM_CHANGE:
    post:
      tags:
      - FS_BAPI
      summary: Change Employment
      operationId: /rfc/BAPI_BUPA_FS_EMPLOYM_CHANGE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BUSINESSPARTNER:
                  type: string
                  maxLength: 10
                  description: Business Partner Number
                CHANGEDOCU:
                  type: object
                  properties:
                    CHANGE_DOCU:
                      type: string
                      maxLength: 1
                      description: 'Generate Change Documents  enumValues: X=TRUE,""=FALSE'
                      enum:
                      - X
                      - ''
                TESTRUN:
                  type: string
                  maxLength: 1
                  description: Activate Simulation Mode
                BAPIBUPAGET:
                  type: array
                  items:
                    type: object
                    properties:
                      EMPL_SINCE:
                        type: string
                        format: date
                        description: Employed from
                      EMPL_UNTIL:
                        type: string
                        format: date
                        description: Employed Until
                      EMPLOYMENT:
                        type: integer
                        format: int64
                        description: Employment Status
                      EMP_SECTOR:
                        type: string
                        maxLength: 10
                        description: Industry; obsolete
                      EMP_SECTOR_ZGP:
                        type: string
                        maxLength: 10
                        description: Industry Sector
                      EMPLOYER:
                        type: string
                        maxLength: 35
                        description: Employer of Business Partner
                      PROFESSION:
                        type: string
                        maxLength: 35
                        description: Employment; obsolete
                      JOBGR_ZGP:
                        type: string
                        maxLength: 4
                        description: Business Partner Occupation
                BAPIBUPAGETX:
                  type: array
                  items:
                    type: object
                    properties:
                      EMPL_UNTIL:
                        type: string
                        maxLength: 1
                        description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                        enum:
                        - X
                        - ''
                      EMPLOYMENT:
                        type: string
                        maxLength: 1
                        description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                        enum:
                        - X
                        - ''
                      EMP_SECTOR:
                        type: string
                        maxLength: 1
                        description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                        enum:
                        - X
                        - ''
                      EMP_SECTOR_ZGP:
                        type: string
                        maxLength: 1
                        description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                        enum:
                        - X
                        - ''
                      EMPLOYER:
                        type: string
                        maxLength: 1
                        description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                        enum:
                        - X
                        - ''
                      PROFESSION:
                        type: string
                        maxLength: 1
                        description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                        enum:
                        - X
                        - ''
                      JOBGR_ZGP:
                        type: string
                        maxLength: 1
                        description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                        enum:
                        - X
                        - ''
              required:
              - BUSINESSPARTNER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BAPIBUPAGET:
                    type: array
                    items:
                      type: object
                      properties:
                        EMPL_SINCE:
                          type: string
                          format: date
                          description: Employed from
                        EMPL_UNTIL:
                          type: string
                          format: date
                          description: Employed Until
                        EMPLOYMENT:
                          type: integer
                          format: int64
                          description: Employment Status
                        EMP_SECTOR:
                          type: string
                          maxLength: 10
                          description: Industry; obsolete
                        EMP_SECTOR_ZGP:
                          type: string
                          maxLength: 10
                          description: Industry Sector
                        EMPLOYER:
                          type: string
                          maxLength: 35
                          description: Employer of Business Partner
                        PROFESSION:
                          type: string
                          maxLength: 35
                          description: Employment; obsolete
                        JOBGR_ZGP:
                          type: string
                          maxLength: 4
                          description: Business Partner Occupation
                  BAPIBUPAGETX:
                    type: array
                    items:
                      type: object
                      properties:
                        EMPL_UNTIL:
                          type: string
                          maxLength: 1
                          description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                          enum:
                          - X
                          - ''
                        EMPLOYMENT:
                          type: string
                          maxLength: 1
                          description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                          enum:
                          - X
                          - ''
                        EMP_SECTOR:
                          type: string
                          maxLength: 1
                          description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                          enum:
                          - X
                          - ''
                        EMP_SECTOR_ZGP:
                          type: string
                          maxLength: 1
                          description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                          enum:
                          - X
                          - ''
                        EMPLOYER:
                          type: string
                          maxLength: 1
                          description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                          enum:
                          - X
                          - ''
                        PROFESSION:
                          type: string
                          maxLength: 1
                          description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                          enum:
                          - X
                          - ''
                        JOBGR_ZGP:
                          type: string
                          maxLength: 1
                          description: 'Updated information in related user data field  enumValues: X=Update for the field,""=No update for the field'
                          enum:
                          - X
                          - ''
                  RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        NUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MESSAGE:
                          type: string
                          maxLength: 220
                          description: Message Text
                        LOG_NO:
                          type: string
                          maxLength: 20
                          description: 'Application log: log number'
                        LOG_MSG_NO:
                          type: integer
                          format: int64
                          description: 'Application log: Internal message serial number'
                        MESSAGE_V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter Name
                        ROW:
                          type: integer
                          format: int32
                          description: Lines in parameter
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field in parameter
                        SYSTEM:
                          type: string
                          maxLength: 10
                          description: Logical system from which message originates
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
