openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TODO_BAPI_GET_USER_PRIOS:
    post:
      tags:
      - BAPI
      operationId: /rfc/TODO_BAPI_GET_USER_PRIOS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                TOOL:
                  type: string
                  maxLength: 20
                ERRORS:
                  type: array
                  items:
                    type: object
                    properties:
                      PRIORITY:
                        type: integer
                        format: int64
                        description: 'Priority of ToDo error message  enumValues: 9=Additional warning,1=Standard error - priorities'
                        enum:
                        - '9'
                        - '1'
                      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
                      OBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      METHOD:
                        type: string
                        maxLength: 32
                        description: Object type component
                      PARAMETER:
                        type: string
                        maxLength: 32
                        description: Parameter Name
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
                      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
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field in parameter
                      SYSTEM:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      R3OBJECT:
                        type: string
                        maxLength: 4
                        description: Object Type
                      R3OBJNAME:
                        type: string
                        maxLength: 40
                        description: Object Name in Object Directory
                STD_RESULT:
                  type: array
                  items:
                    type: object
                    properties:
                      PRIORITY:
                        type: integer
                        format: int64
                        description: 'Priority of ToDo error message  enumValues: 9=Additional warning,1=Standard error - priorities'
                        enum:
                        - '9'
                        - '1'
                      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
                      OBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      METHOD:
                        type: string
                        maxLength: 32
                        description: Object type component
                      PARAMETER:
                        type: string
                        maxLength: 32
                        description: Parameter Name
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
                      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
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field in parameter
                      SYSTEM:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      R3OBJECT:
                        type: string
                        maxLength: 4
                        description: Object Type
                      R3OBJNAME:
                        type: string
                        maxLength: 40
                        description: Object Name in Object Directory
                USER_RESULT:
                  type: array
                  items:
                    type: object
                    properties:
                      PRIORITY:
                        type: integer
                        format: int64
                        description: 'Priority of ToDo error message  enumValues: 9=Additional warning,1=Standard error - priorities'
                        enum:
                        - '9'
                        - '1'
                      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
                      OBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      METHOD:
                        type: string
                        maxLength: 32
                        description: Object type component
                      PARAMETER:
                        type: string
                        maxLength: 32
                        description: Parameter Name
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
                      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
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field in parameter
                      SYSTEM:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      R3OBJECT:
                        type: string
                        maxLength: 4
                        description: Object Type
                      R3OBJNAME:
                        type: string
                        maxLength: 40
                        description: Object Name in Object Directory
                      USER_PRIO:
                        type: string
                        maxLength: 2
                        description: Priority for caller of TODO message
              required:
              - TOOL
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERRORS:
                    type: array
                    items:
                      type: object
                      properties:
                        PRIORITY:
                          type: integer
                          format: int64
                          description: 'Priority of ToDo error message  enumValues: 9=Additional warning,1=Standard error - priorities'
                          enum:
                          - '9'
                          - '1'
                        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
                        OBJTYPE:
                          type: string
                          maxLength: 10
                          description: Object Type
                        METHOD:
                          type: string
                          maxLength: 32
                          description: Object type component
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter Name
                        MESSAGE:
                          type: string
                          maxLength: 220
                          description: Message Text
                        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
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field in parameter
                        SYSTEM:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        R3OBJECT:
                          type: string
                          maxLength: 4
                          description: Object Type
                        R3OBJNAME:
                          type: string
                          maxLength: 40
                          description: Object Name in Object Directory
                  STD_RESULT:
                    type: array
                    items:
                      type: object
                      properties:
                        PRIORITY:
                          type: integer
                          format: int64
                          description: 'Priority of ToDo error message  enumValues: 9=Additional warning,1=Standard error - priorities'
                          enum:
                          - '9'
                          - '1'
                        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
                        OBJTYPE:
                          type: string
                          maxLength: 10
                          description: Object Type
                        METHOD:
                          type: string
                          maxLength: 32
                          description: Object type component
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter Name
                        MESSAGE:
                          type: string
                          maxLength: 220
                          description: Message Text
                        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
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field in parameter
                        SYSTEM:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        R3OBJECT:
                          type: string
                          maxLength: 4
                          description: Object Type
                        R3OBJNAME:
                          type: string
                          maxLength: 40
                          description: Object Name in Object Directory
                  USER_RESULT:
                    type: array
                    items:
                      type: object
                      properties:
                        PRIORITY:
                          type: integer
                          format: int64
                          description: 'Priority of ToDo error message  enumValues: 9=Additional warning,1=Standard error - priorities'
                          enum:
                          - '9'
                          - '1'
                        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
                        OBJTYPE:
                          type: string
                          maxLength: 10
                          description: Object Type
                        METHOD:
                          type: string
                          maxLength: 32
                          description: Object type component
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter Name
                        MESSAGE:
                          type: string
                          maxLength: 220
                          description: Message Text
                        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
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field in parameter
                        SYSTEM:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        R3OBJECT:
                          type: string
                          maxLength: 4
                          description: Object Type
                        R3OBJNAME:
                          type: string
                          maxLength: 40
                          description: Object Name in Object Directory
                        USER_PRIO:
                          type: string
                          maxLength: 2
                          description: Priority for caller of TODO message
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
