openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/FSBP_DBREAD_BP011:
    post:
      tags:
      - FSBP_DBREAD
      operationId: /rfc/FSBP_DBREAD_BP011
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_DB:
                  type: string
                  default: ' '
                  maxLength: 1
                I_EMPL_SINCE:
                  type: string
                  format: date
                  description: Employed from
                I_PARTNER:
                  type: string
                  maxLength: 10
                I_VALDT:
                  type: string
                  format: date
                  default: SY-DATLO
                  description: Date and time, local date of user
                T_BP011:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      PARTNR:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      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; Only Relevant for Real Estate Business Partner
                      EMP_SECTOR_ZGP:
                        type: string
                        maxLength: 10
                        description: Industry
                      EMPLOYER:
                        type: string
                        maxLength: 35
                        description: Employer of business partner
                      PROFESSION:
                        type: string
                        maxLength: 35
                        description: Employment; Only Relevant for Real Estate Business Partner
                      JOBGR_ZGP:
                        type: string
                        maxLength: 4
                        description: Occupation/group
              required:
              - I_PARTNER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_BP011:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      PARTNR:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      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; Only Relevant for Real Estate Business Partner
                      EMP_SECTOR_ZGP:
                        type: string
                        maxLength: 10
                        description: Industry
                      EMPLOYER:
                        type: string
                        maxLength: 35
                        description: Employer of business partner
                      PROFESSION:
                        type: string
                        maxLength: 35
                        description: Employment; Only Relevant for Real Estate Business Partner
                      JOBGR_ZGP:
                        type: string
                        maxLength: 4
                        description: Occupation/group
                  T_BP011:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        PARTNR:
                          type: string
                          maxLength: 10
                          description: Business Partner Number
                        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; Only Relevant for Real Estate Business Partner
                        EMP_SECTOR_ZGP:
                          type: string
                          maxLength: 10
                          description: Industry
                        EMPLOYER:
                          type: string
                          maxLength: 35
                          description: Employer of business partner
                        PROFESSION:
                          type: string
                          maxLength: 35
                          description: Employment; Only Relevant for Real Estate Business Partner
                        JOBGR_ZGP:
                          type: string
                          maxLength: 4
                          description: Occupation/group
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
