openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SUSR_PROFILE_SELECT:
    post:
      tags:
      - SUPS
      summary: Profile selection according to complex criterion
      operationId: /rfc/SUSR_PROFILE_SELECT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                S_AKTVERS:
                  type: string
                  default: A
                  maxLength: 1
                S_BISDAT:
                  type: string
                  format: date
                S_OBJ1:
                  type: string
                  maxLength: 10
                S_OBJ2:
                  type: string
                  maxLength: 10
                S_OBJ3:
                  type: string
                  maxLength: 10
                S_PROF_TYPE:
                  type: string
                  default: ' '
                  maxLength: 1
                S_VONDAT:
                  type: string
                  format: date
                SELECTED_PROFILES:
                  type: array
                  items:
                    type: object
                    properties:
                      PROFN:
                        type: string
                        maxLength: 12
                        description: Profile name
                      PTEXT:
                        type: string
                        maxLength: 60
                        description: Texts in user master/authorizations
                      PSTATE:
                        type: string
                        maxLength: 1
                        description: Active or maintenance version
                S_ACTGRPS:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: Sign for Select Options
                      OPTION:
                        type: string
                        maxLength: 2
                        description: Option for Select Options (EQ, ...)
                      LOW:
                        type: string
                        maxLength: 30
                        description: Role Name
                      HIGH:
                        type: string
                        maxLength: 30
                        description: Role Name
                S_AUTH:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: Sign for Select Options
                      OPTION:
                        type: string
                        maxLength: 2
                        description: Option for Select Options (EQ, ...)
                      LOW:
                        type: string
                        maxLength: 12
                        description: Authorization name in user master maintenance
                      HIGH:
                        type: string
                        maxLength: 12
                        description: Authorization name in user master maintenance
                S_I_PROFS:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: Sign for Select Options
                      OPTION:
                        type: string
                        maxLength: 2
                        description: Option for Select Options (EQ, ...)
                      LOW:
                        type: string
                        maxLength: 12
                        description: Profile name
                      HIGH:
                        type: string
                        maxLength: 12
                        description: Profile name
                S_MODBE:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: Sign for Select Options
                      OPTION:
                        type: string
                        maxLength: 2
                        description: Option for Select Options (EQ, ...)
                      LOW:
                        type: string
                        maxLength: 12
                        description: User Name in User Master Record
                      HIGH:
                        type: string
                        maxLength: 12
                        description: User Name in User Master Record
                S_OBJECT:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: Sign for Select Options
                      OPTION:
                        type: string
                        maxLength: 2
                        description: Option for Select Options (EQ, ...)
                      LOW:
                        type: string
                        maxLength: 10
                        description: Authorization Object
                      HIGH:
                        type: string
                        maxLength: 10
                        description: Authorization Object
                S_PROFIL:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: Sign for Select Options
                      OPTION:
                        type: string
                        maxLength: 2
                        description: Option for Select Options (EQ, ...)
                      LOW:
                        type: string
                        maxLength: 12
                        description: Profile name
                      HIGH:
                        type: string
                        maxLength: 12
                        description: Profile name
                S_PTEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: Sign for Select Options
                      OPTION:
                        type: string
                        maxLength: 2
                        description: Option for Select Options (EQ, ...)
                      LOW:
                        type: string
                        maxLength: 60
                        description: Texts in user master/authorizations
                      HIGH:
                        type: string
                        maxLength: 60
                        description: Texts in user master/authorizations
                S_VALUES:
                  type: array
                  items:
                    type: object
                    properties:
                      NR:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      OBJCT:
                        type: string
                        maxLength: 10
                        description: Authorization Object
                      FIELD:
                        type: string
                        maxLength: 10
                        description: Authorization Field
                      VAL1:
                        type: string
                        maxLength: 40
                        description: Authorization Value
                      VAL2:
                        type: string
                        maxLength: 40
                        description: Authorization Value
                      VAL3:
                        type: string
                        maxLength: 40
                        description: Authorization Value
                      VAL4:
                        type: string
                        maxLength: 40
                        description: Authorization Value
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SELECTED_PROFILES:
                    type: array
                    items:
                      type: object
                      properties:
                        PROFN:
                          type: string
                          maxLength: 12
                          description: Profile name
                        PTEXT:
                          type: string
                          maxLength: 60
                          description: Texts in user master/authorizations
                        PSTATE:
                          type: string
                          maxLength: 1
                          description: Active or maintenance version
                  S_ACTGRPS:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: Sign for Select Options
                        OPTION:
                          type: string
                          maxLength: 2
                          description: Option for Select Options (EQ, ...)
                        LOW:
                          type: string
                          maxLength: 30
                          description: Role Name
                        HIGH:
                          type: string
                          maxLength: 30
                          description: Role Name
                  S_AUTH:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: Sign for Select Options
                        OPTION:
                          type: string
                          maxLength: 2
                          description: Option for Select Options (EQ, ...)
                        LOW:
                          type: string
                          maxLength: 12
                          description: Authorization name in user master maintenance
                        HIGH:
                          type: string
                          maxLength: 12
                          description: Authorization name in user master maintenance
                  S_I_PROFS:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: Sign for Select Options
                        OPTION:
                          type: string
                          maxLength: 2
                          description: Option for Select Options (EQ, ...)
                        LOW:
                          type: string
                          maxLength: 12
                          description: Profile name
                        HIGH:
                          type: string
                          maxLength: 12
                          description: Profile name
                  S_MODBE:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: Sign for Select Options
                        OPTION:
                          type: string
                          maxLength: 2
                          description: Option for Select Options (EQ, ...)
                        LOW:
                          type: string
                          maxLength: 12
                          description: User Name in User Master Record
                        HIGH:
                          type: string
                          maxLength: 12
                          description: User Name in User Master Record
                  S_OBJECT:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: Sign for Select Options
                        OPTION:
                          type: string
                          maxLength: 2
                          description: Option for Select Options (EQ, ...)
                        LOW:
                          type: string
                          maxLength: 10
                          description: Authorization Object
                        HIGH:
                          type: string
                          maxLength: 10
                          description: Authorization Object
                  S_PROFIL:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: Sign for Select Options
                        OPTION:
                          type: string
                          maxLength: 2
                          description: Option for Select Options (EQ, ...)
                        LOW:
                          type: string
                          maxLength: 12
                          description: Profile name
                        HIGH:
                          type: string
                          maxLength: 12
                          description: Profile name
                  S_PTEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: Sign for Select Options
                        OPTION:
                          type: string
                          maxLength: 2
                          description: Option for Select Options (EQ, ...)
                        LOW:
                          type: string
                          maxLength: 60
                          description: Texts in user master/authorizations
                        HIGH:
                          type: string
                          maxLength: 60
                          description: Texts in user master/authorizations
                  S_VALUES:
                    type: array
                    items:
                      type: object
                      properties:
                        NR:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        OBJCT:
                          type: string
                          maxLength: 10
                          description: Authorization Object
                        FIELD:
                          type: string
                          maxLength: 10
                          description: Authorization Field
                        VAL1:
                          type: string
                          maxLength: 40
                          description: Authorization Value
                        VAL2:
                          type: string
                          maxLength: 40
                          description: Authorization Value
                        VAL3:
                          type: string
                          maxLength: 40
                          description: Authorization Value
                        VAL4:
                          type: string
                          maxLength: 40
                          description: Authorization Value
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
